[R] problem with package binaries

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue May 7 18:43:15 CEST 2002



Renaud Lancelot wrote:
> 
> > version
>          _
> platform i386-pc-mingw32
> arch     i386
> os       mingw32
> system   i386, mingw32
> status
> major    1
> minor    5.0
> year     2002
> month    04
> day      29
> language R
> 
> OS Win98
> 
> I have problems to install some of the packages dowloaded from CRAN
> (whatever the procedure: install from CRAN or from local zip file). I
> noticed this today, while running update.packages().
> 
> > install.packages("G:/Zip/R/1.5.0/Contrib/chron.zip", .libPaths()[1], CRAN = NULL)
> Error in zip.unpack(pkg, lib) : cannot open file
> E:/PROGRAMS/RW1050/library/chron/libs/chron.dll

Is it possible that you have loaded the package with
 library(chron)
(or by loading another package that implicitly load chron)
before installing the new version?
So maybe the file is locked?

Uwe Ligges


> I meet the same problem with lattice (and others), but it works
> sometimes e.g.:
> > install.packages("G:/Zip/R/1.5.0/Contrib/mgcv.zip", .libPaths()[1], CRAN = NULL)
> updating HTML package descriptions
> 
> If I manually delete the library before installing it, it works again:
> > install.packages("G:/Zip/R/1.5.0/Contrib/chron.zip", .libPaths()[1], CRAN = NULL)
> updating HTML package descriptions
> 
> The problem does not seem to be related to R versions incompatibility
> (Rwin FAQ 3.5). For example, with package chron, the content of the
> DESCRIPTION file is:
> Package: chron
> Version: 2.2-21
> Author: S original by David James <dj at research.bell-labs.com>,
>   R port by Kurt Hornik <Kurt.Hornik at ci.tuwien.ac.at>.
> Maintainer: Kurt Hornik <Kurt.Hornik at ci.tuwien.ac.at>
> Description: Chronological objects which can handle dates and times
> Title: Chronological objects which can handle dates and times
> Depends: R (>= 1.2.0)
> License: GPL
> Built: R 1.5.0;  Win32;  2002-05-04 10:00:30
> 
> Is this a problem witb my OS or something else ?
> 
> Tnanks,
> 
> Renaud
> 
> --
> Dr Renaud Lancelot, vétérinaire
> CIRAD, Département Elevage et Médecine Vétérinaire (CIRAD-Emvt)
> Programme Productions Animales
> http://www.cirad.fr/presentation/programmes/prod-ani.shtml (Français)
> http://www.cirad.fr/presentation/en/program-eng/prod-ani.shtml (English)
> 
> ISRA-LNERV                      tel    (221) 832 49 02
> BP 2057 Dakar-Hann              fax    (221) 821 18 79 (CIRAD)
> Senegal                         e-mail renaud.lancelot at cirad.fr
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list