Displaying 1 result from an estimated 1 matches for "fda_trial_data".
2011 Nov 28
1
Running Shell Script with R
...Load Libraries
##...
## Load Time Data
Args <- commandArgs(trailingOnly = TRUE);
print(Args);
timeDat <- read.flowSet(files=NULL, path=Args[1]);
save(timeDat,file = Args[2]);
Here is my shell script file
#!/bin/bash
#$ -cwd
#$ -q all.q
R --slave --vanilla --file="/home/jpura/Desktop/FDA_Trial_Data/testscript.R"
--args "/home/jpura/Desktop/FDA_Trial_Data/Experiment_1/"
"/home/jpura/Desktop/FDA_Trial_Data/testscript.RData"
It runs just fine (i.e. I get the right output file, which is
testscript.RData) when I type the lines in the shell script file directly
into the co...