Difference between revisions of "Software tutorial/Getting started"

From Statistics for Engineering
Jump to navigation Jump to search
(Created page with "* In this tutorial, any line beginning with the <tt>#</tt> character is a comment and is ignored by R. I use these comments to show the expected output from R. * Any line beg...")
 
m
Line 1: Line 1:
* In this tutorial, any line beginning with the <tt>#</tt> character is a comment and is ignored by R.  I use these comments to show the expected output from R.
* In this tutorial, any line beginning with the <tt>#</tt> character is a comment and is ignored by R.  I use these comments to show the expected output from R.
* Any line beginning with the <tt>></tt> character indicates the R command prompt.  You can copy and paste from this tutorials, but don't paste in the <tt>></tt> character.  Later on we will omit this character.
* Any line beginning with the <tt>></tt> character indicates the R command prompt.  You can copy and paste from this tutorials, but don't paste in the <tt>">"</tt> character.  Later on we will omit this character.
 


So start RStudio and type the following:
So start RStudio and type the following:

Revision as of 01:31, 15 January 2013

  • In this tutorial, any line beginning with the # character is a comment and is ignored by R. I use these comments to show the expected output from R.
  • Any line beginning with the > character indicates the R command prompt. You can copy and paste from this tutorials, but don't paste in the ">" character. Later on we will omit this character.


So start RStudio and type the following:

# This is how to start the main help system in R
> help.start()

The above line starts the web-browser on your computer and shows you the Help system for R. You can click on the links to get different levels of help.