Using plain R for data analysis

https://tubedu.org/w/9kzKF4GbFE2tUi89iY6jXU

Using plain R for data analysis

PeerTube
@ruedin
What is your take on setdw()? Usually it's not recommended to use it because it can cause issues in the long run. In our #RKWard we have a button which the user just pushes and he will immediately change to the working directory. Methinks for RStudio/Posit, it should be quite similar. (I know, this video is about plain #rstats, thus no IDE)
@[email protected] I think we're making it much too complicated for beginners! Sure, setwd() can cause issues in the long run, but then if the primary user of the code is you, and you set the working directory in the first few lines, I don't see much of a problem. What's much more problematic is if we don't use a script but do "quick fixes" in the console, or burying a setwd() down on line 1242 or something like that. In Rstudio you can click on the path to the working directory above the console, and then set the working directory on the panel on the right (cogwheel > set as working directory).
@ruedin Alright. Truth to be told, I also use the plain R (nudge to RKWard) with methods like setwd() in my lecture.
@[email protected] I think the key is to adjust to our audiences.