[R-SIG-Mac] Bug report: applescript command

hadley wickham h.wickham at gmail.com
Sat Aug 20 18:34:56 CEST 2005


If you send a command to R with applescript you must move the mouse or
push a key before command is run.

To replicate:

 * start with R closed
 * on the command line, osascript -e 'tell application "R" to activate' 
 * then osascript -e "tell application \"R\" to cmd \"print('hi')\""
 * print('hi') doesn't appear until you move the mouse or press a key

What should happen:

 * print('hi') should appear immediately

GUI version: Version 1.12 (1622)

Hadley



More information about the R-SIG-Mac mailing list