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 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? Thank you a lot Ramzi --------------------------------- [[alternative HTML version deleted]]
Prof Brian Ripley
2003-Jun-23 09:04 UTC
[R] Problem with installation under R 1.7.1 and unzip
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 RYes, 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
Thanks a lot professor, but no in fact it is like you've said c:\Program Files\R\rw1071\Rwork is my "Working directory = C:\Program Files\R\rw1071\Rwork", i am in fact using the functions you've gave me to know what is happening with me because with R 1.6.2 i could install my packages with no problem like that, and i didn't change anything after uninstalling R 1.6.2 and installing R 1.7.1 (except of course in the propreties of R 1.7.2 Shortcut)>zip.unpack("sma",dirperm)[1] 1 attr(,"extracted") character(0) Warning message: error 1 in extracting from zip file>options("unzip")$unzip [1] "internal" and this is what i got after the error message of packages installation> traceback()9: zip.unpack(pkg, tmpDir) 8: unpackPkg(foundpkgs[okp, 2], pkgnames[okp], lib, installWithVers) 7: install.packages(select.list(a[, 1], , TRUE), .libPaths()[1], available = a, CRAN = getOption("BIOC")) 6: eval(expr, envir, enclos) 5: eval(quote({ a <- CRAN.packages(CRAN = getOption("BIOC")) install.packages(select.list(a[, 1], , TRUE), .libPaths()[1], available = a, CRAN = getOption("BIOC")) }), new.env()) 4: eval(expr, envir, enclos) 3: eval(expr, p) 2: eval.parent(substitute(eval(quote(expr), envir))) 1: local({ a <- CRAN.packages(CRAN = getOption("BIOC")) install.packages(select.list(a[, 1], , TRUE), .libPaths()[1], available = a, CRAN = getOption("BIOC")) }) thanks again Ramzi --------------------------------- [[alternative HTML version deleted]]