登录Desktop Rstudio后,会出现以下消息:
Error in yaml.load(readLines(con), error.label = error.label, ...) :
object 'C_unserialize_from_yaml' not found
Error in yaml.load(readLines(con), error.label = error.label, ...) :
object 'C_unserialize_from_yaml' not found
Error in yaml.load(readLines(con), error.label = error.label, ...) :
object 'C_unserialize_from_yaml' not found
Error in yaml.load(readLines(con), error.label = error.label, ...) :
object 'C_unserialize_from_yaml' not found
Error in yaml.load(readLines(con), error.label = error.label, ...) :
object 'C_unserialize_from_yaml' not found
and I try to reinstall R and Rstudio with the newest program,it still appear error again.
when I start R program ,it can work with no error. Only Rstudio, and I try to rename the directory"C:\Users\Administrator\AppData\Local\RStudio-Desktop" in another name, Let it create when Rstudio launch,the error message again.
And I can't knit some Rmd file working normal, it will appear following error:
Error in yaml::yaml.load(string, ...) :
找不到对象'C_unserialize_from_yaml'
Calls: <Anonymous> ... parse_yaml_front_matter -> yaml_load_utf8 -> <Anonymous>
停止执行
谁能帮我解决一下这个问题,非常感谢。
我恢复到 yaml R 包版本 2.1.14 并且它为我修复了它。https://cran.r-project.org/src/contrib/Archive/yaml/ https://cran.r-project.org/src/contrib/Archive/yaml/
使用此 R 命令从源安装包(前提是将工作目录设置为 R 包所在的位置):install.packages("yaml_2.1.14.tar.gz", repos = NULL)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)