--- title: "Bridge to R" slug: "bridge-to-r" updated: 2021-09-21T13:10:51Z published: 2021-09-21T13:10:51Z canonical: "userguide.dataclassroom.com/bridge-to-r" --- > ## Documentation Index > Fetch the complete documentation index at: https://userguide.dataclassroom.com/llms.txt > Use this file to discover all available pages before exploring further. # Bridge to R If you have mastered the basics of data visualization and understand statistical tests, but want to take it to the next level in your study, then using **R** from the [R Project](https://www.r-project.org/) is a common goal. ![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/image-1631195490142.png) The two main advantages: - It can be daunting to learn a whole new language, so it is very helpful to have some **working** **examples** to get you started. - Installation of complicated software on your PC can be tricky. DataClassroom lets you skip this step (at first) and lets you **run the code** on DataClassroom's computers. ### How to use Under the **Advanced** features of the [Graph-Driven Test](/v1/docs/graph-driven-tests) screen you will see the "**Try this in R**" button. ![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/image-1631195769845.png) This button takes your **current settings for both graph and hypothesis** test, and produces **scripts that you can run in R** to reproduce these results. To save you the trouble of installing R, you can also **run the scripts on R** within DataClassroom, and see the results immediately. ![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/image-1631196239568.png) ### Running on your own R or Rstudio installation If you have your own R setup, you can just copy the script from the window and paste it into your own program. There are two options for getting the actual data transferred: - Check "**Include data in script**" and then just copy/paste the script with data included - Click "**Download data as CSV**" and then use the read.csv() command in the script to load the data into R You may need to edit the read.csv() command to locate the file where it has downloaded, or move the file to where R usually looks for files. ### Acknowledgements *The [R logo](https://www.r-project.org/logo/) is the property of the R Foundation and is reproduced here under [license](https://creativecommons.org/licenses/by-sa/4.0/).*