2017-12-03 2 views
3

내가 바탕 화면 Rstudio 로그인 한 후, 다음과 같은 메시지가 나타납니다 :, 나는 같은 오류 메시지가 얻을 : rstudio 오류를 yaml.load readlin 사기꾼 오류 수준은 오류 수준

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

하는 것이 도움이 될 수 있습니다 누가 문제를 부 풀릴 때까지. 고맙습니다.

+0

당신이 yaml'를 사용하는 RStudio의 어떤 버전과'? – user2554330

+1

yaml.load의 오류 (readLines (con), error.label = error.label, ...) : 'C_unserialize_from_yaml'을 찾을 수 없습니다. *** 같은 문제가 있습니다. ***. 또한 knitr은 같은 오류로 작동하지 않습니다. 동일한 문제가있는 –

+0

- yaml을 2.1.15로 업데이트 한 후 발생했습니다. – blazej

답변

2

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)

+1

소스에서 2.1.15를 설치하려고 했습니까? 나는 잘 했어. Windows 용 바이너리 설치는 아직 제공되지 않습니다. 'install.packages ("yaml", type = "source")'를 사용하십시오. – user2554330

+0

조언 해 주셔서 감사합니다. yaml 패키지를 삭제하고 다시 설치하고 다시 컴파일 한 후 다시 시작한 후 정상적으로 작동합니다. –

관련 문제