R (programming language)/Tutorials/Loading data

This tutorial demonstrates how to load data in R.

Note

 * This stub content was copied from an import of R Programming/Tutorial originally to How to use R/Tutorials/Introduction.

Direct loading
1970   45    78 1980    52    95 1990    59    25 2000    63    34
 * Given the data file data.txt located at  :

setwd(" ")               # change working directory data <- read.table("data.txt") # load data
 * This data can easily be loaded into R using the following commands: