via Terminal/Totalterminal or iTerm, this script works very well:
cd ~/go/to/dir/ && R -e "shiny::runApp("/go/to/dir", launch.browser=TRUE)"
but as/in a App via Automator, the second Part wont work.
In Automator: run Shell-Script. Where is the difference of "normal" Terminal and the Terminal used by Automator. In both /bin/bash
tell application "Terminal" activate do shell script "..."R -e 'shiny::runApp("/Users/1/2/3/", launch.browser=TRUE)'in AS you need:"R -e 'shiny::runApp("/Users/1/2/3/", launch.browser=TRUE)'"Its a problem with the marks.