How do you change the default directory in RStudio (or R)? He is asking about RStudio, you are talking about Rgui exe Moreover even with Rgui exe in Win7 you need to change the "Start in" folder into the properties of the Rgui exe shortcut
Warning in install. packages: unable to access index for repository 3 Installing CRAN packages was restored by going into the Rstudio global options and setting the Primary CRAN repository to USA (TX 1) [https] - Revolution Analytics, Dallas, TX I don't know why this worked, whereas selecting USA (TN) [https] - National Institute for Computational Sciences, Oak Ridge did not work
In RStudio RMarkdown, how to setwd? - Stack Overflow setwd in an Rmd file in RStudio does not appear to change the directory in subsequent chunks Is there a way to set the working directory for good? Example: ```{r} setwd(" tmp") getwd() ``` ```