How to Change R Working Directory (Quickly & Easily)

preview_player
Показать описание
Do you need to load data from a directory or folder on your computer in R or RStudio but don't know how to do this? This short tutorial shows how to change your R working directory so that you may easily load files from any folder or directory.

Code I use in this tutorial to see and then set the working directory:
1. getwd() (this shows the current R working directory)
2. setwd("D:/tutorials/") (this sets a new R working directory)

#rstudio #rlanguage #tutorial #datascience
Рекомендации по теме
Комментарии
Автор

Not working for me tho
administrator permission related may be the reason? what do u think?

MohammedMohammed-rrjh