Skip to content

Instantly share code, notes, and snippets.

@dholstius
Created June 24, 2012 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dholstius/2984811 to your computer and use it in GitHub Desktop.
Save dholstius/2984811 to your computer and use it in GitHub Desktop.
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