View source: R/helper_functions.R
lib.location | R Documentation |
This function will look for the environment variable R_MV_LIBRARY_LOCATION
indicating the R_MV_library location.
Alternatively you can provide a path for this session only, using lib.location(yourPath)
.
This will set the environment variable for this session.
(You might want to consider to add this to your .Rprofile
file, see ?Startup
)
lib.location(set_session_path)
set_session_path |
(optional) If no environment variable has been set to indicate the library location, You can call this function and let it set the environment variable for this session only. |
When a path is provided, this will be stored as the multiversion library location to use during this session (via the environment variable "R_MV_LIBRARY_LOCATION"). In all cases, it will return the location of the multiversion library. When it cannot be found, it will return an error indicating what to do.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.