Yaml packages were installed incorrectly, whether I downloaded zip from Cran to install locally, or install.packages(” YAML “) were installed, or displayed
Warning in install.packages :
package ‘yaml’ is not available (for R version 3.5.3)
Either it shows that
cannot be installed on the search site, and there is finally a work method
1) first type.libpaths (), which will pop up the folder path of the Library where we installed the R package
2) enter this path, remove the original folder of yaml package
3) and restart Rstudio, enter the following code:
install.packages("yaml", dependencies=TRUE, repos='http://cran.rstudio.com/')
Installation successful!!
reference
https://community.rstudio.com/t/error-when-starting-rstudio-there-is-no-package-yaml/4070/5https://stackoverflow.com/questions/25721884/how-should-i-deal-with-package-xxx-is-not-available-for-r-versio n-x-y-z-wa
Read More:
- Installing R’s “mvtnorm” package in Windows system: solving the problem of the R package “mvtnorm” is not installed
- Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()) error appears in the R language installation package
- R:Error : .onLoad failed in loadNamespace() for ‘rJava’, details: call: dyn.load(file, DLLpa
- PackageNotInstalledError: Package is not installed in prefix
- An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed
- Docker encountered a problem 4: yaml: Line 1: mapping values are not allowed in this context
- yaml.scanner.ScannerError: mapping values are not allowed here
- [robot_launch.launch] is neither a launch file in package [kinova_gazebo] nor is
- Completely solve install_ FAILED_ UPDATE_ Incompatible installation error, the installation package is not consistent with the previous installation package signature on the device
- When python installs pocketsphinx module (package), an error is reported: command ‘swig.exe’ failed: No such file or directory
- When Maven hits the jar package, an error is reported when executing install, and the symbol cannot be found in a line
- Java project cannot import entity class package and service package, controller layer reports error, fix project setup is OK
- Solve the problem of using in tensoft 2. X tf.contrib.slim No module named appears in the package: tensorflow.contrib problem
- Idea Maven project uses package to package and report error (package does not exist)
- [Solved] Scala signature package has wrong version expected: 5.0 found: 5.2 in package.class
- R language error error: n() should only be called in a data context
- An error is reported when installing the package directly in pycharm, but it can be installed through the terminal. Error non zero exit code (2)
- R language error:‘ namespace:lazyeval There is no exit_ The object is eval
- When feign is called, the solution of request method ‘post’ not supported appears
- Zip to decompress the jar package, like the add file in the jar package