Automatically Loading Functions and Packages

I was considering how I might incorporate my own functions into R* so that I could use them without needing to re-run the code every time I opened the program…. and then I happened onto this:

Figured I’d share it.


This entry was posted in Uncategorized and tagged . Bookmark the permalink.

2 Responses to Automatically Loading Functions and Packages

  1. Scott says:

    PS: It only gives instructions for a Mac OS…. sorry PC users

  2. jebyrnes says:

    Yup, you’re talking about the wonderful .Rprofile file. Mine is pretty long, I admit. But, so it goes. At the very least, I always load the MASS, car, and plyr libraries. Here’s a quick howto for PC users.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s