How to write CSV in R with examples of how to save to a CSV as well as additional information on write.csv options in R. A simple, easy explanation.
R for Journalists
Tools for using and learning R, mostly for computational and data journalists, but everyone's welcome!
Curated by M. Edward (Ed) Borasky
by Sean Lopp
Here is this month’s collection of RStudio Tips and Tricks. Thank you to those who responded to last month’s post; many of your tips are included below! Be sure to subscribe to @rstudiotips on Twitter for more.
This month’s tips fall into two categories: Keyboard Shortcuts and Easier R Markdown
Using R to add data to maps has been pretty straightforward for a few years now. That said, it seems easier than ever to do things like use map APIs (e.g. Google, Open Street Map), overlay quite complex data visualisations (e.g. "heatmap-style" densities) and even generate animations. A couple of key R packages in this…