I would try first without the task scheduler:
Make a .bat file and run this from the command line.
This way you can see what is going on without the flashing window that is
opened and closed immeadiately.
maviney wrote
>
>
> I tried to task schedule, using the following code
>
> "C:\Program F
I did not suggest that you don't HAVE an operating system... simply that you
don't know how to use yours.
However you accomplish starting programs automatically, you WILL need to
specify both the R interpreter (which you do seem to be accomplishing) and the
name of the script you wish to run (w
Thank you for your help
So i have tried many ways on different computers, but i believe i have an
operating system, as I open RScript up in my local directory it just
flashes at me and them disappears
I tried to task schedule, using the following code
"C:\Program Files\R\R-2.12.1\bin\i386\Rscri
In R you should slashes instead of backslashes:
C:\PROGRA~1\R\R-2.11.1\bin\RScript.exe
C:/Users/Vincent/Documents/temp/test.r
Bart
--
View this message in context:
http://r.789695.n4.nabble.com/Automating-R-script-with-Windows-7-tp4446693p4635260.html
Sent from the R help mailing list archive at
On Mon, Mar 5, 2012 at 2:47 PM, vincent.deluard
wrote:
> Hi Jim,
>
> Please disregard my earlier post -- I have done some research and realized
> the space between after "program " was the the issue. I can now open
> RScript.exe from the command prompt using the abbreviated form:
>
> C:\PROGRA~1\R
Sounds like operating system troubles, not R troubles.
If you want help with invoking R, please take a deep breath, read the FAQs and
the posting guide, and tell us exactly what you did at the command line if you
still think R is the problem.
Note that any problems you may be having with the ac
hi
i have tried all day in getting this to work, but i have fail
I cant even schedule it to open up rscript, even by manually i cant open
rscript
Pls help
--
View this message in context:
http://r.789695.n4.nabble.com/Automating-R-script-with-Windows-7-tp4446693p4635237.html
Sent from the R h
Hi Jim,
Please disregard my earlier post -- I have done some research and realized
the space between after "program " was the the issue. I can now open
RScript.exe from the command prompt using the abbreviated form:
C:\PROGRA~1\R\R-2.11.1\bin\RScript.exe
>From your earlier post, I understand the
You are looking to run R in batch mode
see How to run R in batch mode [1] and the Quick-R on Batch Processing [2]
[1] http://turing.une.edu.au/~stat356/Rbatch.html
[2] http://www.statmethods.net/interface/batch.html
On Mon, Mar 5, 2012 at 8:55 AM, vincent.deluard
wrote:
>
> Hi R-users,
>
> I a
Hey Jim,
Thanks for the help. It took me a little bit of research but I got your
solution to work.
For everybody who has the same problem
(1) remember to use the abbreviated names (no space) in folder paths:
ex: 'C:\PROGRA~1\R\R-2.11.1\bin\RScript.exe'
(2) put the folder with the R script to ru
in="Comparison of t Distributions")
for (i in 1:4){
lines(x, dt(x,degf[i]), lwd=2, col=colors[i])
}
legend("topright", inset=.05, title="Distributions",
labels, lwd=2, lty=c(1, 1, 1, 1, 2), col=colors)
This produces a nice plot.
Frank
--
"vincent.deluard" writes:
> I am trying to automate the daily running of a simple R script from Windows
> 7.
>>From previous posts, I understand that this needs to be done with the task
> scheduler.
That is correct.
> I can schedule my laptop to automatically open R at a certain time, but not
>
Just save your R script as a plain text file. Here is a copy of a
file that I will show you how to execute; it is saved as \temp\test.r
cat('this is my R script executing\n', format(Sys.Date()))
Here is the command that I execute at the 'CMD' prompt and that you
would have scheduled by Windows:
Hi R-users,
I am trying to automate the daily running of a simple R script from Windows
7.
>From previous posts, I understand that this needs to be done with the task
scheduler.
I can schedule my laptop to automatically open R at a certain time, but not
to execute a script.
Secondary question: h
14 matches
Mail list logo