> For the complete documentation index, see [llms.txt](https://hmdc.gitbook.io/sid/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hmdc.gitbook.io/sid/moving-from-local-r-studio-to-sid-r-studio.md).

# Moving from local R-Studio to Sid R-Studio

This how-to guide shows how to migrate from a local R Studio environment to the Sid R Studio environment.

## Upload to Drive&#x20;

Google Drive's web interface provides several ways to [upload local files to their storage service](https://support.google.com/drive/answer/2424368?co=GENIE.Platform%3DDesktop\&hl=en), including drag and drop, file chooser, or using the [desktop Drive app](https://www.google.com/drive/download).

![Google Drive showing Rmd file and xlsx data file](https://1259840169-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp-J4FRkNjGVUHcJnwd%2F-LrKuef39VnD2vTdNiAO%2F-LrKwk6m7DTyOjWEo4U0%2FScreen%20Shot%202019-10-16%20at%203.00.40%20PM.png?alt=media\&token=d1aff095-3c41-4e22-acb8-14b45e22caa1)

## [Launch an interactive R Studio job](https://hmdc.gitbook.io/sid/#launch-an-interactive-application-from-the-dashboard).

## Set [working directory](https://www.rdocumentation.org/packages/base/versions/3.6.1/topics/getwd)

Change the [working directory](https://www.rdocumentation.org/packages/base/versions/3.6.1/topics/getwd) to the Google Drive mount point in the R-Studio `Console` pane.

![](https://1259840169-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp-J4FRkNjGVUHcJnwd%2F-LrKuef39VnD2vTdNiAO%2F-LrL24AviR0z48ZAZKwX%2FScreen%20Shot%202019-10-16%20at%203.26.20%20PM.png?alt=media\&token=7ddd8c56-b032-40f6-87e6-f33c6561c658)

## Select `File` -> `Open File`&#x20;

![R Studio's File -> Open File menu](https://1259840169-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp-J4FRkNjGVUHcJnwd%2F-LrKuef39VnD2vTdNiAO%2F-LrL24B1liMwYIMFeDcy%2FScreen%20Shot%202019-10-16%20at%203.11.27%20PM.png?alt=media\&token=85b8979a-35a2-49a6-8adb-8bd8f9c1aa9e)

## Import files into RStudio from your Google Drive mount

![R Studio file browser](https://1259840169-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp-J4FRkNjGVUHcJnwd%2F-LrKuef39VnD2vTdNiAO%2F-LrL24AqNdcjVHAa-uIV%2FScreen%20Shot%202019-10-16%20at%203.27.01%20PM.png?alt=media\&token=e420d7ef-7713-4328-aeca-83fa1fb9b4fb)

## Setup complete
