[R] How to provide argument when opening RGui from an external application
Sébastien
pomchip at free.fr
Sun Aug 26 13:14:29 CEST 2007
Thanks for your reply.
When you say "look into Rscript.exe", do you have a specific document in
mind ? I tried to google it but could not find much... I forgot to
mention in my first email that I am working under the Windows XP
environment.
Prof Brian Ripley a écrit :
> Look into Rscript.exe (on Windows), which is a flexible way to run
> scripts. Neither using a GUI nor using source() are recommended.
>
> On Fri, 24 Aug 2007, Sébastien wrote:
>
>> Dear R-users,
>>
>> I have written a small application (in visual basic) that automatically
>> generate some R scripts. I would like to execute these scripts when my
>> application is being closed.
>> My problem is that I don't know how to pass the
>> 'source(c:/.../myscript.r)' instruction when I programmatically start
>> RGui. Tinn-R is capable of doing such things, so I guess there must be a
>> way to pass arguments to RGui.
>>
>> Any advice or link to relevant references would be greatly appreciated.
>>
>> Sebastien
>
More information about the R-help
mailing list