pkg.version | R Documentation |
Retrieves the information of the current session and the version of the packages loaded.
pkg.version(
return.session = FALSE,
print.versions = TRUE,
return.versions = FALSE,
session.file = NULL
)
return.session |
Logic value to define if to save the session info. By default |
print.versions |
Logic value to define if to print the session and version info. By default |
return.versions |
Logic value to define if to save package versions info. By default |
session.file |
If a string to a path is provided, a .txt file with session and versions info will be exported. Default |
If return.session
and/or return.versions
TRUE
a list with these informations is returned. Otherwise nothing is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.