Piotr Bialas  Introductory Statistics with R

  • Welcome
  • Histogram 1
    • Histogram 2
    • How to Create a Histogram in R?
    • Histogram 3
  • Chapter 0
    • Chapter 1
    • Chapter 2.1
    • Chapter 2.2
    • Chapter 2.3
    • Chapter 2.4
  • Assignments
    • Extra Credit 1
  • Binomial Distr.
  • StandardND
  • Welcome
  • Histogram 1
    • Histogram 2
    • How to Create a Histogram in R?
    • Histogram 3
  • Chapter 0
    • Chapter 1
    • Chapter 2.1
    • Chapter 2.2
    • Chapter 2.3
    • Chapter 2.4
  • Assignments
    • Extra Credit 1
  • Binomial Distr.
  • StandardND

How do I open and save work in R Studio?

The following steps will allow you to organize your RStudio related work into one folder which can later be used to continue work on your project.

Step 1. Designate a folder for each project on your desktop/flash drive. It is going to be your working space - place where you keep all work related to this file such as data, code, and graphics.

Step 2. Open R Studio, (new file of selected format, e.g. .R, .Rmd).

Step 3. Set up your working space using pull-down menu from Session tab on top banner, (in future you will write one line code instead of using “pull-down” menu).

Step 4. It is to be used when you re-access already saved work. Load your workspace using pull-down menu from Session tab on top banner, (in future you will write one line code instead of using “pull-down” menu).
Step 5. When finished, save your workspace by adding a meaningful name to it and suffix .Rdata format.

Step 6. If you decided to save the file respond to the prompt in console by typing y and pressing enter/return key. RStudio will close now.

REFERENCES
There are many Internet resources related to R and R Studio. I suggest Mike Marin YouTube videos. Google: MarinStatsLectures-Home, then select Series 1, Tutorial 1.10. His tutorials are excellent!

Powered by Create your own unique website with customizable templates.