Displaying 4 results from an estimated 4 matches for "rinterp".
Did you mean:
interp
2006 Jul 14
2
R as shell script
Hi,
I am considering if I should invest in learning R. Based on the
language definition and introductory documents, it seems nice. But now
I am faced with a problem: I want to be able to run R programs easily
from the unix shell, and write scripts that can automatically select R
as the interpreter:
#!/usr/bin/R
cat("Hello world.\n")
This of course doesn't work, because /usr/bin/R
2006 Jul 14
2
R as shell script
Hi,
I am considering if I should invest in learning R. Based on the
language definition and introductory documents, it seems nice. But now
I am faced with a problem: I want to be able to run R programs easily
from the unix shell, and write scripts that can automatically select R
as the interpreter:
#!/usr/bin/R
cat("Hello world.\n")
This of course doesn't work, because /usr/bin/R
2006 Aug 14
3
Making R script to run in a console
Hi,
is possible to make a R script to run under a console without open the R
environment?
Something like this example.R
#!/usr/bin/R
function(name="Put here your name") {
print(name)
}
In a console I make
./example.R name="Ronaldo Reis J?nior"
then program print my name.
It is possible?
Thanks
Ronaldo
--
A jury consists of twelve persons chosen to decide who has the
2006 Sep 07
1
Running/submitting script files
All:
Is there any way to run an R script file (i.e., *.R) from the command
prompt in the console window. Ultimately, I'm looking to put such code
in a script file so that it can set off other R scripts/programs as
needed.
Thanks.
Marc
[[alternative HTML version deleted]]