[BioC] Creating a .Rprofile

Gregor Gorjanc gregor.gorjanc at bfro.uni-lj.si
Sun Oct 29 11:58:57 CET 2006


Melissa Paczkowski <mpaczkow at ...> writes:
> We were instructed to create a .Rprofile in the home directory, can someone 
> please provide us with detailed instructions on how to create the .Rprofile??  
> Thanks.

I wonder why you were instructed to create .Rprofile if you do not know what
.Rprofile is ... and this is probably more appropriate question for R-help list
... anyway ...

.Rprofile is a file in your home (~/ under UNIX like OS or some equivalent under
Windows). Then you just put R code into that file. Say, options() is one of the
candidates for this, then perhaps also 

local({
  old <- getOption("defaultPackages")
  options(defaultPackages=c(old, "packageThatIAlwaysUse"))
})

etc.

Read also http://cran.r-project.org/doc/manuals/R-intro.html.

Gregor



More information about the Bioconductor mailing list