Marco Cruz Posted September 3, 2021 Share Posted September 3, 2021 Hi guys I have added this dynamic unpivot script in spotfire analyst desktopto automate column unpivoting, I have ticked the 'refresh function automatically' (so data function runs as soon as I open it)and thisruns smoothly in Spotfire Analyst Desktop but when I open the dashboard in the spotfire web player I am getting this message: "TIBCO Enterprise Runtime for R returned an error The data function '[Preparation] Dynamic Unpivot' could not be executed. Error in library(pkg, character.only = TRUE) : there is no package called 'reshape2'" It is saying that there is no package called reshape2, but I do have it installed in my spotfire analyst desktop. Can you please help me with this I have attached the image to show what I have currently installed on my spotfire analyst desktop version. Thanks! Marco Link to comment Share on other sites More sharing options...
Fabian Duerr Posted September 3, 2021 Share Posted September 3, 2021 Your client can have different packages installed than the spotfire server. And the webplayer runs on the server. Talk to your admin toinstall this package. Or you can try pivot_longer() from the tidyr package (check out tidyverse). Maybe this package is installed Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now