简体   繁体   English

在R中运行漩涡包时出错

[英]Error in running swirl package in R

I am not able to work in swirl package in R. I am able to install the swirl package correctly. 我无法在R中的漩涡包装中工作。我能够正确安装漩涡包装。 But while giving the library("swirl") command the error comes up.I have tried every thing like I am not able to find the answer of this error on internet. 但是在发出library(“ swirl”)命令的同时出现了错误。我已经尝试了所有方法,例如无法在Internet上找到此错误的答案。 I have reinstalled R complete. 我已经重新安装了R完成。 I have tried changing directory. 我曾尝试更改目录。 But still this error message is coming. 但是仍然会出现此错误消息。 Please help.This is the error message: 请帮助。这是错误消息:

library("swirl") Error in get(Info[i, 1], envir = env) : cannot open file 'C:/Users/Devender/Documents/R/win-library/3.2/httr/R/httr.rdb': No such file or directory Error: package or namespace load failed for 'swirl' Thanks alot in advance library(“ swirl”)get(Info [i,1],envir = env)错误:无法打开文件'C:/Users/Devender/Documents/R/win-library/3.2/httr/R/httr.rdb ':没有这样的文件或目录错误:“ swirl”的包或命名空间加载失败,非常感谢

Try installing httr package. 尝试安装httr软件包。 I think it will solve your problem. 我认为它将解决您的问题。

You did not say which R version you are using. 您没有说出正在使用哪个R版本。

Some Swirl packages are not available for few R versions as 3.2.2. 某些Swirl软件包不适用于3.2.2的少数R版本。 You cant even download any courses from Github repositories into the Swirl if Swirl was successfully loaded in R. 如果Swirl已成功加载到R中,则您甚至无法将任何课程从Github存储库下载到Swirl中。

You may want to re-install a different version of R to avoid this Swirl issue, and try again. 您可能需要重新安装R的其他版本以避免此Swirl问题,然后重试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM