[R] Fast way to load multiple files

Peter Eiger Peter.Eiger at gmx.net
Mon Aug 14 22:00:08 CEST 2006


Hi,

Instead of having to program a loop to load several workspaces in a directory, it would be nice to store the filenames in a list "filelist" and then to apply "load" to this list
"lapply( filelist, load)"
Unfortunately, although it seems that R is loading the files, the contained objects are not available in the workspace afterwards.
Any hints what I'm doing wrong or how to circumvent the problem?
Peter
--



More information about the R-help mailing list