[R] unz()
Marsland, John
John.Marsland at CommerzbankIB.com
Fri Jul 18 18:54:32 CEST 2003
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
If anybody could offer advice?
Regards,
John Marsland
**********************************************************************
This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}}
More information about the R-help
mailing list