pyOptions: Options for the PythonInR package

Description Usage Arguments Details Examples

Description

a function for getting and setting options in the PythonInR package.

Usage

1
pyOptions(option, value)

Arguments

option

a character giving the option to set or get.

value

the new value of the option.

Details

The following options are available:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
pyOptions()
pyExec("import numpy as np")
pyOptions("numpyAlias", "np")
pyOptions("useNumpy", TRUE)
pyExec("import pandas as pd")
pyOptions("pandasAlias", "pd")
pyOptions("usePandas", TRUE)

## End(Not run)

PythonInR documentation built on May 2, 2019, 5:17 p.m.