[R] Problem installing package "caret"

David Winsemius dwinsemius at comcast.net
Wed Dec 12 17:01:54 CET 2012


On Dec 12, 2012, at 7:32 AM, John Kerpel wrote:

> Folks:
>
> I keep getting the following error message (I'm on Windows 7,  
> R-2.15.2, and
> tried a reboot...).  Thx!
>

Actually it's only a warning. Those are not the same in R.

> John
>
>
>> install.packages("caret")Installing package(s) into ‘C:/Program  
>> Files/R/R-2.15.2/library’
> (as ‘lib’ is unspecified)trying URL
> 'http://streaming.stat.iastate.edu/CRAN/bin/windows/contrib/2.15/caret_5.15-045.zip'Content
> type 'application/zip' length 3478831 bytes (3.3 Mb)opened
> URLdownloaded 3.3 Mb
> package ‘caret’ successfully unpacked and MD5 sums checked
> Warning in install.packages :
>  unable to move temporary installation ‘C:\Program
> Files\R\R-2.15.2\library\file1628360a1dc0\caret’ to ‘C:\Program
> Files\R\R-2.15.2\library\caret’
>
> The downloaded binary packages are in
> 	C:\Users\AppData\Local\Temp\RtmpK2YZCa\downloaded_packages
>
> 	[[alternative HTML version deleted]]


It suggests that you might need to consult your system documentation  
regarding how to use permissions. Are you able to load package:caret?

-- 

David Winsemius, MD
Alameda, CA, USA




More information about the R-help mailing list