Quantcast

problem with missing package

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

problem with missing package

Eric Elguero-2
Hi everybody,

I just tried to run R on one of my projects
but it did not want to run:



R version 2.12.1 (2010-12-16)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)

<some lines deleted>

Loading required package: utils
Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
  there is no package called 'nlme'
Fatal error: unable to restore saved data in .RData


there are two things I do not understand:

i) I had actually nlme installed, and working,
but when I look in /usr/lib/R/library/nlme
I find only a text file named "COPYING"
and containing the gnu license.
Where is the package gone? (by itself)

ii) I tried to reinstall nlme but could not
find it in the usual repositories.

in any case, I would like to recover at least those R objects
that do not depend on nlme.

I tried :

$mv .RData xxx
$R
>load("xxx")

but that doesn't help.

Is there a method to extract some information from .RData
without loading it?
 
Eric Elguero

______________________________________________
[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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: problem with missing package

Uwe Ligges-3


On 16.06.2011 16:19, Eric Elguero wrote:

> Hi everybody,
>
> I just tried to run R on one of my projects
> but it did not want to run:
>
>
>
> R version 2.12.1 (2010-12-16)
> Copyright (C) 2010 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: x86_64-pc-linux-gnu (64-bit)
>
> <some lines deleted>
>
> Loading required package: utils
> Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
>    there is no package called 'nlme'
> Fatal error: unable to restore saved data in .RData
>
>
> there are two things I do not understand:
>
> i) I had actually nlme installed, and working,
> but when I look in /usr/lib/R/library/nlme
> I find only a text file named "COPYING"
> and containing the gnu license.
> Where is the package gone? (by itself)


We do not know.

> ii) I tried to reinstall nlme but could not
> find it in the usual repositories.

There is a recent version in the source repository that depends on R >=
2.13.0, hence yo either need to grab a version from the archives or even
better just upgrade R which ships with nlme.

Uwe Ligges


> in any case, I would like to recover at least those R objects
> that do not depend on nlme.
>
> I tried :
>
> $mv .RData xxx
> $R
>> load("xxx")
>
> but that doesn't help.
>
> Is there a method to extract some information from .RData
> without loading it?
>
> Eric Elguero
>
> ______________________________________________
> [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.

______________________________________________
[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.
Loading...