Removing Scientific Notation from R

3 September 2016
3 Sep 2016
1 min read

As someone who uses R for data analysis, I’ve run into the feature of R displaying results in scientific notation. For the numbers I’m usually dealing with, scientific notation is not needed. So, after googling around, I found this Stack Overflow post that said to append the following line to the top of the code:

options(scipen=999)

Now, these results shall be displayed in the more common format, adding clarity to the analysis.

Want to know more?

I spend a ton of time thinking on how to work smarter, not harder. If you'd like to be the first to know what I'm thinking about, sign up to the list below.


The 10-Year Challenge

Clearing the console and environment in R