[R] Loading .RData from Internet

L yuanlux at gmail.com
Mon Dec 6 10:46:27 CET 2010


On Mon, Dec 6, 2010 at 8:29 PM, zhiji19 <zhiji19 at gmail.com> wrote:
>
> I tried the load() already. It does not work. The erro is shown as following:
>
> Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection
> In addition: Warning message:
> In readChar(con, 5L, useBytes = TRUE) :
>  cannot open compressed file
> 'http://rss.acs.unt.edu/Rdoc/library/twang/data/raceprofiling.RData',
> probable reason 'Invalid argument'
>



a<-url("http://rss.acs.unt.edu/Rdoc/library/twang/data/raceprofiling.RData")
load(a)





-- 
Linux Toys
http://linuxishbell.wordpress.com/



More information about the R-help mailing list