module installcustom.install_custom_R

Short summary

module pymyinstall.installcustom.install_custom_R

Various functions to install R.

source on GitHub

Functions

function

truncated documentation

get_R_version

returns the version of installed R, we only focus on the x64 version

install_R

Install R. It does not do it a second time if it is already installed.

IsRInstalled

Documentation

Various functions to install R.

source on GitHub

pymyinstall.installcustom.install_custom_R.IsRInstalled()[source]
Returns

True of False whether or not it was installed

source on GitHub

pymyinstall.installcustom.install_custom_R.get_R_version()[source]

returns the version of installed R, we only focus on the x64 version

Returns

tuple (bin, version), None if R is not installed

source on GitHub

pymyinstall.installcustom.install_custom_R.install_R(temp_folder='.', fLOG=<built-in function print>, install=True, force_download=False, version=None)[source]

Install R. It does not do it a second time if it is already installed.

Parameters
  • temp_folder – where to download the setup

  • fLOG – logging function

  • install – install (otherwise only download)

  • force_download – force the downloading of R

  • version – None for last, otherwise requested version

Returns

temporary file

source on GitHub