From John.Marsland at CommerzbankIB.com  Mon Jul 21 09:26:40 2003
From: John.Marsland at CommerzbankIB.com (Marsland, John)
Date: Mon Jul 21 09:26:30 2003
Subject: [Rd] unz()
Message-ID: <8CBAA121CEB4D5118CB200508BB2BBEF0317E865@xmx8lonib.lonib.commerzbank.com>

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


[Rd] unz()
Marsland, John