[R] Is there a join() function in R ? OR: simulating "Combining ggplot2 and Google Maps" by David Kahle

Michael Bedward michael.bedward at gmail.com
Thu Dec 16 12:40:01 CET 2010

Hi Christiaan,

That looks like the join function in the plyr package.


On 16 December 2010 22:06, christiaan pauw <cjpauw at gmail.com> wrote:
> Hi everybody
> Im on R version 2.11.1  on Mac OS X
> I am working through David Kahle's example of using ggplot2 with Rgooglemaps
> (found here:
> https://github.com/hadley/ggplot2/wiki/Crime-in-Downtown-Houston,-Texas-:-Combining-ggplot2-and-Google-Maps).
> Excellent page by the way. I have downloaded the data and the code and want
> to learn how to do this by first simulating David's results and then working
> it through line by line to make sure I understand what every line of code
> does and then applying it to my own data. When I run the code however, it
> breaks on the following line:
> df <- suppressMessages(join(df_xyll, m_map, type = 'right'))
> I do not seem to have the join() function. This looks almost SQLish. I have
> tried ??join and looking on CRAN and a google search but I cannot find this
> function. Is there a special library that one has to install for this to
> work? Can anyone help please.
> Best regards
> Christiaan
>        [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> 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