gpt4 book ai didi

rstudio - 每次启动 Desktop Rstudio 时,都会收到错误消息 :rstudio error yaml. load readlin con errorlevel errorlevel

转载 作者:行者123 更新时间:2023-12-02 10:37:56 27 4
gpt4 key购买 nike

登录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/

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

关于rstudio - 每次启动 Desktop Rstudio 时,都会收到错误消息 :rstudio error yaml. load readlin con errorlevel errorlevel,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47617532/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com