This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I am encoutering an issue when publishing a R visual.
The package pheatmap is listed as supported
However, when publishing a script using pheatmap, it fails to render online and gives following error
Here is some minimum code that reproduce the error:
# The following code to create a dataframe and remove duplicated rows is always executed and acts as a preamble for your script:
# dataset <- data.frame(DAta)
# dataset <- unique(dataset)
# Paste or type your script code here:
mat <- matrix(c(0,1,1,0.3), nrow = 2, ncol = 2)
library(pheatmap)
pheatmap(mat)Replacing the last command with base R heatmap(mat) executes properly. So, it shows the library pheatmap loads properly, but the command fails to execute. Most probably some dependencies are missing on the backend.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.