[R] unz()
Marsland, John
John.Marsland at CommerzbankIB.com
Fri Jul 11 12:43:43 CEST 2003
I am having problems getting the unz() function to work as a connection to
start reading a file...
z <- unz("c:/temp/stoxx.zip", "close_tmi_components.txt", "r")
readLines(z,2)
yields the following problems:
> z <- unz("c:/temp/stoxx.zip", "close_tmi_components.txt", "r")
Error in unz("c:/temp/stoxx.zip", "close_tmi_components.txt", "r") :
unable to open connection
In addition: Warning message:
cannot locate file `close_tmi_components.txt' in zip file
`c:/temp/stoxx.zip'
> readLines(z,2)
Error in readLines(z, 2) : cannot open the connection
In addition: Warning message:
cannot locate file `close_tmi_components.txt' in zip file
`c:/temp/stoxx.zip'
can anybody offer any advice?
Regards,
John Marsland
**********************************************************************
This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}}
More information about the R-help
mailing list