[R] Interactive maps

Antonio Serrano aasdelat at aim.com
Sat Apr 25 08:19:17 CEST 2015


Thank you, Jim.

I didn't know the existence of the locator() function. But I can see now that I don't know how to read a graphic image into R to work with it.
How can I read a pre-exisiting image into R?.

Thanks again

 

 

Antonio Serrano
aasdelat en aim.com
ن

 

 

-----Original Message-----
From: Jim Lemon <drjimlemon en gmail.com>
To: Antonio Serrano <aasdelat en aim.com>
Cc: r-help mailing list <r-help en r-project.org>
Sent: Sat, Apr 25, 2015 5:47 am
Subject: Re: [R] Interactive maps


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 en 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 en aim.com
> ن
>
>
>
[[alternative HTML version deleted]]
>
>
______________________________________________
> R-help en 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.



	[[alternative HTML version deleted]]



More information about the R-help mailing list