Tag Archives: R software

PMean: Getting R to shut the heck up

When you are using R Markdown to create various documents, you are often interested in displaying any informative messages that appear along the way. This is especially true for documents you plan to use yourself. But when you are preparing a report or a presentation for someone else, you may want to suppress these messages. That’s not always easy because different functions in R use different means to display messages, especially warning messages. So the option that might suppress a warning message from one function might not work for another function. Warnings when loading packages are notoriously difficult to suppress. I want to list, for my own benefit, all of the options that are available for getting R to shut the heck up. Continue reading

Recommended: r2d3: R Interface to D3 Visualizations

There’s an interesting visualization system called d3, that I only became aware of a few months ago. It uses a fairly minimal system, javascript and support vector graphics, but is capable of producing tremendously rich graphics. I’ve tried, when I have a few spare moments, to learn d3. It’s not that complicated, but I am hindered by a lack of knowledge about javascript. It’s also difficult to debug a d3 program. There’s a new library in R that should make things a bit easier for someone like me. It’s called r2d3 and is being promoted with the new preview release of RStudio. Continue reading