[Rd] zip.unpack() crashes R (PR#2818)

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Apr 22 20:10:14 MEST 2003


hb at maths.lth.se writes:

> # 1. Running the script several times with N = 900 crashes R or generates 
> # the error:
> # Error in zip.unpack("dir.zip", "c:/tmp") :
> #        can not set length of non-vector
> # 2. Running the script twice with N = 1002 crashes R
> # 3. Running the script twice with N = 1003 crashes R (every time?)
> # 4. Running the script twice with N = 2000 crashes R (every time!)
> N <- 1003
....
> # Unse zip.unpack(), which is used by install.packages(), to unpack it.
> zip.unpack("dir.zip", "c:/tmp")

Reproducible on Linux with

.Internal(int.unzip("dir.zip",NULL, "/tmp"))

instead of zip.unpack.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list