MATH 4720/MSSC 5720 Introduction to Statistics
Step 2: Click GET STARTED.
Step 3: Free > Sign Up. Please sign up using your Marquette email address or the one you prefer.


In Posit Cloud, click New Project > New RStudio Project, then you are all set!

New RStudio Project

Give your project a nice name (click Untitled Project), math-4720 for example.
First R code: "Hello WoRld!" or 2 + 4 after > in the Console pane.
Change the editor theme: Tools > Global Options > Appearance
A R script is a .R file that contains R code.
To create a R script, go to File > New > R Script, or click the green-plus icon on the topleft corner, and select R Script.
Run : run the current line or selection of code.
Icon right to the Run : re-run the previous selected code.
Source : run all the code in the R script.
mtcars
x storing integer values 1 to 10.y storing three numeric values 3, 5, 9.Donโt know how a function works or what a data set is about โ
๐ Simply type ? followed by the data name or function name like
What does the function mean() do?
What is the size of mtcars data?
Type mtcars and hit Enter in the Console to see the data set.
Discuss data type of each variable.
Type mtcars[, 1] and hit Enter in the Console. What do you see?
05:00
If you are a Mac user, you should see the page as below. You are recommended to download and install the latest version of R (now R-4.5.1 (Great Square Root)), if your OS version allows to do so. Otherwise, choose a previous version, R-3.6.3.
If you are a Windows user, after clicking Download R for Windows, please choose base version, then click Download R-4.5.1 for Windows.
Windows

Mac

Now you are ready to use R to do statistical computation.
You can use R like a calculator. After typing your formula, simply hit Enter, you get the answer! For example,
The page will automatically detect your operating system and recommend a version of RStudio that works the best for you that is usually the latest version.
Click DOWNLOAD RSTUDIO DESKTOP FOR [Your OS version].
Follow the standard installation steps and you should get the software.
Make sure that R is installed successfully on your computer before you download and install RStudio.
When you open RStudio, you should see something similar to the figure below.
If you do, congratulations! You are able to do every statistical computation in R using RStudio locally in your computer.