View source: R/VersionManager.R
installVersion | R Documentation |
Install specific AMAPVox version on your computer.
AMAPVox versions are installed in the user-specific data
directory, as specified by rappdirs::user_data_dir()
.
You should not worry to call directly this function since
local installations are automatically handled by the version manager
when you launch AMAPVox GUI with gui()
function.
installVersion(version, overwrite = FALSE, timeout = 300)
version |
a valid and existing AMAPVox remote version number (major.minor.build) |
overwrite |
whether existing local installation should be re-installed. |
timeout |
maximum time in seconds before interrupting download. |
the path of the AMAPVox installation directory.
getLocalVersions()
, getRemoteVersions()
, removeVersion()
rappdirs::user_data_dir()
utils::download.file()
, utils::unzip()
## Not run:
# install latest version
installVersion(tail(getRemoteVersions()$version, 1))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.