setwd() function

setwd() stands for set working directory. This is used to set the working environment.

Syntax:

setwd('path')

Example:

Here, we will be using the setwd() function to set the working directory.

R




setwd('C:/Ramu/saisri/')




How to Use setwd and getwd in R?

In this article, we will discuss how to use setwd and getwd in the R programming language.

Similar Reads

getwd() function

getwd() stands forget working directory. It is used to get the current working directory of the environment....

setwd() function

...