每次启动Desktop Rstudio时,都会收到以下错误消息:rstudio error yaml.load readlin con errorlevel errorlevel [英] when I start Desktop Rstudio every time, I get an error message as:rstudio error yaml.load readlin con errorlevel errorlevel

查看:92
本文介绍了每次启动Desktop Rstudio时,都会收到以下错误消息:rstudio error yaml.load readlin con errorlevel errorlevel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

登录Desktop Rstudio后,将出现以下消息:

after I login the Desktop Rstudio, the following message will appear:

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>
停止执行

谁可以帮助我解决问题。非常感谢。

Who can help me to slove the problem.Thanks very much.

推荐答案

我恢复到yaml R软件包版本2.1.14,并为我修复了该问题。
https://cran.r-project.org/src / contrib / Archive / yaml /

I reverted to yaml R package version 2.1.14 and it fixed it for me. https://cran.r-project.org/src/contrib/Archive/yaml/

使用此R命令从源代码安装软件包(前提是工作目录设置为R软件包所在的位置) :
install.packages( yaml_2.1.14.tar.gz,存储库= NULL)

Use this R command to install the package from source (provided the working directory is set to where the R package is): install.packages("yaml_2.1.14.tar.gz", repos = NULL)

这篇关于每次启动Desktop Rstudio时,都会收到以下错误消息:rstudio error yaml.load readlin con errorlevel errorlevel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆