## Emacs please make this -*- R -*- ## empty Rprofile.site for R on Debian ## ## Copyright (C) 2008 Dirk Eddelbuettel and GPL'ed ## ## see help(Startup) for documentation on ~/.Rprofile and Rprofile.site # # NOTE: managed by ansible # local({r <- getOption("repos") r["CRAN"] <- "{{ r_cran_mirror_site }}" options(repos=r) }) {% if ansible_distribution_version is version_compare('14.04', '==') %} # Explicitly set the R encoding using the system one, if it exists if (file.exists("/etc/default/locale")) { readRenviron("/etc/default/locale") LANG <- Sys.getenv("LANG") if(nchar(LANG)) Sys.setlocale("LC_ALL", LANG) } {% endif %}