[R] problems loading package "nlme" in Debian Sid

Dirk Eddelbuettel edd at debian.org
Wed Apr 7 15:44:36 CEST 2004

On Wed, Apr 07, 2004 at 03:13:50PM +0100, Federico Calboli wrote:
> Dear All,
> I apologize if the following has been already asked, but I could not
> find anything in the archives.
> I am running Debian Sid (on an Athlon XP), with R 1.8.1.cvs.20040307-1
> (it describes itself as "R 1.9.0 experimental" when I fire R up) and I
> am unable to load the library "nlme" (I apt-getted r-recommended, so the
> library is on the system)
> >library(nlme)
> Error in loadNamespace((i[[1]],c(lib.loc, .libPath()),keep.source):
> package "mva" does not have a namespace
> In fact, in my /etc/lib/R/library/mva/ does not have a NAMESPACE file.
> How can I fix this? 
> I hope the fix is not as simple as upgrading to the latest cvs... but
> the machine in question cannot be up online until later today, so I
> could not test this out. If that's the case, I apologise for the wasted
> bandwidth.

As you may know, I have been building and uploading both pre-1.9.0 version
of R itself (in the 1.8.1.cvs.$DATE packages, currently at
1.8.1.cvs.20040331) and of all (previously packaged) packages in
$CRAN/src/contrib/1.9.0/ which includes nlme.

As for your problem, a simple upgrade to the newest versions should do, see
below.  If you go with Debian 'sid' aka 'unstable', I do recommend a quick
'apt-get update; apt-get dist-upgrade' every few days. The problem described
here has been reported and fixed before. See below for a log, it simply
works if you have the current components.

Hope this helps,  Dirk

edd at homebud:~> R

R : Copyright 2004, The R Foundation for Statistical Computing
Version 1.9.0 beta (2004-03-31), ISBN 3-900051-00-3

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.

> library(nlme)

> Regards,
> Federico Calboli
> -- 
> =================================
> Federico C. F. Calboli
> Dipartimento di Biologia
> Via Selmi 3
> 40126 Bologna
> Italy
> tel (+39) 051 209 4187
> fax (+39) 051 251 4286
> f.calboli at ucl.ac.uk
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

The relationship between the computed price and reality is as yet unknown.  
                                             -- From the pac(8) manual page

More information about the R-help mailing list