installVersion {AMAPVox}R Documentation

Install specific AMAPVox version on local computer.

Description

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.

Usage

installVersion(version, overwrite = FALSE, timeout = 300)

Arguments

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.

Value

the path of the AMAPVox installation directory.

See Also

getLocalVersions(), getRemoteVersions(), removeVersion()

rappdirs::user_data_dir()

utils::download.file(), utils::unzip()

Examples

## Not run: 
# install latest version
installVersion(tail(getRemoteVersions()$version, 1))

## End(Not run)

[Package AMAPVox version 2.2.1 Index]