R的plyr软件包是否不适用于R版本3.0.2? [英] Is the plyr package for R not available for R version 3.0.2?
问题描述
我尝试安装plyr软件包,但收到警告消息,说它不适用于R版本3.0.2.这是真的还是不是?如果没有,为什么我会收到此消息?我尝试使用两个不同的CRAN镜像,并且都给出了相同的消息.
I tried installing the plyr package and I got the warning message saying it isn't available for R version 3.0.2. Is this true or is no? If not, why would I be getting this message? I tried using two different CRAN mirrors and both gave the same message.
推荐答案
答案是该程序包在R中可用(只需在我的计算机上选中该程序即可).
The answer is that the package is available in R (just checked this on my machine).
您收到的特定错误消息非常容易引起误解.对于R的包罗万象"条件,它在安装过程中不了解发生任何错误.如果拼写错误(使用Plyr而不是plyr)或网络连接不正常,或者位于代理服务器或其他任何设备之后,则会出现此错误.
The particular error message that you are getting is very misleading. It is R's `catch-all' condition for anything that it doesn't understand going wrong during installation. You will get this error if you mis-spelled anything (Plyr instead of plyr) or your network connection is not working, or you are behind a proxy or whatever.
通常在出现代理问题或拼写错误时会遇到此问题.但这可能是由于其他许多原因.我建议您确保先从R内部访问互联网.
I typically get this problem when I am behind a proxy or I have mis-spelled something. But it can be because of any other number of reasons. I will suggest you make sure you can access the internet from inside R first.
如果没有任何效果,则始终可以使用浏览器从CRAN下载该程序包.如果使用Windows,则需要.zip版本;如果使用* nix,则需要.tar.gz版本. (如果是Mac,则是.tgz吗?).然后您可以像这样安装它:
If nothing works, you can always download the package from CRAN using a browser. If you are on Windows, you want the .zip version and if you are on *nix you want the .tar.gz version. (.tgz for Macs?). Then you can install it like so:
setwd("/path/where/I/downloaded/the/compressed/file")
install.packages("plyr", repos=NULL)
看看是否可行.
这篇关于R的plyr软件包是否不适用于R版本3.0.2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!