Creating a .Rprofile
2
0
Entering edit mode
@melissa-paczkowski-1916
Last seen 10.2 years ago
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
• 5.2k views
ADD COMMENT
0
Entering edit mode
@gorjanc-gregor-1198
Last seen 10.2 years ago
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
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
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
ADD COMMENT

Login before adding your answer.

Traffic: 849 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6