Skip to content

Commit e667baa

Browse files
committed
hopefully fix dplyr warning message
1 parent 199fd5f commit e667baa

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

_posts/2017-07-21-r-maps-with-census-data.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,18 @@ If you have the `maps` and `ggplot2` packages, you already have the data you nee
139139

140140
{% highlight r %}
141141
library(ggplot2)
142+
{% endhighlight %}
143+
144+
145+
146+
{% highlight text %}
147+
## Want to understand how all the pieces fit together? Buy the
148+
## ggplot2 book: http://ggplot2.org/book/
149+
{% endhighlight %}
150+
151+
152+
153+
{% highlight r %}
142154
sc_map <- map_data("county",region="south.carolina")
143155
ggplot() + geom_polygon(aes(x=long,y=lat,group=group),data=sc_map,colour="white",fill="black") + theme_minimal()
144156
{% endhighlight %}
@@ -152,18 +164,6 @@ Now we have the demographic data and the map, but merging the two will take a li
152164

153165
{% highlight r %}
154166
library(dplyr)
155-
{% endhighlight %}
156-
157-
158-
159-
{% highlight text %}
160-
## Warning: Installed Rcpp (0.12.12) different from Rcpp used to build dplyr (0.12.11).
161-
## Please reinstall dplyr to avoid random crashes or undefined behavior.
162-
{% endhighlight %}
163-
164-
165-
166-
{% highlight r %}
167167
library(stringr)
168168

169169
merged <- as.data.frame(home_median_price@estimate) %>%

0 commit comments

Comments
 (0)