Setting the Graphics Device in a RMarkdown Document

In our recent post about saving R graphics, it became obvious that achieving consistent graphics across platforms or even saving the “correct” graph on a particular OS was challenging. Getting consistent fonts across platforms often failed, and for the default PNG device under Windows, anti-aliasing was also an issue. The conclusion of the post was

Photo by Alexandru-Bogdan Ghita on Unsplash

Key R Operators

Operators you should make more use of in R Only recently have I discovered the true power of some the operators in R. Here are some tips on some underused operators in R: The %in% operator This funny looking operator is very handy. It’s short for testing if several values appear in an object. For