2017-07-25 128 views
0
> install.packages("gmodels",dependencies = TRUE) 
Installing package into ‘C:/Users/OmPrakash/Documents/R/win-library/3.4’ 
(as ‘lib’ is unspecified) 
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/gmodels_2.16.2.zip' 
Content type 'application/zip' length 74193 bytes (72 KB) 
downloaded 72 KB 

package ‘gmodels’ successfully unpacked and MD5 sums checked 

The downloaded binary packages are in : 
C:\Users\OmPrakash\AppData\Local\Temp\RtmpO6JFcq\downloaded_packages 
> library(gmodels) 
Error: package or namespace load failed for ‘gmodels’ in library.dynam(lib, package, package.lib): 
DLL ‘gtools’ not found: maybe not installed for this architecture? 
+0

虽然我不知道如何解决这个问题,我知道有人谁也许能会想'sessionInfo()'的在您的文章中输出。 –

回答

1

看起来好像gtools安装不正确。

您应该尝试手动安装它。

科林

+1

我仍然有错误 – OMY