Guojun,

Otherwise you can simply load the .RData files one over the other from the
main menu of the R window. It works also for the .Rhistory files.

Enjoy your codes,

Gian




On 10 February 2012 21:56, Peter Solymos <solymos@ualberta.ca> wrote:

> Guojun,
>
> Make lists of them with this function:
>
> fun <- function(file) {
>    x <- new.env()
>    load(file, x)
>    as.list(x)
> }
>
> HTH,
>
> Peter
>
>
>
> On Fri, Feb 10, 2012 at 1:52 PM, lgj200306 <lgj200306@163.com> wrote:
> > Hi, everyone!
> > I have several R workspaces, with each contains many files. I want to
> combine these workspaces into one. Which command should I use to achieve my
> target?
> > Thank you very much and best wishes for you!
> >
> > Guojun Lin
> > Feb. 10th, 2012
> >
> >        [[alternative HTML version deleted]]
> >
> > _______________________________________________
> > R-sig-ecology mailing list
> > R-sig-ecology@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
> >
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>

	[[alternative HTML version deleted]]

