Pitfalls

Avoiding pitfalls of R


keywords
# avoid simple keywords such as "data", ...  (these keywords have specific functionality in R)
data = read.table('table.tsv', header=TRUE)  # wrong 
# use data specific naming ("mydata", "experiment1", ...
mydata = read.table('mydata_text_file.tsv', header=TRUE)  # correct