refactoring the RStudio stuff
moar refactoring
still refactoring
restore the quietness