Where did my packages go ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Where did my packages go ?

eric
Running linux 10.04 ubuntu.

Looks like Ubuntu automatically updated to version 2.13. I was running version 2.12 until today. But now I'm getting error messages when I use the require or library command and one of the packages I've downloaded in the past.  For example:

> require(quantmod)
Loading required package: quantmod
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'quantmod

I noticed under my Home folder in the R folder that I have a i486-pc-gnu-library subfolder. Inside that sub folder are 3 subfolders labeled 2.10, 2.12, 2.13. If I look in 2.12, I see a lot of subfolders with the names of the packages I use (quantmod for instance). If I look in the 2.13 subfolder, there's nothing there at all; it's empty.

So what is the right course of action ?
Reply | Threaded
Open this post in threaded view
|

Re: Where did my packages go ?

Andreas Borg-2
Hi Eric,

I have the same issue in Windows. When I upgrade, I just copy all the
packages I need from the 2.12 to the 2.13 library folder and run
update.packages afterwards. However, be careful not to replace any of
the existing packages with older versions, as this might break the
installation.

Andreas

eric schrieb:

> Running linux 10.04 ubuntu.
>
> Looks like Ubuntu automatically updated to version 2.13. I was running
> version 2.12 until today. But now I'm getting error messages when I use the
> require or library command and one of the packages I've downloaded in the
> past.  For example:
>
>  
>> require(quantmod)
>>    
> Loading required package: quantmod
> Warning message:
> In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return
> = TRUE,  :
>   there is no package called 'quantmod
>
> I noticed under my Home folder in the R folder that I have a
> i486-pc-gnu-library subfolder. Inside that sub folder are 3 subfolders
> labeled 2.10, 2.12, 2.13. If I look in 2.12, I see a lot of subfolders with
> the names of the packages I use (quantmod for instance). If I look in the
> 2.13 subfolder, there's nothing there at all; it's empty.
>
> So what is the right course of action ?
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Where-did-my-packages-go-tp3459079p3459079.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>  


--
Andreas Borg
Medizinische Informatik

UNIVERSITÄTSMEDIZIN
der Johannes Gutenberg-Universität
Institut für Medizinische Biometrie, Epidemiologie und Informatik
Obere Zahlbacher Straße 69, 55131 Mainz
www.imbei.uni-mainz.de

Telefon +49 (0) 6131 175062
E-Mail: [hidden email]

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der
richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und löschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser Mail und der darin enthaltenen Informationen ist nicht gestattet.

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.