Dear All,

Can you please suggest me a correct way to load the following R data frame
from the internet and save it to the hard drive?

The following is what I tried:
> raceprofiling <-
> read.table("http://rss.acs.unt.edu/Rdoc/library/twang/data/raceprofiling.RData";)
> save(raceprofiling, file = 'raceprofiling.RData')

However, when I used dim() to check the dataset, I got:
> dim(raceprofiling)
[1] 11085  1

The correct dimension should be 5000 and 10.

Many Thanks.
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Loading-RData-from-Internet-tp3074103p3074103.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

Reply via email to