[R] loading saved files with objects in same names

Hadley Wickham h.wickham at gmail.com
Sun Aug 24 04:07:07 CEST 2014


In the future, you can avoid this problem by using saveRDS and readRDS.

Hadley

On Mon, Aug 18, 2014 at 7:30 PM, Jinsong Zhao <jszhao at yeah.net> wrote:
> Hi there,
>
> I have several saved data files (e.g., A.RData, B.RData and C.RData). In
> each file, there are some objects with same names but different contents.
> Now, I need to compare those objects through plotting. However, I can't find
> a way to load them into a workspace. The only thing I can do is to rename
> them and then save and load again.
>
> Is there a convenient to load those objects?
>
> Thanks a lot in advance.
>
> Best regards,
> Jinsong
>
> ______________________________________________
> R-help at 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.



-- 
http://had.co.nz/



More information about the R-help mailing list