Tag Archives: R software

Recommended: Convert PowerPoint Slides to xaringan (remark.js) Slides

I have been constructing most of my recent presentations to R Markdown. This includes presentations that have little or no R code in them. I like using R Markdown because you are manipulating simple text files. This makes it easy to use version control, among other things.

There’s a new package, which I have not tried yet, that will do a direct translation of a PowerPoint file into R Markdown. It uses a presentation format (xaringan) that I personally do not like, but it should be pretty easy to switch from xaringan to a different format like ioslides. The package owner warns that you will probably have to tweak the resulting R Markdown code to get it perfect, but the package should do “get you about 90% of the way there for about 80% of use cases.” That’s still a huge time savings. Continue reading

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