Skip to content
Prev 389813 / 398503 Next

extracting a R object from an R image

You can't. You can only save and load whole .RData files. You can, of
course, save and load separate R objects in separate files. But note
in ?save.image:

"For saving single R objects, saveRDS() is mostly preferable to
save(), notably because of the functional nature of readRDS(), as
opposed to load(). "

You may wish to search on "data serialization" (e.g. on Wikipedia) or
similar to better understand the underlying ideas.

Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Nov 5, 2021 at 3:01 PM Bogdan Tanasa <tanasa at gmail.com> wrote: