Forum Discussion
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_DecklerCommunity Champion
Anonymous - Are you creating an R visual or an actual .pbiviz file?
- AnonymousNot 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!
- AnonymousNot applicable
Anonymous
Something you can take a look:
How to generate custom visuals in Power BI using R
Tutorial: Developing a Power BI visual
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot 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.