intro to - university at buffalo€¦ · intro to 0. setup on hpc2.org - register on hpc2.org -...
TRANSCRIPT
![Page 1: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/1.jpg)
Intro to
0. Setup on hpc2.org
![Page 2: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/2.jpg)
Intro to
0. Setup on hpc2.org
- Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV
![Page 3: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/3.jpg)
Workshop computing environment
Student workstation(Firefox browser)
hpc2 server(webserver, RStudio)
You are here!
![Page 4: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/4.jpg)
Register on hpc2.org
You must have an email address...
1. On hpc2.org website, click Register link
2. Fill in required fields; submit
3. Follow link to Create New Account page
4. Choose username and password; specify email address; submit
5. Click link on confirmation email; sign in
![Page 5: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/5.jpg)
Register on hpc2.org
![Page 6: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/6.jpg)
Fill in required fields and submit
![Page 7: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/7.jpg)
Click “Register”
![Page 8: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/8.jpg)
Pick a login name and password
![Page 9: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/9.jpg)
hpc2 new account created
![Page 10: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/10.jpg)
RStudio
Dashboard
![Page 11: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/11.jpg)
![Page 12: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/12.jpg)
hpc2 My Tools: R Studio Tool
Rstudio session: TerminateSuspend
![Page 13: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/13.jpg)
Rstudio window: Pop outRefreshExpand
![Page 14: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/14.jpg)
GitHub
Student workstation
GitHub server
hpc2 server
Pull files and dataView files
![Page 15: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/15.jpg)
Workshop Files and Data: GitHub
Student workstation
GitHub server
hpc2 server
![Page 16: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/16.jpg)
GitHub
Student workstationhpc2 server
![Page 17: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/17.jpg)
Create GitHub project in RStudio1. In RStudio:● Select Project: Create Project● Select Version Control
![Page 18: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/18.jpg)
Create GitHub project in RStudio2. In RStudio:
Next, select Git
![Page 19: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/19.jpg)
Create GitHub project in RStudio3. In RStudio:
Type the Repository URL as shown
git://github.com/jsperhac/workshop-dev.git
![Page 20: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/20.jpg)
Create GitHub project in RStudio4. RStudio copies the files to your home directory on hpc2
![Page 21: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/21.jpg)
Rstudio: load your dataset
● Select Import Dataset: From Text File ● Select a .csv file
![Page 22: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/22.jpg)
GitHub project in RStudio
● Selecting the project sets the working directory● Your RStudio project contains directories:
– examples
– exercises
– project
– resources
![Page 23: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/23.jpg)
File transfer
Student workstation
hpc2 server
WebDAV
![Page 24: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/24.jpg)
File transfer: WebDAV
Student workstation
● Home folder
![Page 25: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/25.jpg)
File transfer: WebDAV
Student workstation
File: Connect to Server...
![Page 26: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/26.jpg)
File transfer: WebDAV
Student workstation
Use your hpc2 user credentials
![Page 27: Intro to - University at Buffalo€¦ · Intro to 0. Setup on hpc2.org - Register on hpc2.org - Intro to Rstudio - Set up with Github - File transfer: WebDAV](https://reader036.vdocuments.us/reader036/viewer/2022070810/5f0984bc7e708231d4273558/html5/thumbnails/27.jpg)
File transfer
Student workstation
hpc2 server
WebDAV