Using knitr and R to make instructor/student handout versions
I teach some of my lab sections using R, and so I need to create lab handouts that include nicely formatted R commands and R output as an example for the students. These handouts will also include exercises where the students will be writing their own R code, or interpreting the results, or generating figures. […]
NOAA OISST v2 High Resolution daily sea surface temperatures with R
Update, 2015-11-30 It appears that NOAA has gone through and upgraded all of the OISST files to the newer version of the NetCDF file format. As a result, the functions outlined in this post don’t work any longer. Instead, see the updated functions in my newer post, https://lukemiller.org/index.php/2014/11/extracting-noaa-sea-surface-temperatures-with-ncdf4/. The concepts are the same as described […]
Accessing NOAA tide data with R
Here’s some R code that can be used to download archived tide height data from NOAA’s CO-OPS OPeNDAP server. The code makes use of RCurl to send a URL query to the server, and then splits apart the resulting data into a data frame.
A lightweight object browser for R
Get access to a simple object browser in R so that you can see what variables, data frames, model objects and other junk you have in memory currently. If you don’t want to install a full-fledged integrated development environment, this option may be for you.
Book Review: Mixed Effects Models and Extensions in Ecology with R
A brief review of Zuur et al.’s book “Mixed Effects Models and Extensions in Ecology with R”.
Book Review: A Beginner’s Guide to R
A review of Zuur et al.’s “A Beginner’s Guide to R”. This book quickly and efficiently introduces you to the peculiarities of the R programming language so that you can soon move on to what you actually want to use R for.
Book Review: R in a Nutshell
A brief review of R in a Nutshell by Joseph Adler. This book continues to serve as a useful reference that sits on my desk next to my computer, waiting to tell me the name of that command I’ve just forgotten.
R 2.12.0 and Eclipse with StatET installation
A while back I outlined the setup process for running R under the Eclipse integrated development environment with the help of WalWare.de’s StatET plugin for Eclipse, in Windows 7. This post is an update on that procedure for the newer versions of each of the programs now available. Specifically, this information pertains to an installation […]
Sorting out Sweave in Eclipse/StatET
Using Sweave to produce pretty-looking documentation for R is awfully handy. It takes a little tweaking to get set up in Eclipse and StatET though. I followed the information in Jeromy Anglim’s webpage to originally get Sweave set up. The following is my experience getting it working with Eclipse 3.5, StatET 0.9.1.b201011060900E35sw, Sweave Add-on for […]