pyDir: Convenience function to call the Python function *dir*

Description Usage Arguments Details Value Examples

View source: R/Basics.R

Description

A convenience function to call the Python function dir.

Usage

1
pyDir(objName = NULL)

Arguments

objName

an optional string specifying the name of the Python object.

Details

The Python function dir is similar to the R function ls.

Value

Returns the list of names in the global scope, if no object name is provided, otherwise a list of valid attributes for the specified object.

Examples

1
2
pyDir()
pyDir("sys")

PythonInR documentation built on July 1, 2020, 6:05 p.m.