I have successfully installed the plotly library for R.
To get started, I followed their Getting Started for R guide and directly copied the code from several plots
You currently need an internet connection to view the scattergeo trace type -- https://github.com/ropensci/plotly/issues/356