Description
Execute code within the the __main__ Python module.Usage
py_run_string(code, convert = TRUE)py_run_file(file, convert = TRUE)
Arguments
convert
TRUE to automatically convert Python objects to their
R equivalent. If you pass FALSE you can do manual conversion using the
py_to_r() function.Value
Reference to __main__ Python module.