[R] Problem installing package "caret"

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Dec 18 21:11:27 CET 2012


Thanks for letting me know,
Uwe


On 18.12.2012 21:00, John Kerpel wrote:
> Uwe:
>
> Well, a simple re-install did the trick apparently:
>
>
>> install.packages("forecast")Installing package(s) into ‘C:/Program Files/R/R-2.15.2/library’
> (as ‘lib’ is unspecified)also installing the dependency ‘caret’
> 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
> trying URL 'http://streaming.stat.iastate.edu/CRAN/bin/windows/contrib/2.15/forecast_4.00.zip'Content
> type 'application/zip' length 1090858 bytes (1.0 Mb)opened
> URLdownloaded 1.0 Mb
> package ‘caret’ successfully unpacked and MD5 sums checked
> package ‘forecast’ successfully unpacked and MD5 sums checked
>
> The downloaded binary packages are in
> 	C:\Users\AppData\Local\Temp\RtmpK2YZCa\downloaded_packages>
> library(forecast)Loading required package: caretLoading required
> package: latticeLoading required package: reshapeLoading required
> package: plyr
> Attaching package: ‘reshape’
> The following object(s) are masked from ‘package:plyr’:
>
>      rename, round_any
> Loading required package: clusterLoading required package:
> foreachforeach: simple, scalable parallel programming from Revolution
> Analytics
> Use Revolution R for scalability, fault tolerance and
> more.http://www.revolutionanalytics.com
> Attaching package: ‘foreach’
> The following object(s) are masked from ‘package:chron’:
>
>      times
> This is forecast 4.00
>
>
>
>
> On Tue, Dec 18, 2012 at 1:48 PM, John Kerpel <john.kerpel2 at gmail.com> wrote:
>
>> Uwe:
>>
>> More specifically:
>>
>>
>>> library(forecast)Loading required package: parallelLoading required package: tseries
>>      ‘tseries’ version: 0.10-30
>>
>>      ‘tseries’ is a package for time series analysis and computational finance.
>>
>>      See ‘library(help="tseries")’ for details.
>>
>> Attaching package: ‘tseries’
>> The following object(s) are masked from ‘package:chron’:
>>
>>      is.weekend
>> Loading required package: fracdiffLoading required package: colorspaceLoading required package: nnetLoading required package: caretError: package ‘caret’ could not be loadedIn addition: Warning message:In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) :
>>    there is no package called ‘caret’> library(caret)Error in library(caret) : there is no package called ‘caret’
>>
>>
>> So the package won't load as a part of package forecast, nor will it load
>> on its own after I download it individually.
>>
>> Thanks for the help.
>>
>> J
>>   On Wed, Dec 12, 2012 at 10:03 AM, Uwe Ligges <
>> ligges at statistik.tu-dortmund.de> wrote:
>>
>>>
>>>
>>> On 12.12.2012 16:32, 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!
>>>>
>>>>
>>> Either you do not have write permission on that directory or you have the
>>> package loaded already,
>>> Uwe Ligges
>>>
>>> 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<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]]
>>>>
>>>>
>>>>
>>>> ______________________________**________________
>>>> R-help at r-project.org mailing list
>>>> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
>>>> PLEASE do read the posting guide http://www.R-project.org/**
>>>> posting-guide.html <http://www.r-project.org/posting-guide.html>
>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>
>>>>
>>
>




More information about the R-help mailing list