View source: R/getFallbackREnv.R
getFallbackREnv | R Documentation |
Get the path to the conda environment containing an internal R installation. This is used as a last resort fallback for reticulate when there are shared library version conflicts with the current R installation.
getFallbackREnv()
If the environment does not yet exist and useSystemDir
is FALSE
, it is created on the fly.
Otherwise, if useSystemDir
is TRUE
, an error is thrown;
this is because the fallback environment should have been created by installConda
, unless noFallbackR
is set to TRUE
.
If the BASILISK_EXTERNAL_FALLBACK_R
environment variable is set to some location, this will be returned instead.
The fallback environment should have already been created at this location.
String containing the path to the conda environment with a fallback version of R installed.
Aaron Lun
# We can't actually run getFallbackEnv() here, as it
# either relies on basilisk already being installed or
# it has a hard-coded path to the basilisk system dir.
print("dummy test to pass BiocCheck")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.