I am having some problems with unz() under R 1.7.1 using windows NT 4.0

download.file(url="http://www.test.com/test.zip";,
destfile="c:/temp/test.zip", mode="wb")
z <- unz("c:/temp/test.zip", "home/test.txt", open="r")
test <- read.table(z,sep=";",skip=1,header=T,as.is=T)
close(z)

this code seems temperamental and seems to work if you play around with
open(z) and isOpen(z) eventually ...

otherwise I get the error:

Error in readLines(file, skip) : seek not enabled for this connection

I have checked this out further since I posted a melp message on Friday, I
think it must be a bug.

If anybody could offer advice?

Regards,

John Marsland


********************************************************************** 
This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}}

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to