I am trying to use R package dtw
to calculate the distance between two numeric vectors. Here is a sample of my code:
testNumbers <- sample(seq(from = 1, to = 60), size = 60000, replace = TRUE)
testNumbers2 <- sample(seq(from = 1, to = 60), size = 60000, replace = TRUE)
Sys.setenv('R_MAX_VSIZE'=32000000000)
Sys.getenv('R_MAX_VSIZE')
dtw(testNumbers, testNumbers2, distance.only = TRUE)
I will be using wav files that have been decoded, but that hasn't worked either, so I've been using this sample data. As per this post, I checked to make sure I am running the 64bit version of R (and I think that I am, because when I start R/R studio I see this: Platform: x86_64-apple-darwin15.6.0 (64-bit)
. I also changed the memory size (and checked the setting) in the code above as per this post, but I still get this error message Error: vector memory exhausted (limit reached?)