Displaying 2 results from an estimated 2 matches for "my_rscript".
2015 Aug 04
3
php-R
...nput type='submit' />";
echo "</form>";
if(isset($_GET['N']))
{
$N = $_GET['N'];
// execute R script from shell
// this will save a plot at temp.png to the filesystem
exec("C:\Program Files\R\R-3.2.0\bin\x64\my_rscript.R $N");
// return image tag
$nocache = rand();
echo("<img src='temp.png?$nocache' />");
}
?>
Codigo R:
args <- commandArgs(TRUE)
N <- args[1]
x <- rnorm(N,0,1)
png(filename="temp.png", width=...
2012 Dec 09
3
Where is located the rscript in mac osx??
Dear all,
I have a very simple question. I am trying to find where islocated the rscript in mac os x. The r is installed in the applications folderbut I can not find the rscript.
Thank you.Dimitris
[[alternative HTML version deleted]]