R.run evaluates expr in a new R process.

R.run(expr, out, where=parent.frame(), bquote=TRUE, redirect=FALSE)

Arguments

expr

expression to evaluate

out

string, filename to re-direct stdout/stderr to or NULL if not re-direction is desired.

where

environment to evaluate dot-quoted expressions in

bquote

logical, if TRUE then expr is treated like bquote() which means only expressions inside .() are evaluated locally and everyting else remotely. Otherwise expr is passed as-is.

redirect

logical, if TRUE then the original stdout/stderr are closed such that the output only goes to out. If out is NULL then the output is discarded.

Author

Simon Urbanek