I recall having read the publication that you mentioned, but your explanation made it much easier to grasp as a concept. Thanks!
@mahdip.46744 жыл бұрын
I agree with setwd(), but not the second one. rm(list=ls()) just does what it is asked. It removes all the objects in the current session without any need for restarting RSession.
@Imthedragonreborn4 жыл бұрын
Thanks for the talk. Not quite sold though. As long as the .rmd file lives in the root project directory, you'll be fine. Unlike absolute paths, relative paths should just work on every OS, and otherwise base R already has file.path() to take care of it. So if one already uses projects, I see no need to add an extra dependency to the code.