Please keep the mailing list copied in replies. Yes, apparently the map_data function is in the ggplot2 package, not the maps package. -- Sent from my phone. Please excuse my brevity.
On August 8, 2017 11:18:35 PM PDT, "Полтораднев Максим Сергеевич" <maksim.poltorad...@uralkali.com> wrote: >Dear Jeff, I figured out what the problem was: the map-data function >does not work without loaded ggplot2 package. Thank you for help! > >Kind regards, >Poltoradnev Maxim >Head of products promotion division >PJSC "Uralkali" >Phone +7-495-730-23-71 >Cell phone +7-915-480-83-33 >www.uralkali.com >-----Original Message----- >From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] >Sent: Tuesday, August 08, 2017 6:31 PM >To: r-help@r-project.org; Полтораднев Максим Сергеевич; >r-help@r-project.org >Subject: Re: [R] map_data > >My guess is that you have either forgotten to load the package > >library(maps) > >or you have upgraded from R3.3 to R3.4, and such minor version changes >lead to using a fresh package library and you need to (re-)install the >maps package for the new version of R: > >install.packages("maps") > >so that the library function has access to it. > >Before posting again, please read the Posting Guide mentioned at the >bottom of this message, and set your email program to send plain text >email rather than HTML formatted email. That way, when you send code >examples or the output of the sessionInfo function, we will see what >you saw. >-- >Sent from my phone. Please excuse my brevity. > >On August 8, 2017 4:36:12 AM PDT, "Полтораднев Максим Сергеевич" ><maksim.poltorad...@uralkali.com> wrote: >>Hello, I have some problems with calling the map_data function in maps >>package. Not so long ago it was not a problem, but for some reasons in >>July this year it became unavailable. >> >>For instance, if I call the following code: >>m<-map_data(“world”) >>The R returns to me: >>Error: cannot find function “map_data” >> >>Kind regards, >>Poltoradnev Maxim >>Head of products promotion division >>PJSC "Uralkali" >>Phone +7-495-730-23-71 >>Cell phone +7-915-480-83-33 >>www.uralkali.com<http://www.uralkali.com/> >> >> >> >>ПАО «Уралкалий» - E-mail Дисклеймер >> >>Дисклеймер: >>Настоящее сообщение и любые прикрепленные к нему файлы (вместе >>именуемые «сообщение») предназначены исключительно для адресата. >>Настоящее сообщение может содержать конфиденциальную, частную и/или не >>подлежащую разглашению информацию. Любой несанкционированный просмотр, >>удержание, копирование, раскрытие или распространение данного >сообщения >>строго запрещены. >>В случае, если Вы не являетесь адресатом данного сообщения, >пожалуйста, >>удалите его и все его копии из Вашей системы, уничтожьте любые >бумажные >>копии и сообщите отправителю посредством ответа. Вы не должны, прямо >>или косвенно, использовать, раскрывать, распространять, печатать, >>копировать, а также предпринимать какие-либо действия, полагаясь на >>данное сообщение, если Вы не являетесь его адресатом. Любые ошибки >>передачи данного сообщения не являются основаниями для отмены или >>утраты конфиденциальности или других средств правовой защиты. >>ПАО «Уралкалий» не несет ответственности за любые убытки или ущерб, >>возникшие в результате использования данного сообщения или от >>каких-либо вирусов, которые могут содержаться в прикрепленных к >>сообщению файлах и/или каком-либо указанном в сообщении Интернет >сайте. >>ПАО «Уралкалий» не признаёт и не признает никакую претензию, >>требование, иск и/или обязательство в отношении любой сделки, договора >>или иного обязательства (в том числе, но не ограничиваясь, признанием >>задолженности или иного платежного требования), полностью или >частично, >>если такое признание прямо или косвенно выражено в данном сообщении >или >>в прикрепленных к сообщению файлах. Любое такое признание не может >быть >>использовано в качестве аргумента и/или доказательства в суде, >>арбитраже или любом другом уполномоченном органе или организации до >тех >>пор, пока не составлено в письменном виде и не подписано >уполномоченным >>лицом со стороны ПАО «Уралкалий». Любая сделка, договор или иное >>обязательство должны быть оформлены в письменной форме. Никто не >вправе >>заключать обязывающие сделки для ПАО «Уралкалий» путем обмена >>сообщениями, если такая сделка не подтверждена путем составления >>письменного документа, подписанного уполномоченным лицом со стороны >ПАО >>«Уралкалий». >> >>Любые взгляды или мнения, изложенные в данном сообщении, принадлежат >>исключительно его автору и не обязательно отражают точку зрения ПАО >>«Уралкалий», если специально не указано иное. >> >>PJSC Uralkali - E-mail Disclaimer >> >>Disclaimer: >>This message and any files attached to it (together, the “e-mail”) are >>for the sole use of the intended recipient(s). This e-mail may contain >>confidential, proprietary and/or legally privileged information. Any >>unauthorized review, retention, duplication, disclosure, or >>distribution of this e-mail is strictly prohibited. >>If you are not the intended recipient of this e-mail, please delete it >>and all copies of it from your system, destroy any hard copies of it >>and notify the sender by reply e-mail. You must not, directly or >>indirectly, use, disclose, distribute, print, copy, or take any action >>in reliance on, any part of this e-mail if you are not the intended >>recipient. No confidentiality, privilege or other legal protection is >>waived or otherwise lost by any transmission errors related to this >>e-mail. >>PJSC Uralkali does not accept liability for any loss or damage >>resulting from the use of this e-mail or from any viruses that the >>files attached and/or any website linked to this e-mail may contain. >> >>PJSC Uralkali does not and will not admit any claim, demand, lawsuit >>and/or liability in relation to any transaction, agreement or other >>obligation (including but not limited to admission of the indebtedness >>or other payment obligation), in full or in part, in case such >>admission, directly or indirectly is expressed in this e-mail or in >any >>attachment to it. Any such admission may not be used as evidence >and/or >>argument in court, arbitration or any other authority or organization, >>unless made in writing and signed by the legally authorized person on >>behalf of PJSC Uralkali. Any transaction, agreement or other >obligation >>are subject to written contract. Nobody is authorized to conclude any >>binding agreement on behalf of PJSC Uralkali by e-mail unless and >until >>such agreement is confirmed in writing and signed by the legally >>authorized person on behalf of PJSC Uralkali. >>Any views or opinions expressed in this e-mail are solely those of the >>author and do not necessarily represent those of PJSC Uralkali unless >>specifically stated. >> >> [[alternative HTML version deleted]] >> >>______________________________________________ >>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. > > >ПАО «Уралкалий» - E-mail Дисклеймер > >Дисклеймер: >Настоящее сообщение и любые прикрепленные к нему файлы (вместе >именуемые «сообщение») предназначены исключительно для адресата. >Настоящее сообщение может содержать конфиденциальную, частную и/или не >подлежащую разглашению информацию. Любой несанкционированный просмотр, >удержание, копирование, раскрытие или распространение данного сообщения >строго запрещены. >В случае, если Вы не являетесь адресатом данного сообщения, пожалуйста, >удалите его и все его копии из Вашей системы, уничтожьте любые бумажные >копии и сообщите отправителю посредством ответа. Вы не должны, прямо >или косвенно, использовать, раскрывать, распространять, печатать, >копировать, а также предпринимать какие-либо действия, полагаясь на >данное сообщение, если Вы не являетесь его адресатом. Любые ошибки >передачи данного сообщения не являются основаниями для отмены или >утраты конфиденциальности или других средств правовой защиты. >ПАО «Уралкалий» не несет ответственности за любые убытки или ущерб, >возникшие в результате использования данного сообщения или от >каких-либо вирусов, которые могут содержаться в прикрепленных к >сообщению файлах и/или каком-либо указанном в сообщении Интернет сайте. >ПАО «Уралкалий» не признаёт и не признает никакую претензию, >требование, иск и/или обязательство в отношении любой сделки, договора >или иного обязательства (в том числе, но не ограничиваясь, признанием >задолженности или иного платежного требования), полностью или частично, >если такое признание прямо или косвенно выражено в данном сообщении или >в прикрепленных к сообщению файлах. Любое такое признание не может быть >использовано в качестве аргумента и/или доказательства в суде, >арбитраже или любом другом уполномоченном органе или организации до тех >пор, пока не составлено в письменном виде и не подписано уполномоченным >лицом со стороны ПАО «Уралкалий». Любая сделка, договор или иное >обязательство должны быть оформлены в письменной форме. Никто не вправе >заключать обязывающие сделки для ПАО «Уралкалий» путем обмена >сообщениями, если такая сделка не подтверждена путем составления >письменного документа, подписанного уполномоченным лицом со стороны ПАО >«Уралкалий». > >Любые взгляды или мнения, изложенные в данном сообщении, принадлежат >исключительно его автору и не обязательно отражают точку зрения ПАО >«Уралкалий», если специально не указано иное. > >PJSC Uralkali - E-mail Disclaimer > >Disclaimer: >This message and any files attached to it (together, the “e-mail”) are >for the sole use of the intended recipient(s). This e-mail may contain >confidential, proprietary and/or legally privileged information. Any >unauthorized review, retention, duplication, disclosure, or >distribution of this e-mail is strictly prohibited. >If you are not the intended recipient of this e-mail, please delete it >and all copies of it from your system, destroy any hard copies of it >and notify the sender by reply e-mail. You must not, directly or >indirectly, use, disclose, distribute, print, copy, or take any action >in reliance on, any part of this e-mail if you are not the intended >recipient. No confidentiality, privilege or other legal protection is >waived or otherwise lost by any transmission errors related to this >e-mail. >PJSC Uralkali does not accept liability for any loss or damage >resulting from the use of this e-mail or from any viruses that the >files attached and/or any website linked to this e-mail may contain. > >PJSC Uralkali does not and will not admit any claim, demand, lawsuit >and/or liability in relation to any transaction, agreement or other >obligation (including but not limited to admission of the indebtedness >or other payment obligation), in full or in part, in case such >admission, directly or indirectly is expressed in this e-mail or in any >attachment to it. Any such admission may not be used as evidence and/or >argument in court, arbitration or any other authority or organization, >unless made in writing and signed by the legally authorized person on >behalf of PJSC Uralkali. Any transaction, agreement or other obligation >are subject to written contract. Nobody is authorized to conclude any >binding agreement on behalf of PJSC Uralkali by e-mail unless and until >such agreement is confirmed in writing and signed by the legally >authorized person on behalf of PJSC Uralkali. >Any views or opinions expressed in this e-mail are solely those of the >author and do not necessarily represent those of PJSC Uralkali unless >specifically stated. ______________________________________________ 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.