Thursday, 15 August 2013

Opening RDA file (R file) -



Opening RDA file (R file) -

i trying open , see info in r file (.rda) gives me error:

library("etas") vars <- load("jap.quakes.rda") vars

this error msg:

error in readchar(con, 5l, usebytes = true) : cannot open connection in addition: warning message: in readchar(con, 5l, usebytes = true) : cannot open compressed file 'jap.rda', probable reason 'no such file or directory'

it seems want load info jap.quakes etas package. code load jap.quakes.rda, not there (you can check dir()).

since want load info bundle do:

data(jap.quakes)

this stated in documentation of package.

now object jap.quakes available in global environment. type jap.quakes show object.

r

No comments:

Post a Comment