Displaying 4 results from an estimated 4 matches for "myrfil".
Did you mean:
myrfile
2008 Nov 17
2
Command line arguments with source() - Windows OS
Hi Everyone,
I am pretty new to R and so far have mostly been using R interactively
through the Windows console.
I'm starting to write some scripts, and have been executing them using the
source() command, i.e. source(myRfile.R).
My questions is how can I pass command line arguments to R. My file
"myRfile.R" has some global variables which I would like to be able to set
at run-time, without having to go in and edit the text of the file each time
I want to run it.
I can't seem to find much information o...
2002 Aug 13
1
getting source file name
Hello everybody,
is there a way to get the file name of the source file from which I read and
execute my R code?
In other words: If I'm executing "source('myRfile.r')" I'd like to have a statement
inside myRfile.r like "src.file<-$0" (in unix csh style) which assigns th variable
src.file to 'myRfile.r' .
Thanks in advance!
Best regards,
Lutz
Lutz Thieme
Product Engineering
AMD - Saxony Manufacturing GmbH
phone: +...
2009 Nov 10
1
problem with executing r-function from windows command prompt
Hi all,
I am trying to execute one function from windows command prompt
and I am trying to execute queries like source(myRfile.R) but itis
throughing runtime errors can any one help me how can i run my
*.R file and how can i call a function in that *.R file
thanks in advance
kiran.
[[alternative HTML version deleted]]
2010 Jan 08
2
how to organize a lot of R source files
Hi,
I wonder what is a better way to organize a lot of R source files. I have
a lot of utility functions written and store them in several source files
(e.g util1.R, util2.R,..utilN.R). I also have a master file in which the
source command is used to load all the util.R files. When I need to use
the utility functions in a new project, I create a new R file (e.g main.R)
in which I