ramnathv / rMaps

Interactive Maps from R
http://rmaps.github.io
389 stars 194 forks source link

Error in as.character(tools:::httpdPort) : cannot coerce type 'closure' to vector of type 'character' #118

Open splashirina opened 7 years ago

splashirina commented 7 years ago

Great Work Ramnathv! Thank you for putting it together!

I run into this error while running your code using the sample data violent_crime: `> load("/Users/rinalin/Desktop/Click Prediction/violent_crime.rda")

ichoropleth(Crime ~ State, data = violent_crime, animate = "Year", play = TRUE) Error in as.character(tools:::httpdPort) : cannot coerce type 'closure' to vector of type 'character'`

Since I did not change anything on the sample data and my operation is very minimum, all I can suspect is Version Issue. I'm currently running R.3.32 on Mac.

Thank you in advance!

sanjmeh commented 6 years ago

@splashirina : did you get a resolution to this problem? Because I am also facing a similar issue. Your solution might help me. I am running R on an Ubuntu server.