The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

Hello I get this error when I try to run the R script for the density maps. TIBCO Enterprise Runtime for R returned an error The data function '[TERR] WKB Density map' could not be executed. Error in library(MASS) : there is no package called 'MASS'.


Recommended Posts

Posted
Hello I get this error when I try to run the R script for the density maps. TIBCO Enterprise Runtime for R returned an error The data function '[TERR] WKB Density map' could not be executed. Error in library(MASS) : there is no package called 'MASS'.
Posted

Hello,

The error message that you see suggests that the TIBCO Enterprise Runtime for R (TERR)/R package called "MASS" is missing in your TERR library. You would need to install this package for the data function to work.

TERR data functions can be executed in two ways:

1. In the local TERR engine (available within the TIBCO Spotfire Analyst)

2. Using the TIBCO Spotfire Enterprise Runtime for R (TERR) Service (or TIBCO Spotfire Statistics Services)

Option 2 would be needed if you e.g. use a Spotfire web client.

So, assuming that you are using a Spotfire Analyst, with your data functions getting executed against the local TERR engine, you can install the MASS package in the following way:

1. In your TIBCO Spotfire Analyst, go to Tools >> TERR Tools.

2. In TERR Tools, click on Package management tab.

3. Select a CRAN package repository (e.g. 0-Cloud [https]) and click on ‘Load’ button.

4. In the available packages section, search for “MASS” package and click Install.

5. Repeat the process if you face the same issue for any other package.

If you are using the TERR Service, please refer to the page "Package Management for TERR Service" in the TERR Service manual:

https://docs.tibco.com/pub/terrsrv/1.12.1/doc/html/TIB_terrsrv_install/terrinstall/topics/package_management_for_terr_service.html

Best Regards

Fredrik

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...