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

View source: R/Basics.R

pyDirR Documentation

Convenience function to call the Python function dir

Description

A convenience function to call the Python function dir.

Usage

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


pyDir()
pyDir("sys")

Sage-Bionetworks/PythonEmbedInR documentation built on April 17, 2023, 4:23 p.m.