[BlindRUG] Some Questions

Voica Gavrilut voica.gavrilut at gmail.com
Fri Jun 12 07:36:25 UTC 2015


Hello,

>    1. Auto Load
>    I want BrailleR package to be loaded automatically when starting R.
> How can I do?
For example I use the config file that already exists in the R
installation - the R_HOME/etc/Rprofile. in this file I added a
function to change my working directory and to load some of my useful
scripts:
.First <- function() {
setwd("my_path")
source("my_script1.r")
#library("BrailleR")
}
Take care to the dot before the function name and the first letter
capitalized, are part of the R config requirements.

Good luck
-- 
G.Voica




More information about the BlindRUG mailing list