Downloads the primary "Comprehensive R Archive Network" (CRAN) R Library packages that are prerequisites for the correct operation of the nodes within the Statistical and Predictive Analytics node pack.
The CRAN repository URL (http://cran.lavastorm.com) is used as the default source of the packages to be downloaded.
If required, you can modify the repository URL to use a specified CRAN repository mirror site. Multiple CRAN repository mirror URLs can be specified, in this case, the node will attempt to download the packages from the first available repository in the list, see Installing CRAN for further information.
The downloaded packages are installed to a directory on the machine hosting the Data360 Analyze Server that is to be used as the local "library" location. Once installed, these R packages can be used by other nodes that leverage the R functions provided by the packages.
Where the connection to the repository needs to be established via a web proxy, the URL of the proxy can be specified, together with the credentials to be used when accessing the proxy (if required).
The node displays the Terms and Conditions of Use agreement that applies to the use of this node.
If you agree to the terms and conditions, set the Agreement property to I accept the agreement.
When run, the node attempts to download the packages to the local library location. If a package has previously been downloaded, the node does not re-download the package. The node outputs a list of the packages that it has attempted to download together with the status of the download and the URL of the mirror from which the package was downloaded.
Powered by TIBCO®
Properties
LicenseAgreement
This property displays the Data360 Analyze R License Agreement.
Agreement
Specify whether you agree to the terms of use. The node only downloads and installs the specified CRAN package(s) when consent is given by the user, refer to the agreement text.
The default value is "I do not accept the agreement". To use this node you should choose the option "I accept the agreement".
MirrorUrlList
Optionally specify the CRAN Mirror URL(s) to be used by the node.
Each URL must be on a separate line and correspond to a valid URL identifying the mirror. Where more than one mirror URL is specified, the node attempts to connect to the mirrors in the priority order specified in the list.
The default value is the URL of the CRAN repository.
ProxyUrl
Optionally specify the URL of a proxy server to use for the HTTP requests. The URL should contain the protocol (http or https), the host, and the port. All other parts of the URL will be ignored.
The URL should be in a format similar to the following:
- HTTP proxy: http://proxy.example.com:1234
- HTTPS proxy: https://proxy.example.com:443
The node supports automatic detection of system proxy settings.
ProxyUsername
Optionally specify the proxy username, where the proxy requires authentication. This property should be left blank if ProxyUrl is not set.
ProxyPassword
Optionally specify the proxy password, where the proxy requires authentication. This property should be left blank if ProxyUrl is not set.
ErrorBehavior
Optionally specify what to do if the node cannot download a package. Choose from:
- Error - Give a transfer error and skip the file.
- Log - Log a warning message and skip the file.
- Ignore - Skip the file.
The default value is Error.
ErrorThreshold
Optionally specify the number of transfer errors that will cause the node to give up and fail.
Each record on the input pin is a "request". A transfer error is any error that causes a request to fail (e.g. a requested file does not exist). Setting this property instructs the node to continue processing requests as long as the number of errors remains below the given threshold.
An ErrorThreshold of 0 means never fail on a transfer error (the node will still fail on more serious errors). The default value is 1; the node fails on the first error encountered.
Inputs and outputs
Inputs: None.
Outputs: downloaded packages.