R commander programming language for statistics
The R programming language is a populair and easy to use programming langauge used on combination with R commander. R provides a lot of statistical and graphical functions and it is highly extensible. The best thing about R is that it is easy to plot high quality graphics.
I would like to say it one more time: Make sure you understand all the basics from the R language before going deeper into specific language elements like distributions. If you are new with the R programming language or even totally new in programming, then take a look at the following tutorials and make sure you understand them completely before continuing with the more advanced tutorials like basic R statistics. Do not forget to set up a working directory first. How this should be done can be found at "Step 1" on this webpage.:
- Help - R programming language
- Basic operations in R
- Functions in R
- Vectors, matrices and lists in R
- Files and Tables in R
Once you have gone through the above mentioned tutorials, you may want to go deeper in the R language by looking in the more advanced tutorials on this website. Note that I wrote the tutorials on my own and that they may contain some errors I overlooked. If you come along an error, please contact me so I can update the tutorial.
Step 1: Set up a working directory
It is important to set up a working directory to work with in R before you get started with following the different R tutorials. Follow the following steps to set up a working directory on the device where you are working on. Know that setting up a working directory is very useful when working on a public computer. Know that it is possible that you may have to set up a new working directory everytime you run R because other people may have changed it on public computers.
- a. Create a folder where all workspaces may be saved to (preferably in myDocuments, named: "Statistics").
- b. Open R
- Select "file", "change dir..", and navigate to the map created above.
- Select "file", "save workspace.." and save the workspace in your recently created dir.
- c. The working directory is now saved in the Statistics map created above. If you would like to load your workspace, just double click the file and R will start.
Now that you have set up your working directory you may get started with your first tutorial.