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軟件包中的數據集? –