Tag Archives: package

Creating an R package

I recently put all the EcoIP application into an R package. I was surprised at how easy it was and I wanted to share my experience :) Root Path Everything that is to be packaged needs to be in a … Continue reading

Posted in R | Tagged , , , , , , , , | Leave a comment

R: How to suppress package startup messages

suppressPackageStartupMessages(library(fields)) And you can still test the result of the `library` or `require` calls: a = suppressPackageStartupMessages(require(fields)) Variable ‘a’ will be TRUE if it was successful, FALSE otherwise.

Posted in R | Tagged , , , | 2 Comments