library(data.table)

data1 <- fread(file.choose(), nrows=18, fill=T, sep="=")

data2 <- fread(file.choose(), skip=21) #read data from [specdata0]

stopRow <- which(data2$V1 %like% "finish") #find line "finish"

data3 <- data2[c(1:(stopRow-1))] #keeps only lines between specdata and finish

data3 = as.numeric(data3$V1)

I changed the data type as I initially the data was of "list" and I couldn't perform any statistical calculations on that.

Now I want to divide this 27K data into 3 group of 9000 data points each.

later I want to divide first 9000 data sets into n number of sets.

How can I do this in R ? Please find the attached picture (picture of data set)

My data is just of 1 column.