[R] opening a file from within a zipfile that is online

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jun 7 09:39:29 CEST 2007


'description' has to be a filepath of a zip file.  You will have to 
download it first.

On Wed, 6 Jun 2007, toby909 at gmail.com wrote:

> Hi
>
> Reading the help for ?unz I was wondering if I can read data into R from within
> an zipfile that is on some website, like maybe:
>
> dtaa =
> read.table(unz("http://www.ats.ucla.edu/stat/examples/alsm/alsm.zip","Ch01pr19.dat"))
>
> Thanks for letting me know if you came acros such a thing before.
>
> Toby
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list