ankitpatira
9 years agoCommunity Champion
Map with connecting lines
Description This visual uses Maps package and Geosphere package to draw a map of Australia and dots on that map finally connecting them with lines. Using sample migration statistics data from differ...
paul_turley
9 years agoAdvocate IV
To get this R visual script to work, users will need to add the following commands before the two libray function calls:
install.packages("maps")
install.packages("geosphere")
- JoseMiguelPR9 years agoRegular Visitor
Hi Ankitpatira,
thanks for the visual. Really great one.
Hi Paul,
Can we install these packages before even having R installed? and sorry for the question but... how do we install packages?
thanks for your help
/Jose Miguel
- boefraty9 years agoMicrosoft Employee
Hi JoseMiguelPR,
You need R engine installed to run R in Power BI. You can use any R IDE (like RStudio) to install packages
See more here:
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-r-scripts/