[R] opening multiple connections at once

From: Matje van de Camp <webmistress_at_matje.net>
Date: Sun, 18 May 2008 16:07:37 +0200


Hi all,

I'm new to R and I'm writing an R program that gets called on by a shell script.
The shell script creates several directories with files, the names vary according to whatever I use as input to the shell script. I need to make connections to certain files in R (about 100 files in total). I have managed to either pass the directory paths or a list of all files in the directories into R.
How can I make my R program open connections to all files in the directory or in the file list?
I have searched the R-help archives and Google, but I can't seem to find an answer. Or at least no answers I can understand. Does anyone have a simple solution for me?

Thanks in advance!

Matje



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. Received on Sun 18 May 2008 - 14:11:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 18 May 2008 - 17:30:39 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive