I have over 10000 csv files and I need to do a Fast Fourier Transformation on each column of each csv file. I have access to 1000 cores. What should be the fastest way?
Currently I have a for loop reading each file sequentially and using the apply(data, 2, FFT)
function. How would I do so? I tried doing clusterapply(1:10000, cl, transformation)
. In the transformation function, I have read csv. It still takes a long time to do all the reading. Do anyone of you know a faster way?