Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

How come any computer can open a Plotly based .pbiviz plot? Even if it doesn't have R installed

Hi all,

 

I'm learning how to create custom plots (.pbiviz) based on R Plotly.

 

I created my first plot, which worked in my computer. I sent it to a coworker, who couldn't open it. He didn't have the most recent versions of some of the libraries I used, according to the error he got.

 

My company has some templates which include custom plots (.pbiviz) based on R Plotly that seem to work in any computer, even if it doesn't have R installed. We send these .pbi files to our costumers and they never give them any trouble. I even tried one in a personal computer I have, which doesn't have R, and they work just fine.

 

I'm clearly missing something. How is this possible?

 

Thanks!

5 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Anonymous - Are you creating an R visual or an actual .pbiviz file?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Greg,

       

      An actual .pbiz file—i.e. using pbiviz package in PowerShell.

       

      That part seems to be right, my plot works in my computer.

       

      What defies the logic is how some other .pbiviz based on Plotly work in any computer but mine doesn't.

       

      Thanks!

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Greg,

       

      I did some research and it looks like it is possible to create Plotly graphs without R, using Java. I think these graphs can be run in any computer, even if it doesn't have R.

       

      I'm not sure if I understood correctly.

       

      Does it ring any bells to you?

       

      I appreciate all your help.