[R] interactive graphics from the O/S Shell prompt

David Winsemius dwinsemius at comcast.net
Sat Jan 15 16:25:46 CET 2011


On Jan 15, 2011, at 9:42 AM, analyst41 at hotmail.com wrote:

> I have a function called plotID(ID) that would generate a plot for
> customerID = "ID".  I can run it repeatedly from within R without any
> problems.
>
> Would it be possible to run this function from the O/S command prompt;
> each time you enter an ID , it would open a graphics window with the
> plot for that ID and prompt you for a new ID (and perhaps if you type
> "quit" the program terminates).
>

?Rscript


> Thanks.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list