Skip to content

Instantly share code, notes, and snippets.

@hilaryparker
Created March 27, 2015 21:15
Show Gist options
  • Save hilaryparker/5a8b4d14622821927576 to your computer and use it in GitHub Desktop.
Save hilaryparker/5a8b4d14622821927576 to your computer and use it in GitHub Desktop.
.Rprofile w/ cat error message
# .Rprofile -- commands to execute at the beginning of each R session
#
# You can use this file to load packages, set options, etc.
#
# NOTE: changes in this file won't be reflected until after you quit
# and start a new session
#
require(ProjectTemplate)
options(show.signif.stars=FALSE, scipen=10, htmlhelp=TRUE)
options(width=115, repos="http://cran.rstudio.com",
CRAN = "http://cran.rstudio.com",
browserNLdisabled = TRUE,
deparse.max.lines = 2)
if (interactive()) {
suppressMessages(require(devtools))
}
options(error= function() cat(" \\\ \n \\\
\\`*-.
) _`-.
. : `. .
: _ ' \
; *` _. `*-._
`-.-' `-.
; ` `.
:. . \\
.\\ . : .-' .
' `+.; ; ' :
: ' | ; ;-.
; ' : :`-: _.`* ;
.*' / .*' ; .*`- +' `*'
`*-* `*-* `*-*'\n\n"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment