# read data and exclude header row 
df <- read.table("a.txt", sep="\t",header = FALSE)
df

# read tab-delimited data and include header row 
df <- read.table("a.txt", header = TRUE, sep = "\t", quote="\"")
#display contents of df:
df

### # Read in csv files
### df <- read.table("test.csv", header = FALSE, sep = ",")
### df <- read.csv("test.csv", header = FALSE)
### df <- read.csv2("test.csv", header= FALSE)
### # Inspect the result
### df
### 
### # Read a delimited file
### df <- read.delim("test_delim.txt", sep="$") 
### df <- read.delim2("test_delim.txt", sep="$")
### # Inspect the result
### df
### 
