R Studio Update!

R Studio currently has version 0.99.442 out for download. I highly recommend upgrading to the latest version since there has been a lot of new functionality added. Here’s a few snapshots of some of the new features:

There’s built-in debugging icons within R scripts to the left of the line number. For this feature to work properly your script has to be saved (e.g., test.R).

Capture1

When I hover my mouse over the error I see the message “unexpected token ‘)’ “, which is letting me know I have an extra closed parenthesis. Sweet!

Capture1b

There’s built-in auto-fill for some of the parameters you may be adding to a function. In the image below I’m starting to add ‘xlim’ to specify the x-axis limits of my plot. My full coding might be something like “xlim = c(0, 6)”. Click the image below for a bigger picture so you can read the dialog box.

Capture2

In the image below, I’m calling the function lm (for linear regression), but I have a comma without another argument. When I hover the mouse over the yellow triangle exclamation point the built-in debugging says there’s a “missing argument to function call”. This Is AWESOME!!!

Capture3

These are just a few of the new features in R Studio. Get out there and check it out!!!

Advertisements

First Post

This blog was created to try and help others starting out learning R.  As a scientist with a non-programming background, I found that R had a steep learning curve.  I also found the R help pages to be too technical for someone who is just learning how to use R and therefore were fairly useless.  This is my effort to give back to the R community that helped me become comfortable with and thoroughly enjoy R.

I have to recommend a site that I still reference from time to time on R.  Quick-R is the best website I have found for beginners using R. http://www.statmethods.net/