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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Navigation|Book=Software tutorial|previous=Software installation|current=Tutorial index|next=Reading data into R}}
__NOTOC__
* 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:

Latest revision as of 01:46, 15 January 2013

← Software installation (previous step) Tutorial index Next step: Reading data into R →
  • 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.