Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
yasminjsc
Regular Visitor

Script R

I have installed the Script R, but when i try to execute a visual (funnel plot) with Script R, it not works. There is a message saying that "The package 'XML' was not installed". What can I do to fix it?

Thank you

1 ACCEPTED SOLUTION

Powerbi normally ask to install pacakges needed. If this doesn't work you can install then in R first.

 

Open R or R Studio and either use the install packages menu (or in r studio the pacakges panel or enter

 

install.packages("XML")

It will prompt for a server to get the package from.

 

This loads the library and will error if the package has not been installed.

library("XML")

 

View solution in original post

2 REPLIES 2
ask4atish
Advocate III
Advocate III

Hi @yasminjsc,

 

Please have a look at the below mentioned URL. I think this is what you are looking for.

 

http://community.powerbi.com/t5/Integrations-with-Files-and/cannot-use-custom-visual-with-R/td-p/220...

 

Regards,

Atish

Powerbi normally ask to install pacakges needed. If this doesn't work you can install then in R first.

 

Open R or R Studio and either use the install packages menu (or in r studio the pacakges panel or enter

 

install.packages("XML")

It will prompt for a server to get the package from.

 

This loads the library and will error if the package has not been installed.

library("XML")

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors