pithon.set.executable: pithon.set.executable

Description Usage Arguments Details Value Examples

View source: R/pithon.set.executable.R

Description

Sets the path to the Python executable to be used for a particular instance.

Usage

1
  pithon.set.executable( path.to.python.executable, instance.name="" )

Arguments

path.to.python.executable

path to the Python executable that should be used.

instance.name

if specified, use the Python instance with this name

Details

Sets the path to the Python executable to be used for a particular instance. This function must be used before that instance is started, so before using any other function that specifies the instance's name. Otherwise, it will have no further effect.

If the function is not called, the program that has been set using the pithon.set.defaut.executable function (either explicitly or it's default value) will be executed and communicated with.

Value

None.

Examples

1
2
pithon.set.executable( "/usr/bin/python" )
pithon.set.executable( "python3", instance.name="v3" )

rPithon documentation built on May 2, 2019, 5:51 p.m.