The Average Investor's Blog

A software developer view on the markets

Configuring R via .Rprofile

Posted by The Average Investor on Oct 2, 2011

For a while I have been looking for a way to load stuff automatically in R on each start (quantmod package, some options, etc). I had given up on solving it in a straightforward way, so I was delighted to find this post on R-bloggers!

Currently my .Rprofile is a two-liner:

library( quantmod )
options( width=120 )
Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

 
%d bloggers like this: