[R] importing multiple file form folder

Sarah Goslee sarah.goslee at gmail.com
Mon May 28 23:37:16 CEST 2012


Sure, I have lots of ideas, mostly involving you overwriting your
results with each iteration. But unless you post your code to the the
list, I'll never know if my ideas are right.

Please read the posting guide. Using the Nabble interface does not
exempt you from posting manners.

Sarah

On Mon, May 28, 2012 at 5:25 PM, mpavlic <matevz.pavlic at gi-zrmk.si> wrote:
> I managed to sort  something out with a for loop, but it's till not working
> ok...
>
>
>
> What it does is it loops through all files in the folder, it imports each
> file from line 763 on. Than it just takes the second column (Temprerature)
> and binds the columns (cbind).
> BUT it just binds the values of the last file instead of EACH file.  Any
> ideas?
>
> Attached are two files for easier understanding...
>
> thanks, m
>
> http://r.789695.n4.nabble.com/file/n4631640/channel_1_20120509_153744_00001.ddf
> channel_1_20120509_153744_00001.ddf
> http://r.789695.n4.nabble.com/file/n4631640/channel_1_20120509_154744_00001.ddf
> channel_1_20120509_154744_00001.ddf
>
> --
> View this message in context: http://r.789695.n4.nabble.com/importing-multiple-file-form-folder-tp4631637p4631640.html
> Sent from the R help mailing list archive at Nabble.com.
>
> __________________

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list