py_run {reticulate} | R Documentation |
Execute code within the the __main__
Python module.
py_run_string(code, local = FALSE, convert = TRUE) py_run_file(file, local = FALSE, convert = TRUE) py_eval(code, convert = TRUE)
code |
Code to execute |
local |
Whether to create objects in a local/private namespace (if
|
convert |
|
file |
Source file |
For py_eval()
, the result of evaluating the expression; For
py_run_string()
and py_run_file()
, the dictionary associated with
the code execution.