[R] Problem with installation under R 1.7.1 and unzip

Prof Brian Ripley
2003-06-23T09:04:39Z

On Mon, 23 Jun 2003, Ramzi Feghali wrote:

> Dear all,
>
> i was working under R 1.6.2 but i wanted to install bioconductor under
WinXP, and because R 1.7.1 contains the TclTk package and automatic installation
of bioconductor packages, so i install it.
>
> Everything is fine except this message which appear after the installation
of packages.
>
> "> local({a<- CRAN.packages(CRAN=getOption("BIOC"))
> + install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a,
CRAN=getOption("BIOC"))})
> trying URL
`http://www.bioconductor.org/bin/windows/contrib/1.7/PACKAGES'
> Content type `text/plain' length 11255 bytes
> opened URL
> downloaded 10Kb
> trying URL
`http://www.bioconductor.org/bin/windows/contrib/1.7/Biobase_1.3.22.zip'
> Content type `application/zip' length 444272 bytes
> opened URL
> downloaded 433Kb
> Error in int.unzip(zipname, NULL, dest) : destination does not exist"

>  the function int.unzip doesn't exist in R

Yes, it does.  As it name suggests, it is an internal function, called via
.Internal, in this case as part of zip.unpack.

> and i don't know which
> destination must be specified to unzip packages and install it. In fact
> i am doing this manually now and it works using "Load package"
but i
> won't do this always because i have the same problem in updating these
> packages.

> My destination directory is Program Files\\R\\rw1071\\Rwork.
> Could anyone tell me what to do and how to resolve this problem?

How do you know that? (It almost certainly is not: try doing a
traceback() to find out.)


My suggestion is that you re-install R in a directory without any spaces
in the path, as that is likely to be the problem.  Alternatively, you
could install unzip.exe and set options("unzip").

--
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595