Created
April 28, 2015 15:54
-
-
Save kbroman/79130e7a2ee728ab098c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Stuff from Karl's ~/.Rprofile file | |
## hate those stars and scientific notation | |
options(show.signif.stars=FALSE, scipen=10) | |
## rstudio as my cran mirror | |
options(repos="http://cran.rstudio.com", | |
CRAN = "http://cran.rstudio.com", | |
browserNLdisabled = TRUE, | |
deparse.max.lines = 2) | |
## I always want to load magrittr | |
library(magrittr) | |
## if interactive, I want to load devtools | |
if (interactive()) { | |
suppressMessages(require(devtools)) | |
} | |
## This makes it so a small cat reports your error message | |
options(error= function() cat(' \\\ \n \\\ | |
/\\_/\\ | |
( o.o ) | |
> ^ <\n\n')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment