I am working with trajectory files with 10-minute longitude/latitude values. However I want to only load the hourly values into R.
My current code loads all files into R:
beussel.trajectories<- lapply(beusselstr.trajectory_files,read.table,
sep="",header=TRUE,skip=1,fill=TRUE,fileEncoding="latin1")
beusselstr.trajectory_files is a folder with 329 files and I have 10 other folders with the same amount of files. The files then have 10 minute values going backwards in time over 4 days, so each file has 21318 rows.
I uploaded a file for one day here https://www.dropbox.com/s/tp2d9lr7xawuvr4/Beusselstr_001_020710.txt
Loading all of them takes incredibly long and since my computer has a rather small amount of memory, R keeps giving me errors, that R cannot allocate a vector of 125kb.
Is this actually possible or will I have to use something else, like Fortran, to prepare my files?