Forum Discussion

ankitpatira's avatar
ankitpatira
Community Champion
10 years ago

Problems with publish to web

Hi, I've noticed Publish to Web feature is working fine when I have normal report with cusom visuals. However when I have R script visual report, Publish to Web is not generating any code.This behaviour has bee seen with using "oz" package in R. Using ggplot2 works fine.

12 Replies

  • Hi l have been playing with R-visuals yesterday and had a report which l published to PowerBi.com.  As an experiment l tried the publish to web facility, with the report including an R-visual.  It seems to have worked for me.  Have you tried publishing it again?

    The PowerBI service seems to be work in progress some of the services not working quite as l would expect.  So sometimes things have worked if l try them again.

  • Anonymous's avatar
    Anonymous
    Not applicable

    I also tried to Publish to Web a report with an R visual (a Decision Tree using the "party" library), and "Creating a code" stays forever. Maybe it depends on the library used.

    • BobF's avatar
      BobF
      Helper I

      Yes l was able to reproduce the issue that ankitpatira had.  So l agree it could depend on the library, although to be fair its still in beta.

  • you wrote that you were able to publish to web while doing an R visualization with ggplot2. I am unable to do so .. can you help?

     

    I inserted an R visual  then did :

    library(ggplot2)

    ggplot(dataset, aes(a)) + geom_histogram(binwidth=20)

    • BobF's avatar
      BobF
      Helper I

       

      Hi siddhupiddu this morning l have deployed to PowerBi.com a report when go to the R visual l get an error message (see below).  The visual does render correctly in the PowerBI desktop file, it also uses the ggplot2 library :smileysad:

       

      • compkos's avatar
        compkos
        Frequent Visitor

        Hello

        Same problem here with ggplot2 and power bi web

        On Power BI Desktop everything works fine

  • Maxx's avatar
    Maxx
    Regular Visitor

    I get the same issue.  All R visuals working fine in the desktop.

     

    None working in Web or published pages

    • kyr's avatar
      kyr
      Frequent Visitor

      All R visuals are working fine in the desktop.Publish to web is not supporting R visuals in power bi pro.

      • kyr's avatar
        kyr
        Frequent Visitor

        Any update on this issue?

        Thanks.

         

         

  • Maxx's avatar
    Maxx
    Regular Visitor

    Same problem

     

    All R visuals work fine in desktop,, None is Web