I was trying to replicate the code that’s in https://plot.ly/r/lines-on-maps/. Unfortunately I am running into a wall. I get the following error message:
Error in eval(expr, envir, enclos) : could not find function “plot_geo”
I have installed and called the packages plotly and dplyr. Below is my sessionInfo output. I am running R on windows 10. I am very much grateful for you sharing your knowledge.
Thank you so much.
R version 3.1.2 (2014-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
 LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
 LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
 stats graphics grDevices utils datasets methods base
other attached packages:
 dplyr_0.4.3 plotly_3.4.13 ggplot2_2.1.0
loaded via a namespace (and not attached):
 assertthat_0.1 base64enc_0.1-3 colorspace_1.2-6 DBI_0.3.1 digest_0.6.9 grid_3.1.2 gridExtra_2.0.0
 gtable_0.1.2 htmltools_0.3 htmlwidgets_0.5 httr_1.1.0 jsonlite_0.9.19 magrittr_1.5 munsell_0.4.3
 parallel_3.1.2 plyr_1.8.3 R6_2.1.2 Rcpp_0.12.3 scales_0.3.0 tidyr_0.4.1 tools_3.1.2