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.Poltoradnev at 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:jdnewmil at dcn.davis.ca.us]
>Sent: Tuesday, August 08, 2017 6:31 PM
>To: r-help at r-project.org; ??????????? ?????? ?????????;
>r-help at 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.Poltoradnev at 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 at 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.