Home Comments Thread
New Thread

1 Comment

giscus-bot giscus-bot 2022-12-17 02:00:04
Guest *Daijiang Li* @ 2017-12-14 03:16:25 originally posted:

Great post! If you really want to use save() and then want load it back, use attach() instead of load(). The former will warn you about overwriting. Also you can unload it with detach("file:foo.RData").

@daijiang

yihui yihui 2022-12-17 02:00:05

Interesting. I'm starting to doubt if I really know base R again ( https://yihui.org/en/2017/11/matrix-indexing/ ). I didn't know attach() also works on .RData files. Thanks for the info!

Originally posted on 2017-12-14 05:21:34

Sign in to join the discussion

Sign in with GitHub