Answers for "how to set working directory in rstudio"

5

r set working directory

setwd("/Users/SampleUser/Desktop/R")
Posted by: Guest on May-24-2020
0

get working directory rstudio

# For getting current working directory in terminal in Rstudio
getwd()
setwd(dir)
Posted by: Guest on April-10-2021
0

rstudio working directory

# Imports data from outside the working directory, allows to choose the file
d <- readRDS(file = file.choose())
Posted by: Guest on February-07-2021

Code answers related to "how to set working directory in rstudio"

Browse Popular Code Answers by Language