install.nodejs {installr} | R Documentation |
Downloads and installs nodejs LTS or Current
Description
Downloads and installs the latest version of nodejs LTS or Current for Windows.
Usage
install.nodejs(
page_with_download_url = "https://nodejs.org/en/download/",
version_number = "LTS",
...
)
Arguments
page_with_download_url |
a link to the list of download links for Nodejs |
version_number |
Either LTS or Current. Version LTS will lead to download of v6.11.X |
... |
extra parameters to pass to install.URL |
Details
Nodejs is a programming language which has two versions under active development. Make sure you know which version is required for the code you have to run, or alternatively, make sure you are developing code that is fit for your chosen version of Nodejs.
Value
TRUE/FALSE - was the installation successful or not.
Author(s)
Tal Galili and A. Jonathan R. Godfrey and Chanyub Park
Examples
## Not run:
install.nodejs()
install.nodejs(,"Current")
install.nodejs(,"LTS")
## End(Not run)
[Package installr version 0.23.4 Index]