How to Set Your Default Package Install Location in R

One problem that people often have, especially when they work on Windows network drives, is that they can’t install packages. This typically happens because they don’t have admin rights on their computer and by default R tries to install packages into a location that requires admin rights. To see where your packages

My R Journey: Ibrah Sendide

My name is Ibrah Sendide and I am a PhD candidate at the University of the Witwatersrand, Johannesburg. My work in health economics and outcomes research includes modelling cost effectiveness in health, statistical data analysis  and econometric analyses. I recently completed the R in 3 Months program and wanted to share about my experience with

How I Structure My RStudio Projects

During his presidency, Barack Obama famously wore only gray or blue suits (with one minor exception). In a 2012 interview with Vanity Fair, he explained why: I’m trying to pare down decisions. I don’t want to make decisions about what I’m eating or wearing. Because I have too many other decisions to

How to Scrape Data with R

Those of us who work with R dream of just one thing: getting clean data, ready for analysis. Rarely does this happen, of course. As Steve Lohr wrote in the New York Times in 2014, those working with data: spend from 50 percent to 80 percent of their time mired in this