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.
Melissa and Alex
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
Melissa Paczkowski wrote:
> 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??
>
Open a text editor. Type whatever you need in .Rprofile. Save a TEXT
file with the name '.Rprofile' in your home directory. That is all
there is to it.
Sean