Undergraduate-- Environmental Resources Engineering
Humboldt State University
--
View this message in context:
http://r.789695.n4.nabble.com/Path-to-R-script-tp2196648p2216184.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org
At 13:19 Uhr -0700 12.05.2010, Shi, Tao wrote:
Don't quite understand your question, but it looks like a more IT
issue to me. I guess you store your R scripts in a central location
(e.g. a server) and everybody call them from their own workstation,
right?
Thank you, but this would be an
At 19:29 Uhr -0400 12.05.2010, Gabor Grothendieck wrote:
If you are running the file via source(myfile.R) then just put this
in the file:
this.dir - dirname(sys.frame(1)$ofile)
This is a bit fragile since changes to the internals of source could
break it but it does currently work.
Great,
] Path to R script
At 13:19 Uhr -0700 12.05.2010, Shi, Tao wrote:
Don't quite understand
your question, but it looks like a more IT issue to me. I guess you store
your R scripts in a central location (e.g. a server) and everybody call them
from their own workstation, right?
Thank you
There is certainly a trivial solution for my question, but I can't
find the answer in the documentation.
I need a platform independent method to obtain the file path of the
current R script.
My working group uses R on several machines with different operating
systems including Mac OS X
While not a direct answer to your question, do
?getwd and ?setwd help at all?
Johannes W. Dietrich wrote:
There is certainly a trivial solution for my question, but I can't find
the answer in the documentation.
I need a platform independent method to obtain the file path of the
current R
On 12/05/2010 3:31 PM, Johannes W. Dietrich wrote:
There is certainly a trivial solution for my question, but I can't
find the answer in the documentation.
I need a platform independent method to obtain the file path of the
current R script.
My working group uses R on several machines
group.
...Tao
- Original Message
From: Johannes W. Dietrich j.w.dietr...@medizinische-kybernetik.de
To: r-help@r-project.org
Sent: Wed, May 12, 2010 12:31:19 PM
Subject: [R] Path to R script
There is certainly a trivial solution for my question, but I can't find the
answer
Johannes W. Dietrich wrote:
There is certainly a trivial solution for my question, but I can't
find the answer in the documentation.
I need a platform independent method to obtain the file path of the
current R script.
My working group uses R on several machines with different
Sharpie wrote:
Johannes W. Dietrich wrote:
There is certainly a trivial solution for my question, but I can't
find the answer in the documentation.
I need a platform independent method to obtain the file path of the
current R script.
My working group uses R on several machines
David Scott wrote:
Sharpie wrote:
Johannes W. Dietrich wrote:
There is certainly a trivial solution for my question, but I can't
find the answer in the documentation.
I need a platform independent method to obtain the file path of the
current R script.
My working group uses R on several
...@medizinische-kybernetik.de wrote:
There is certainly a trivial solution for my question, but I can't find the
answer in the documentation.
I need a platform independent method to obtain the file path of the current
R script.
My working group uses R on several machines with different operating
12 matches
Mail list logo