search for: dir_plot

Displaying 1 result from an estimated 1 matches for "dir_plot".

Did you mean: dir2prot
2010 Jan 15
2
processing all files with certain extension in a directory
Hi all, I'm trying to process all files with a certain extension "*.ext" in a directory like this: > R --slave --args /my/dir < dir_plot.r where I then I want to do something like: myarg <- commandArgs() inputdir <- myarg[length(myarg)] print(inputdir) "for file with extension "*.ext in inputdir" do data = process.data(file) outfile = paste(file,".png",sep="") png(outfile,width=3200,h...