[R] R for mac, default load package.

Steve Lianoglou mailinglist.honeypot at gmail.com
Fri Feb 11 23:49:41 CET 2011


Hi,

On Fri, Feb 11, 2011 at 3:21 PM, Jaeik Cho <chojaeik at gmail.com> wrote:
> Dear R users,
>
>
> I'm looking for solution about how can I add a package to default load package list.
>
> Because, some packages, every time I use the package for analysis. I don't want type "load(package)" every time.
>
> On the R instruction, I should change .Rprofile file, but I couldn't find R for Mac.
>
> How can I add default load package?

The file to add your `library(whatever)` line to is ~/.Rprofile

"~" is shorthand for your home directory, which is
"/Users/YOUR_SHORT_LOGIN_NAME" on OS X.

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact



More information about the R-help mailing list