[R] problem with package binaries

ripley@stats.ox.ac.uk
2002-05-07T12:35:29Z

chron works for me under XP.

This is related to Windows' habit (at least under NT) of thinking
files are in use when they are not.  That's an fopen call failing, about
which we can do nothing.

Try rebooting Windows and do this before using R in any other way.  If the
problem persists then, you will need to manually delete the files first.


On Tue, 7 May 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
>
> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

--
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595