from R import R R.sum([1, 2, 3, 4]) R.rnorm(10, 1000) R.rnorm(10, sd = 8)
__RPythonInitArgs
variable,
as requested by Tim Churches.
This initializes R as if it had been
started from the command line as
R --vanilla --silent
>> __RPythonInitArgs = ["--vanilla", "--silent"] >> import RS >> RS.call('commandArgs') # now ask R what it was given.
>> __RPythonInitArgs = "--silent" >> import RS
.PythonEval()
fixed.
RS_checkError()
handles both exceptions and string exceptions.
pythonFunction()
is no longer a PythonReference
objects.
[[
and other methods
now more appropriate.
[[
operator for Python references in R
retrieve the value of the named field from the instance.
p[["myField"]]