Blog Archives

Using R — Package Installation Problems

February 12, 2013
By

This entry is part 3 of 12 in the series Using RThe post titled Installing Packages described the basics of package installation with R.  The process is wonderfully simple when everything goes well.  But it can be maddening when it …   read more ...

Read more »

Using R — Packaging a C library in 15 minutes

November 16, 2012
By

This entry is part 14 of 12 in the series Using RYes, this post condenses 50+ hours of learning into a 15 minute tutorial.  Read ‘em and weep.  (That is, you read while I weep.) OK.  For the last week …   read more ...

Read more »

Using R — Callling C code with Rcpp

November 12, 2012
By

This entry is part 12 of 12 in the series Using RIn two previous posts we described how R can call C code with .C() and the more complex yet more robust option of calling C code with .Call().  Here …   read more ...

Read more »

Using R — .Call(“hello”)

November 9, 2012
By

This entry is part 10 of 12 in the series Using RIn an introductory post on R APIs to C code, Calling C Code ‘Hello World!’, we explored the .C() function with some ‘Hello World!’ baby steps.  In this post …   read more ...

Read more »

Using R — Calling C Code ‘Hello World!’

November 6, 2012
By

This entry is part 6 of 11 in the series Using ROne of the reasons that R has so much functionality is that people have incorporated a lot of academic code written in C, C++, Fortran and Java into various …   read more ...

Read more »

Using R — A Script Introduction to R

October 17, 2012
By

To many people, R is like the Everglades. They’ve heard of it, they know it’s big and has amazing treasures deep inside. Articles in the media can make it look irresistible. But after a personal or even second hand experience …  &#16...

Read more »

Using R — Easier Error Handling with try()

December 7, 2011
By

In a previous post we looked at error handling in R with the tryCatch() function and how this could be used to write Java style try-catch-finally blocks. This time we’ll look at what can be done with the try() function …   read mo...

Read more »

Using R — Basic error Handing with tryCatch()

December 6, 2011
By

The R language definition section on Exception Handling describes a very few basics about exceptions in R but is of little use to anyone trying to write robust code that can recover gracefully in the face of errors. In fact, …   read mo...

Read more »

Using R — Standalone Scripts & Error Messages

December 5, 2011
By

Open-source R is an amazing tool for statistical analysis and data visualization. Serious R gurus have found ways to do just about anything entirely within the R environment. Nevertheless, there are many of us who wish to plug R into …  ...

Read more »

Learning R — Installing Packages

May 12, 2011
By

One of the reasons to use R for analysis and visualization is the rich ecosystem of ‘packages’ contributed by others. In most cases, just as with smartphones, “There’s a package for that.” If you want to be efficient you n...

Read more »