# R AppStream - EVS 514 - Fall 2022

**These directions are for the use of R Studio via a web browser for EVS 514 Fall 2022.  
(instead of installing it on your own computer, or using a computer lab)**

## Get Help

- For R Studio questions/help about the class, contact your instructor, Jessica Morgan <jessicamorgan@uri.edu>.
- For technical issues, contact Chi Shen <cshen@uri.edu>.

## Access R AppStream

1. **Go to <https://myapps.microsoft.com>**
2. Click "R AppStream for EVS514"  

   ![image-1667034709910.png](https://notes.its.uri.edu/uploads/images/gallery/2022-10/scaled-1680-/Z369I1KoHxr79xvF-image-1667034709910.png)
3. Click the RStudio icon -- wait about 1-2 minutes for the session to start:

   ![image-1663099730988.png](https://notes.its.uri.edu/uploads/images/gallery/2022-09/scaled-1680-/or1glsVkC5RbWSgW-image-1663099730988.png)
4. Once RStudio has loaded, you should see this:  

   [![image-1667034904863.png](https://notes.its.uri.edu/uploads/images/gallery/2022-10/scaled-1680-/J3VsJCzvGLMv7sGM-image-1667034904863.png)](https://notes.its.uri.edu/uploads/images/gallery/2022-10/J3VsJCzvGLMv7sGM-image-1667034904863.png)

## Using the Home Folder

- The Home Folder is the storage that persists across your AppStream sessions. Any work or files saved there will persist across all AppStream sessions.
- By default, the "Working Folder" of this RStudio AppStream will start in the Home Folder.  To avoid confusion, it's usually a good idea to make the "Files" pane also show the Home Folder.[![image-1667035171782.png](https://notes.its.uri.edu/uploads/images/gallery/2022-10/scaled-1680-/kN7PgJY5ovvgPOuF-image-1667035171782.png)](https://notes.its.uri.edu/uploads/images/gallery/2022-10/kN7PgJY5ovvgPOuF-image-1667035171782.png)

## Copy and Paste

**From your computer to the AppStream session:**

1. Ctrl-C (or equivalent) on your machine
2. Click the special paste function in the session toolbar (below picture)
3. In the AppStream session, Ctrl-V to paste into R Studio.  
   -[![image-1667226875885.png](https://notes.its.uri.edu/uploads/images/gallery/2022-10/scaled-1680-/QD1lcKvYsRvxd72a-image-1667226875885.png)](https://notes.its.uri.edu/uploads/images/gallery/2022-10/QD1lcKvYsRvxd72a-image-1667226875885.png)

**From the AppStream session to your computer:**

1. Ctrl-C in the R Studio AppStream session
2. Click the special copy function in the toolbar (pictured below)
3. On your machine, Ctrl-V (or equivalent)  

   [![image-1667227086829.png](https://notes.its.uri.edu/uploads/images/gallery/2022-10/scaled-1680-/RowZhOp7r64tv7XJ-image-1667227086829.png)](https://notes.its.uri.edu/uploads/images/gallery/2022-10/RowZhOp7r64tv7XJ-image-1667227086829.png)

## Uploading/Downloading Files

You can also transfer files between your own computer and the AppStream session:

![image-1667035378983.png](https://notes.its.uri.edu/uploads/images/gallery/2022-10/scaled-1680-/5HWY4qMeQzaAmBke-image-1667035378983.png)

![image-1667035478079.png](https://notes.its.uri.edu/uploads/images/gallery/2022-10/scaled-1680-/yK2Iewf7Irn2UyFH-image-1667035478079.png)

## Session Time Limits

- If you accidentally close your browser/session, you can reconnect if you do so within 15 minutes.
- Idle sessions will be automatically ended after 15 minutes.
- The maximum single session length is 16 hours.  You will be warned to save your work 5 minutes before reaching this limit.  If you need to continue working, save your work, end the session, then start another session.

## Ending Your Session

There are no special directions for ending your AppStream session.  You can just close your browser window / tab.