Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maps Do Not Display (R 3.1.1, RStudio 0.98.1074) #83

Open
LogicallySkewed opened this issue Oct 27, 2014 · 12 comments
Open

Maps Do Not Display (R 3.1.1, RStudio 0.98.1074) #83

LogicallySkewed opened this issue Oct 27, 2014 · 12 comments

Comments

@LogicallySkewed
Copy link

I have some data I have been trying to create some maps for and have been exploring CrossLet and DataMaps in the rMaps package. Unfortunately I can’t seem to get any of them to work. The same goes for the rMaps examples (see https://github.com/ramnathv/rMaps). I’ve tried searching the Internet for solutions and the rMaps issues pages but have not had any luck finding a solution. When I run my data and the examples I get blank maps. Here is the information about my computer and software versions:

• R version 3.1.1
• RStudio version 0.98.1074
• Windows 7 Enterprise w/Service Pack 1
• System Type: 64-bit
• RAM: 4.00 GB
• Processor: Intel Core i5-2400 CPU @ 3.10GHz

What should I try in order to fix this?

Thank you in advance.

@ramnathv
Copy link
Owner

I am aware that there is an issue with crosslet, but other functions should work. Can you post your sessionInfo() and the exact code you tried that did not work?

@LogicallySkewed
Copy link
Author

Here is my sessionInfo():

sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] rMaps_0.1.1 RColorBrewer_1.0-5 RODBC_1.3-10

loaded via a namespace (and not attached):
[1] grid_3.1.1 lattice_0.20-29 plyr_1.8.1 rCharts_0.4.2 Rcpp_0.11.3 RJSONIO_1.3-0 tools_3.1.1 whisker_0.3-2 yaml_2.1.13

I tried this CrossLet example:
library(rMaps)
crosslet(
x = "country",
y = c("web_index", "universal_access", "impact_empowerment", "freedom_openness"),
data = web_index
)

and this DataMaps example:
ichoropleth(Crime ~ State, data = violent_crime, animate = "Year")

@LogicallySkewed
Copy link
Author

UPDATE:
I managed to get the ichoropleth to work. For some reason the State variable was of type Integer instead of Character. I still have not had any luck with crosslet. Do you have an update on the issue with crosslet?

@andygarcia
Copy link

I'm seeing the same issue - only with crosslet.

Attempted to run the sample code:

crosslet(
  x = "country", 
  y = c("web_index", "universal_access", "impact_empowerment", "freedom_openness"),
  data = web_index
)

My session info:

R version 3.1.1 (2014-07-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] rMaps_0.1.1    shiny_0.10.2.1

loaded via a namespace (and not attached):
 [1] digest_0.6.4       grid_3.1.1         htmltools_0.2.6    httpuv_1.3.2       lattice_0.20-29   
 [6] mime_0.2           plyr_1.8.1         R6_2.0.1           rCharts_0.4.2      RColorBrewer_1.0-5
[11] Rcpp_0.11.3        rjson_0.2.15       RJSONIO_1.3-0      tools_3.1.1        whisker_0.3-2     
[16] xtable_1.7-4       yaml_2.1.13       

@arturochian
Copy link

I have the same issue with crosslet

R version 3.1.1 (2014-07-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Spanish_Peru.1252 LC_CTYPE=Spanish_Peru.1252 LC_MONETARY=Spanish_Peru.1252
[4] LC_NUMERIC=C LC_TIME=Spanish_Peru.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] rMaps_0.1.1 sparkline_1.0 htmlwidgets_0.2.3 devtools_1.5

loaded via a namespace (and not attached):
[1] digest_0.6.4 evaluate_0.5.5 formatR_1.0 grid_3.1.1 htmltools_0.2.7
[6] httr_0.5 knitr_1.6.22 lattice_0.20-29 memoise_0.2.1 parallel_3.1.1
[11] plyr_1.8.1 rCharts_0.4.2 RColorBrewer_1.0-5 Rcpp_0.11.2 RCurl_1.95-4.3
[16] rjson_0.2.14 RJSONIO_1.3-0 rmarkdown_0.3.9 stringr_0.6.2 tools_3.1.1
[21] whisker_0.3-2 yaml_2.1.13

@hubte1g
Copy link

hubte1g commented Dec 30, 2014

I am also experiencing this issue:

R version 3.1.1 (2014-07-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base     

other attached packages:
[1] rMaps_0.1.1     networkD3_0.1.1 leaflet_1.0     httr_0.3       
[5] devtools_1.5    RCurl_1.95-4.1  bitops_1.0-6

@cantgetthatping
Copy link

No originality for me, here is my session info():
R version 3.1.2 (2014-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base

other attached packages:
[1] rMaps_0.1.1

loaded via a namespace (and not attached):
[1] grid_3.1.2 lattice_0.20-29
[3] plyr_1.8.1 rCharts_0.4.2
[5] RColorBrewer_1.1-2 Rcpp_0.11.3
[7] rjson_0.2.15 RJSONIO_1.3-0
[9] tools_3.1.2 whisker_0.3-2
[11] yaml_2.1.13

and here is the display problem
screen shot 2015-01-18 at 11 36 39 am

@tonipleite
Copy link

Hi,

@cantgetthatping I tried using this about a month ago and I had the same problem, Is the issue caused by one of the JS files?

By the way @ramnathv, congrats, it's an amazing tool.

@bryanvictor
Copy link

@ramnathv this tool is simply incredible. Any updates on the resolution? I am experiencing the same issues...

@yuuniverse4444
Copy link

Got similar problem.

@malouche
Copy link

It looks like is the problem of everyone... did someone has solved it?

@bobokdalibor
Copy link

Hi, is there any chance that the crosslet function will be working again? I like the functionality of it, didn't found any alternative to simply filter the tiles based on attributes. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests