What's wrong with this?
First, I want to start by saying it is ok if you've used the two lines of code at the start of your R script! I used to. I did not know it was bad practice and that there was a better way. Some R courses even integrate these two lines in their online courses! If self-proclaimed data experts do not see anything wrong with teaching new students these bad practices, then when is it expected for students to correct their behavior or at least become aware of Projects?
When I first used R, I did not realize that Projects existed and that they would make my workflow simpler and more effective. My favorite use case: Instead of opening new R Scripts for different tasks or assignments it might be helpful to integrate Projects in your workflow. Projects allow users to work in multiple workspaces, with data and variables unique to each project. So, no more figuring out if a dataframe belongs to task 1 or task 2! Dataframes in each project's global environment are generated from the project's respective R Scripts. For more information about the additional benefits of , check out the tidyverse article below! tidyverse.org article: https://bit.ly/2F1YcRl Credits to Jenny Bryan & Hadley Wickham
0 Comments
|
gABEData Scientist Archives
January 2019
Categories |