Skip to content

Instantly share code, notes, and snippets.

@dholstius
Created Jun 24, 2012
Embed
What would you like to do?
Personal .Rprofile of David Holstius
# Repositories
options(repos = c(
CRAN = 'http://cran.cnr.Berkeley.edu',
CRANExtra = 'http://www.stats.ox.ac.uk/pub/RWin/'
)
)
# Millisecond precision with POSIXt objects, strptime(), etc.
options(digits.secs=3)
# Default timezone
if (Sys.timezone() == '')
Sys.setenv(TZ = "America/Los_Angeles")
# Functions from frequently used packages
autoload("ggplot", "ggplot2")
autoload("qplot", "ggplot2")
autoload("zoo", "zoo")
if (interactive()) {
require(devtools)
}
# Personal shortcuts (update.list(), GM() and GSD(), etc.)
require(holstius)
# texi2dvi on OS X
Sys.setenv(PATH=paste(Sys.getenv("PATH"), "/usr/texbin", sep=":"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment