Using the R Sandbox

Using the R Sandbox

The R Sandbox 

The R Sandbox is a separate R window you can use to experiment with R code and play around with ideas from the course. It comes pre-loaded with the base R packages and all of the packages and datasets we reference in the textbook. 


R Sandbox

Accessing the R Sandbox 

In Canvas 

  1. Scroll to the bottom of the course Home page

  2. Under Resources, click R Sandbox

Resources module for the textbook which includes the link to the R Sandbox


Sandbox URL 

You can also access a similar R sandbox from Data Camp using the following URL (although you may need to run library(coursekata): 

https://uclatall.github.io/czi-stats-course/data-camp/sandbox-400.html

How do I submit my code? 

You might notice that there is no Submit button. This is because answers in the R Sandbox are not evaluated - in fact, we don’t even see them! So feel free to make mistakes, play around with ideas, and have fun with data! 


    • Related Articles

    • Not Connecting to Server

      If you hit the "Connect" button for the R coding exercise windows but it will not connect to the server, please note the following: This error should be rare and should not persist for more than a few minutes. Please do not continue to hit "Connect" ...
    • R function

      R functions are commands in R that do specific tasks; these are often written by people in the R community. 
    • factor (in R)

      Factor (in R) is a type of R object that is a categorical variable.
    • numeric (in R)

      Numeric (in R) is a type of R object that is a quantitative variable.
    • object (in R)

      R objects are ways of saving information in R. R objects can be individual values (e.g., MyNumber <- 3) or a vector (e.g., MyVector <- c(1:10)) or even a data frame (e.g., MyCopyOfFingers <- Fingers).