Posts Tagged ‘ Tips ’

Adding watermarks to plots

May 22, 2012
By
Adding watermarks to plots

A question was raised today on the mailing list: Is there an easy way to add a watermark to a ggplot?There are several options, depending on the type of watermark and the required level of control over the output,add a text label using annotate (th...

Read more »

Slides: “Accessing Databases from R” #rstats

May 7, 2011
By
Slides: “Accessing Databases from R” #rstats

For the past few meetings of the Greater Boston useR Group, we have been opened with an introductory “useR Vignette” talk on a topic which may be helpful for new R users. This week, I presented an overview of accessing databases from R. Several people have tweeted and blogged nice things about my talk and

Read more »

4 lines of R to get you started using the Rook web server interface

April 25, 2011
By
4 lines of R to get you started using the Rook web server interface

Jeffrey Horner's new Rook package provides a new interface for developing R-based web applications. Rook allows the same application to run in R's built-in web server or (soon) in the rApache module. This post shows how easy it is to use the package's Rhttpd class to get started with Rook.

Read more »

Abusing Amazon’s Elastic MapReduce Hadoop service… easily, from R

January 10, 2011
By
Abusing Amazon’s Elastic MapReduce Hadoop service… easily, from R

JD Long's experimental segue package makes it easy to use Amazon's Elastic MapReduce service to fire up a Hadoop cluster and use it for non-Big Data, computationally-intensive tasks. The package provides a cluster-aware version of lapply() which "just works".

Read more »

how to install 64-bit rggobi on Mac OS X 10.5

November 30, 2010
By
how to install 64-bit rggobi on Mac OS X 10.5

rggobi is the first package which didn't survive my transition from 32-bit to 64-bit in R 2.11.1. Fortunately, installing the package from source fixes it, and Hadley Wickham has posted the prerequisites and procedure.

Read more »

vecLib: Why Mac users are better off with Open Source R

October 21, 2010
By
vecLib: Why Mac users are better off with Open Source R

Thanks to its use of Apple's vecLib for BLAS, LAPACK and related functions, the open source distribution of R performs many matrix calculations 2-10X faster than Revolution Analytics Community edition on Mac OS X systems.

Read more »

Managing a statistical analysis project – guidelines and best practices

September 30, 2010
By

In the past two years, a growing community of R users (and statisticians in general) have been participating in two major Question-and-Answer websites: The R tag page on Stackoverflow, and Stat over flow (which will soon move to a new domain, no worries, I’ll write about it once it happens) In that time, several long (and fascinating) discussion threads where started,...

Read more »

Tips for the R beginner (a 5 page overview)

August 23, 2010
By

In this post I publish a PDF document titled “A collection of tips for R in Finance”. It is a basic 5 page introduction to R in finances by Arnaud Amsellem (linked in profile). The article offers tips related to the following points: Code Editor Organizing R code Update packages Getting external data into R Communicating with external applications...

Read more »

rgdal and other GIS-related packages for Mac OS X

January 23, 2010
By
rgdal and other GIS-related packages for Mac OS X

CRAN contains ready-made binary packages for nearly all of its packages, but rgdal is one which I keep finding myself trying to install from source whenever I upgrade R. Compiled versions of rgdal, along with prerequisites and complements like the GDAL framework, GRASS, and even the old FFTW3 can be found at KyngChaos’s Wiki: http://www.kyngchaos.com/software/frameworks

Read more »

Getting tables from R output

February 11, 2006
By
Getting tables from R output

Turning plain-text output into well-formatted tables can be a repetitive task, especially when many tests or models are being incorporated into a paper. For R users, there are several methods that can make this task easier (though not much less repetitive), regardless of what typesetting system you use. LaTeX tables The xtable package produces LaTeX-formatted

Read more »