[R-sig-eco] How can I combine several workspaces into one?

Peter Solymos solymos at ualberta.ca
Fri Feb 10 21:56:42 CET 2012


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 at 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 at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>



More information about the R-sig-ecology mailing list