Hello,
See the help page for
help("list.files")
?list.files # an 'help' alias, short form.
You can have any type of combination, folder/file pattern/recursive/etc.
Hope this helps,
Rui Barradas
Em 24-06-2012 07:28, iheartfalafel escreveu:> Hi, I'm new with R and I was wondering if there was a way to open a
folder
> containing multiple text files and go through each file.
>
> These files contain protein sequences, however, I wanted to see if there
was
> a way of going through each file without using bio3d, just R
>
>
> Thanks a bunch :).
> ps if you could explain variables/ functions that would be great!!!
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/Analyzing-multiple-text-files-tp4634315.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>