Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
When I run the custom visual in PBI I get this error from internalsavewidget:
Error in system.file(config, package = package) :
'package' must be of length 1
Calls: internalSaveWidget ... getDependency -> <Anonymous> -> inherits -> system.file
Execution halted"
The code is working fine and producing the expected output when I have tested it in R so I do not understand where it comes from. The plot is created from this line:
p<- ggplotly(p) %>%
layout(annotations = list(x = 1.5*y.o, y = round(ylims,1), text = paste0("p-value: ",pvalue), showarrow = F))
internalSaveWidget(p,"out.html")
I can only wonder if the "%>%" is messing some things up?
Thanks in advance.
Edited to add full errror message
Solved! Go to Solution.
Have you also included the dplyr library?
libraryRequireInstall("dplyr");
Do you have any updates on the case,
Have you also included the dplyr library?
libraryRequireInstall("dplyr");
Perfect, now it works - thanks so much!
We would recommend you should send this issue to pbircvsupport@microsoft.com.
This email alias is maintained by experienced R developer.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 |