R — Biostatistics

Lesson 1 — Try out the R Console Application

By


Goals of this Lesson:

  1. Find the icon for the R Console Application (not RStudio)
  2. Try out the R Console Application (not RStudio)

 

What tools do we need to run R in this course?

    • R Console Application
    • RStudio — the graphical interface for accessing the engine of R

We can run R via either of the above tools. But RStudio looks complicated. So our plan is to first learn R by using the R Console application first before we use RStudio.

 

What do you need to do for this lesson?

Step 1Download the R Console application and its graphical interface called RStudio. See the syllabus for download instructions.

Step 2 Watch the video (scroll to the bottom of this page) BEFORE you do the R1 assignment. While the video demonstration uses a Mac, PC users should use a very similar screen layout in their R Console application.

 

Important !! — If you are a PC user, please read the following carefully:

If you are having great difficulty in creating your R script or saving your result in a text file because your R screen looks very different than that shown in the video, that probably means that you are not using the R Console application — you are using RStudio instead.

Here is how to find your R Console application on your PC:

https://www.course.cafe/math/lesson/running-r-console-application-on-pc/

 

Here is the video showing you how to use the R Console:

Lesson 1 — Try out the R Console Application

(After watching the video, you are ready to do your first R assignment — go back to Canvas and click the assignment item R1.)

 

 

How to show the file extension .txt on your computer?
The video shows that for R1, you need to save your document as a text file (.txt). If the extension .txt is not shown on your screen when you are saving the document, then it could be because your desktop is not set to show file extensions. To show file extension on your computer, do the following:

For PC:

 

For Mac:

 

References

Ch 1.1 and 1.2 of the documentation below also shows you how to interact with the R Console:

Instant-R

-END-

 



Content is copyright the author. Layout is copyright Mark Ciotola. See Corsbook.com for further notices.