I would like to drop a column from ff
object:
Input file file.txt
is tab delimited like that:
Col1 Col2 Col2
x1 x1 x1
x2 x2 x3
x3 x4 xh
Then reading with ff
package:
library(ff)
df <- read.table.ffdf("file.txt", header=T, sep="\t")
I would like to exclude the first column (or skip it when importing the file). With a normal dataframe or a matrix I would simple apply a comand like that:
df <- df[,-1]
However, in ff
objects does not work. Any ideas?