0

Similar to this post, I have the following problem.

states <- map_data("state")

Error in .C(C_map_type, as.character(mapbase), integer(1)) : Incorrect number of arguments (2), expecting 0 for ''

I have the latest maps library installed too. I'm using RStudio version 1.1.383 with R 3.4.3 on Windows 10. I have gotten this command to run previously, and in the same code it is not running.

Any insight would be appreciated.

PKumar
  • 10,971
  • 6
  • 37
  • 52
NSchleif
  • 1
  • 2
  • Its working fine for me, my suggestion is to reinstall "maps", check if that works or run a `conflicts()` first and see if "maps" is in conflict with any other package or you may try `ggplot2::map_data("state")` – PKumar Dec 09 '17 at 05:10
  • I have tried re-installing 'maps' as well as the alternative command you've suggested, and neither work. conflicts() does not present any relevant info for this issue – NSchleif Dec 14 '17 at 20:58

0 Answers0