Failed to execute R script :there is no package called ['xyz']
book
Article ID: KB0080516
calendar_today
Updated On:
Products
Versions
Spotfire Statistica
12 and later versions
Description
How to resolve :"Failed to execute R script . Runtime Evaluation Error ; Error in library("xyz"): there is no package called ['xyz'] while executing R node/R script in Statistica" ?
Resolution
Cause : While executing R node/R script , if errors with :Failed to execute R script . Runtime Evaluation Error ; Error in library("xyz"): there is no package called ['xyz'] as shown below the cause is that the R code uses a package that has not been installed in R. For example, the below R code uses two packages : sm and tsDyn
Resolution:
To resolve this error, launch RGUI or R console and select Packages >>Install package(s)..
Select a CRAN Mirror for downloading the package (any of your choice) and then select the package(s) that is used in the R code and click OK.
Re-launch Statistica and run the R Node/ R script to completion.
Issue/Introduction
How to resolve :"Failed to execute R script . Runtime Evaluation Error ; Error in library("xyz"): there is no package called ['xyz'] while executing R node/R script in Statistica" ?