Skip to content

Unable to install new package using local zip file (PR#1854)

2 messages · rangrej@cheo.on.ca, Brian Ripley

#
Full_Name: Jagadish Rangrej
Version: 1.5.1
OS: windows 2000
Submission from: (NULL) (192.139.231.5)


I have produced one package using
to move it to any new computer, I take the zip file of, "Program
file\R\rw1051\library\pubbias" and install it using menu option in R for
installing from local zip files.

It gives the error : "error -1 in extracting from zip file"

solved :
before installing using menu option, go to "program files\R\rw1051\library" and
make a directory "pubbias", then install the package from the local zip file
option.

Thanks,
-Jag

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
There is nothing here that we could reproduce.

The option does work: download any of the zip files on CRAN and try it.
(Indeed, the same code is used by the option to install from CRAN, and we
have had no reports of problems.)

Two possible issues spring to mind:

1) the zip file might have invalid internal structure.  Maybe it is
missing the directory `pubbias' (although the unzip code should cope with
that, and that's not the error code I would expect).

2) This is not the first attempt to do something like this, and Windows
had the location in use.  (I have seen that one, and after a reboot it
worked cleanly.)
On Tue, 30 Jul 2002 rangrej@cheo.on.ca wrote: