Data types and import into R

Theory R functions Examples

R functions

Note that by default, functions like read.table, read.delim, read.csv and read.csv2 import the columns containing characters strings into R as factors. If you don't like this behaviour, change the setting of stringsAsFactors argument into FALSE. If you want to know why this behaviour is set to default, read this blog post.