install.packages("UsingR") Installing package into ‘C:/Users/akshay/Documents/R/win-library/3.2’ (as ‘lib’ is unspecified) trying URL ' https://cran.rstudio.com/bin/windows/contrib/3.2/UsingR_2.0-5.zip ' Content type 'application/zip' length 2076955 bytes (2.0 MB) downloaded 2.0 MBUsingR包中的R不正确加载
包“UsingR”成功解压缩和MD5和检查 进入这里代码
我安装UsingR包,如上所示。 但是当我尝试加载它时,我在最后一行出现错误。
> library(UsingR)
加载所需包:MASS 加载所需的程序包:HistData 加载所需的程序包:Hmisc 加载所需的程序包:格 加载所需的程序包:生存 错误:包“配方”由“Hmisc”不能要求被发现
father.son数据集应该在这个包中。但我没有得到它。
> data(father.son)
警告消息: 在数据(father.son):数据集“father.son”未找到
是否有人可以指出错误。
“错误:所要求的包 '公式' 'Hmisc'找不到“ –
是的,这是错误。但是我应该使用UsingR软件包 – mathkid
来获取father.son数据集。但是,当包由于错误而未加载时,为什么您希望能够访问UsingR软件包中的数据集? –