3
我正在尝试学习glmnet(http://www.stanford.edu/~hastie/glmnet/glmnet_alpha.html),但无法从教程中找到示例RData文件。我得到在R中找不到示例文件
> library(glmnet)
> load("MNExample.RData")
Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection In addition
In readChar(con, 5L, useBytes = TRUE) :
cannot open compressed file 'MNExample.RData', probable reason 'No such file or directory'
然后我试着去R/x86_64-unknown-linux-gnu-library/3。目录,并使用查找,该文件不存在。
关于它可能在哪里的任何想法?或者,这不是教程如何工作?
这是一个奇怪的教程 - 看起来他们引用了他们自己的本地'.RData'文件。据我所知,它们当然不在包装内。 –