[R] Download data
Pascal Oettli
kridox at ymail.com
Wed May 29 14:49:39 CEST 2013
Hi,
The combination "read.table" (and its arguments) + "stdin" also can be
used, directly in R.
> read.table(stdin(), ...)
Regards,
Pascal
On 29/05/2013 21:35, Jim Lemon wrote:
> On 05/29/2013 02:02 AM, jcrosbie wrote:
>> Hi, I'm trying to download data from:
>> http://www.ngx.com/settlehistory.html
>>
>> Is it possible to fetch the data with R?
>>
> Hi jcrosbie,
> The simplest way seems to be to highlight the desired spreadsheet (less
> the title row), copy (Ctrl-C) and paste (Ctrl-V) it into a text editor
> and save it (e.g. ss1.tab). This produces a TAB delimited file that can
> be read into a data frame in R with:
>
> ss1<-read.table("ss1.tab")
>
> Jim
>
> ______________________________________________
> 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