If you READ the Posting Guide mentioned at the bottom of each post you would know that there is a more appropriate mailing list for questions about maps and R where experts in that topic hang out.
On November 22, 2019 3:54:33 AM GMT+01:00, Medic <mailipadp...@gmail.com> wrote: >Creating map in R. I have all the files (with different extensions) >for the country I need. The problem is that I don’t know how to use >them in R. I began according to information on the Internet, and >immediately ran into difficulties (see below): > >`library("tmaptools") >geo <- read_shape("Rom.shp", as.sf = TRUE) >This function is deprecated and has been migrated to >github.com/mtennekes/oldtmaptools` > >I turned to a similar function, but get an UNCLEAR message > >`library(raster) >geo <- shapefile ("Rus.shp") >Error in .local(x, ...) : file.exists(extension(x, ".shx")) is not >TRUE` > >______________________________________________ >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. -- Sent from my phone. Please excuse my brevity. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.