Forum Discussion

yasminjsc's avatar
yasminjsc
Regular Visitor
8 years ago
Solved

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...
  • stretcharm's avatar
    stretcharm
    8 years ago

    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")