Skip to content

Instantly share code, notes, and snippets.

Created Jun 24, 2012
What would you like to do?
Personal .Rprofile of David Holstius
# Repositories
options(repos = c(
CRAN = '',
CRANExtra = ''
# Millisecond precision with POSIXt objects, strptime(), etc.
# 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()) {
# Personal shortcuts (update.list(), GM() and GSD(), etc.)
# 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