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 <lgj200...@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

Reply via email to