Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
r_workshop1 [2020/11/03 16:34]
dcaron [R script]
r_workshop1 [2021/10/13 16:02] (current)
lsherin
Line 1: Line 1:
 +<WRAP group>
 +<WRAP centeralign>​
 +<WRAP important>​
 +<wrap em> __MAJOR UPDATE__ </​wrap> ​
 +
 +<wrap em> As of Fall 2021, this wiki has been discontinued and is no longer being actively developed. </​wrap> ​
 +
 +<wrap em> All updated materials and announcements for the QCBS R Workshop Series are now housed on the [[https://​r.qcbs.ca/​workshops/​r-workshop-01/​|QCBS R Workshop website]]. Please update your bookmarks accordingly to avoid outdated material and/or broken links. </​wrap>​
 +
 +<wrap em> Thank you for your understanding,​ </​wrap>​
 +
 +<wrap em> Your QCBS R Workshop Coordinators. </​wrap>​
 +
 +</​WRAP>​
 +</​WRAP>​
 +<WRAP clear></​WRAP>​
 +
 ======= QCBS R Workshops ======= ======= QCBS R Workshops =======
  
Line 18: Line 35:
 Link to old [[http://​prezi.com/​ygatqgksbaso/​qcbs-r-workshop-1/​|Prezi presentation]] Link to old [[http://​prezi.com/​ygatqgksbaso/​qcbs-r-workshop-1/​|Prezi presentation]]
  
-Download the R [[https://​github.com/​QCBSRworkshops/​workshop01/​blob/​dev/​workshop01-en/​workshop01-en.R|script]] for this lesson.  +Download the R [[https://​github.com/​QCBSRworkshops/​workshop01/​blob/​dev/​workshop01-en/​ReferenceScriptWorkshop1.R|script]] for this lesson.  
-===== Installing R and R Studio ​=====+===== Installing R and RStudio ​=====
  
-Before you can effectively start this workshop, you will need to install the R and R Studio ​softwares on your computer. For R, go to http://​www.r-project.org/​ and click on download. You will have to select a mirror site (usually one close to you) and select your platform (OS X, Windows or Linux). Download the file and launch it to complete the installation. You don't have to change the default settings.+Before you can effectively start this workshop, you will need to install the R and RStudio ​softwares on your computer. For R, go to http://​www.r-project.org/​ and click on download. You will have to select a mirror site (usually one close to you) and select your platform (OS X, Windows or Linux). Download the file and launch it to complete the installation. You don't have to change the default settings.
  
-To install ​R Studio, go to http://​www.rstudio.com/​ and select ​R Studio ​from the Products tab. Click on the open source version of R Studio ​Desktop and select your platform to download it. Launch the file you just downloaded to complete the installation. Again, you can keep the default settings.+To install ​RStudio, go to http://​www.rstudio.com/​ and select ​RStudio ​from the Products tab. Click on the open source version of RStudio ​Desktop and select your platform to download it. Launch the file you just downloaded to complete the installation. Again, you can keep the default settings.
  
 ===== Learning Objectives ===== ===== Learning Objectives =====
Line 49: Line 66:
 {{::​operating_systems.png?​50|}} ​ {{::​open_source.png?​100|}} {{::​the_why_r_plot_2.png?​200|}} {{::​operating_systems.png?​50|}} ​ {{::​open_source.png?​100|}} {{::​the_why_r_plot_2.png?​200|}}
  
-==== Using R Studio ​====+==== Using RStudio ​====
 ----- -----
-R Studio ​is an integrated development environment (IDE) for R.  Basically, it's a place where you can easily use the R language, visualize tables and figures and even run all your statistical analyses. We recommend using it instead of the traditional command line as it provides great visual aid and a number of useful tools that you will learn more about over the course of this workshop.+RStudio ​is an integrated development environment (IDE) for R.  Basically, it's a place where you can easily use the R language, visualize tables and figures and even run all your statistical analyses. We recommend using it instead of the traditional command line as it provides great visual aid and a number of useful tools that you will learn more about over the course of this workshop.
 ----- -----
 == CHALLENGE 1 == == CHALLENGE 1 ==
  
-Open R Studio+Open RStudio
  
-{{:​logo_rstudio.jpg?​200|R Studio ​logo}}+{{:​logo_rstudio.jpg?​200|RStudio ​logo}}
  
 **Note for Windows users**: If the restriction "​unable to write on disk" appears when you try to open R-Studio, right-click on your R-Studio icon and chose:"​Execute as administrator"​ to open the program. **Note for Windows users**: If the restriction "​unable to write on disk" appears when you try to open R-Studio, right-click on your R-Studio icon and chose:"​Execute as administrator"​ to open the program.
Line 63: Line 80:
 **The console** **The console**
  
-When you open R studio, the first thing that you see to the left of the screen is the "​console"​. This is where we will be working for the rest of this Introduction to R workshop. ​+When you open RStudio, the first thing that you see to the left of the screen is the "​console"​. This is where we will be working for the rest of this Introduction to R workshop. ​
  
-{{:​Rstudioconsole_fleche.png?​800|R Studio ​console}}+{{:​Rstudioconsole_fleche.png?​800|RStudio ​console}}
  
 Text in the console typically looks like this: Text in the console typically looks like this:
Line 836: Line 853:
 Want to revise/​practice the material seen here at home? Want to revise/​practice the material seen here at home?
  
-[[{}{ workshop01-en.r }|Download R script]]+[[{}{ wiki:workshop01-en.r }|Download R script]]