RStudio Module Reference

New in version 0.1.0.

Control RStudio using JXA-like syntax.

Classes:

XARStudioApplication(properties)

A class for interacting with RStudio.app.

class PyXA.apps.RStudio.XARStudioApplication(properties)[source]

Bases: XASBApplication

A class for interacting with RStudio.app.

New in version 0.1.0.

Methods:

cmd(cmd)

Executes R code in RStudio, does NOT return the execution result.

cmd(cmd: str)[source]

Executes R code in RStudio, does NOT return the execution result.

Parameters:

cmd (str) – The R code to evaluate

Example:

>>> import PyXA
>>> app = PyXA.Application("RStudio")
>>> app.cmd("5*5")

New in version 0.1.0.