Sunday, October 5, 2014

The R Programming Lanuage

If you are interested in learning the R programming language, then I will share with you what I am doing to learn R.  I have chosen to use Introductory Statistics with R by Peter Dalgaard.
http://www.amazon.com/Introductory-Statistics-R-Computing/dp/0387790535/

I am enjoying the book.  The problems used in the book are from the life sciences.  The author tells you to install the ISwR package.  ISwR actually stands for "Introductory Statistics with R," so it is written for this book.  The book is not perfectly clear on how to install the package, so I'll explain that.

After following the book's instructions on how to install the R programming language, you open the R programming IDE, you look for the menu item that says "Packages > Install Packages." You are asked to pick mirror site.  I picked the one in Texas (TX), then you have a long list of packages to peruse.  Find ISwR and select it.  The only tricky part is that when it asks you if you want to install the package in a private library, you must say "yes."  If you say "no" on a Windows machine, then the installation of ISwR breaks.  Just say "yes."

Have fun learning R!

Robert