This help topic is for R version 1.5.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/applescript.html
applescript {base}R Documentation

Runs Apple's applescripts

Description

This command runs scripts of AppleScript type from within R under a Macintosh.

Usage

applescript(path, scriptname)

Arguments

path

name of the folder where to search for the script to be executed. If an empty string is passed then R searches for the script in the "script" folder of R.home().

scriptname

the name of the script file.

See Also

Scripts.

Examples

applescript("", "demo")
## expand all examples and help files
applescript("", "zip.expand") 

[Package base version 1.5.0 ]