Bug report: applescript command
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