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 30, 2017, 3:41 a.m.