Created
November 19, 2011 09:02
-
-
Save ramhiser/1378639 to your computer and use it in GitHub Desktop.
.Rprofile
This file contains 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
.First <- function() { | |
options( | |
repos = c(CRAN = "http://cran.fhcrc.org/"), | |
browserNLdisabled = TRUE, | |
deparse.max.lines = 2 | |
) | |
} | |
# This code is copied directly from ?savehistory | |
# It saves the history of commands from interactive sessions to my home path | |
# when R is closed. | |
.Last <- function() { | |
if (interactive()) try(savehistory("~/.Rhistory")) | |
} | |
if (interactive()) { | |
suppressMessages(require(devtools)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment