[R] Interactive maps

Jim Lemon drjimlemon at gmail.com
Sat Apr 25 05:47:23 CEST 2015


Hi Antonio,
If you do create the map in R, you can use locator().

Jim


On Sat, Apr 25, 2015 at 8:37 AM, Antonio Serrano via R-help
<r-help at r-project.org> wrote:
>
>  Hello, all:
>
>    I am new here, and have a challenge to present some graphical data to the user in a convenient way.
>
>    The challenge is to present a map to the user which is coloured with the value of a variable. Say for example, temperature. This is a preexisting graph that I can generate in any format, including svg. I don't have to produce it using R.
>
>    When the user clicks anywhere in the map, the coordinates (longitude and latitude) have to be passed to R so that this, R, can look for the values of other variables in that location and make another graph with them.
>
>    Does anyubody know how could I accomplish this?.
>
>    Thanks in advance.
>
>
>
> Antonio Serrano
> aasdelat at aim.com
> ن
>
>
>         [[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.



More information about the R-help mailing list