Skip to content

interactive graphics from the O/S Shell prompt

2 messages · analyst41 at hotmail.com, David Winsemius

#
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).

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

            
?Rscript
David Winsemius, MD
West Hartford, CT