module win_installer.win_setup_r

Inheritance diagram of pymyinstall.win_installer.win_setup_r

Short summary

module pymyinstall.win_installer.win_setup_r

Functions to prepare a setup on Windows, R functions

source on GitHub

Classes

class

truncated documentation

RBatchException

raised when running R in batch mode

Functions

function

truncated documentation

get_package_description

returns the description of an R package as a dictionary

r_run_script

run a script on R

Documentation

Functions to prepare a setup on Windows, R functions

source on GitHub

exception pymyinstall.win_installer.win_setup_r.RBatchException[source]

Bases: Exception

raised when running R in batch mode

source on GitHub

pymyinstall.win_installer.win_setup_r.get_package_description(r_path, pack)[source]

returns the description of an R package as a dictionary

Parameters
  • r_path – path to R

  • pack – package name

Returns

dictionary

source on GitHub

pymyinstall.win_installer.win_setup_r.r_run_script(r_path, script, output=None)[source]

run a script on R

Parameters
  • r_path – r location

  • script – script to run

  • output – where to store the output (can be None)

Returns

output

source on GitHub