[R] Reading selected lines in an .html file

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Jun 5 14:01:59 CEST 2008


Of course you could use readLines() and post process by using 
appropriate functions such as grep(), strsplit() and friends later on.

Uwe Ligges


vittorio wrote:
> Dear friend, 
> 
> In an R program running permanently on a server I would like to read hour by 
> hour the temperature in *C and the humidity from a  site like this (actually, 
> from many of such sites):
> 
> http://www.wunderground.com/global/stations/16239.html
> 
> How can I read the content of the site and select the info I need?
> 
> Ciao
> Vittorio
> 
> ______________________________________________
> R-help at r-project.org 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.



More information about the R-help mailing list