Re: [R] Automate running files in R

2018-07-23 Thread Michael Friendly
Hi Serena I'll add one more "in addition" to this list of suggestions. It may not be what you were thinking of, but may be far simpler in the long run. The complexity of your approach comes from having separate data files for each subject and trial, for which you have to have a convention for

Re: [R] Automate running files in R

2018-07-22 Thread Rich Shepard
On Sun, 22 Jul 2018, Serena De Stefani wrote: I need to automate a process in R. Basically I have a an R script (I will call it R1) that needs three separate files to run. These three files are the results output of one trial in my study. The trials are specified by the labels: AA AB AM BA BB

Re: [R] Automate running files in R

2018-07-22 Thread Jim Lemon
Hi Serena, I think the directory structure you have described is something like this: mov_study___ | | mov1 ...mov9 / \

[R] Automate running files in R

2018-07-22 Thread Serena De Stefani
I need to automate a process in R. Basically I have a an R script (I will call it R1) that needs three separate files to run. These three files are the results output of one trial in my study. So from each run in R I obtain the summary results for one trial, in a csv file, plus 32 graphs for each