[R] Problem with installation under R 1.7.1 and unzip

Ramzi Feghali
2003-06-23T09:43:19Z

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]]