Re: [R] Reading selected lines in an .html file

2008-06-05 Thread Uwe Ligges
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@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.


__
R-help@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.


[R] Reading selected lines in an .html file

2008-06-04 Thread vittorio
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@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.