Learn R Programming

tensorflow (version 0.5.0)

import: Import a Python module

Description

Import the specified Python module for calling from R. Use "__main__" to import the main module.

Usage

import(module)

Arguments

module
Module namex

Value

A Python module

Examples

Run this code
## Not run: 
# main <- import("__main__")
# sys <- import("sys")
# ## End(Not run)

Run the code above in your browser using DataLab