This entry is part 4 of 11 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 ...
This entry is part 4 of 11 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 ...
This entry is part 9 of 11 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 ...
This entry is part 7 of 11 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 ...
This entry is part 10 of 11 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 ...
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 ...
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 … ...
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...
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...
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 … ...
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...