Displaying 1 result from an estimated 1 matches for "decompose_data".
2010 Nov 02
2
get the scripname within the executed myscript.r
Dear R-users!
Is there a way to obtain the name of the executed myscript.r, i.e. when
cmd> rscript myscript.r
is executed? (The name of the script in this case is "myscript.r")
Here is the explanation of why I would like to get that: Why: I have
prepared a set of scripts (decompose_data.r, plot_with_higher_resolution.r,
plot_3D.r, etc.) placed in a root directory at one place. I keep updated
only one original of each. For each new dataset, I create a new directory in
my directory tree, and I copy r scripts with the same names containing a
line for executing the only one, e.g.
sou...