analyst41 at hotmail.com
2011-Jan-15 14:42 UTC
[R] interactive graphics from the O/S Shell prompt
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:> 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