I've been trying using RStudio to read txt.gz it consists of huge text files.
setwd("directory") # setting directory to read data from it
Data = read.table(gzfile("MCT.txt.gz"),sep="\t")
I try to read the column three of the files but the variable of Data cant be defined:
A <- Data(651217,3)
Error in Data(651217, 3) : could not find function "Data"
If this possible can read the text, I also wanted to pick the selected column and do with the other text files to average them, what will be the best command for this? Thank you