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:
- An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed
- R language packages installation failed: Error in install.packages: error reading from connection
- R language – path setting and working directory modification
- Error in installing MySQL devel for CentOS MySQL
- K8s error in installing calico plug-in
- rmd to pdf error: pandoc document conversion failed with error 43
- R language loading xlsx error error: JAVA_HOME cannot be determined from the Registry
- Installing R’s “mvtnorm” package in Windows system: solving the problem of the R package “mvtnorm” is not installed
- Ultimate solution to error reporting of sudo rosdep init of ROS
- Error in compiling rmarkdown to PDF file` xxx.sty ‘ not found.
- Error handling of apt instruction e: unmet dependencies. Try ‘apt — fix broken install’ with no packages in Ubuntu 20.04
- java.nio.charset.MalformedInputException: Input length = 1
- Neither –kubeconfig nor –master was specified. Using the inClusterConfig. This might not work
- Springboot modifies the reference of the application.yml or. Properties file to report an error after startup
- Python uses cxfree to package script files into executable programs
- Fix vs2017 unable to install
- Installing gensim in Anaconda
- ModuleNotFoundError: No module named xxx
- On NPM audit fix
- pom.xml Depending on the error report, the problem of missing artifact XXX is solved