Category: R-project
-
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.
-
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…
-
Altering Eclipse user name
Using StatET’s code generation templates is handy, but the standard Eclipse variable for ${user} just inserts the currently logged-in user’s account name. If you want a different name to appear when ${user} is called, one method is to alter the eclipse.ini file. Specifically, add the line -Duser.name = Your full name at the end of…
-
Modifying basic plots in R
Below is a walk-through of some of the basics of customizing plots in R. These are all based on the graphics package that comes in the base installation of R. Let’s start by making a basic plot in R. In the code snippets below, green text behind a # sign is considered comments by R,…
-
Eclipse and StatET – a working environment for R
How to use Eclipse and StatET to create a handy-dandy development environment for R. Using the Eclipse environment provides a nice colored-syntax script editor, an R console, and an object browser to let you peruse the variables you’ve put into memory. If you’re a Matlab or Systat refugee, this arrangement may be the closest you…