IntroductionR is a very popular programming language for statistical analysis of data. All kind of tools are supporting R or they will. In this blogpost and followup blogpost I've gathered some constructs in R that are quite often used when you program in R. This is not a complete list but it is a handy list.
This is the second post about R in a series:
getwd() and setwd()The first step using R is checking out the working directory. The working directory is the place where all of your project files are placed.You need to keep track in each of your R session.If you read or write files, this takes place in the working directory.
> getwd()  "C:/Users/Hennie/Documents"
Setting the working directory is executed with setwd()
> setwd("~/Coursera-RProgramming") > getwd()  "C:/Users/Hennie/Documents/Coursera-RProgramming"
With setwd() and getwd() the workingdirectory is set and checked.