I've been using RGenoud for a while and it worked smoothly so far. However I came across a strange problem lately (for me at least...).
It fails after the first individual and I get the following error message when I set MemoryMatrix = FALSE : Error in genoud(fn, nvars = 8, max = TRUE, pop.size = 10, : REAL() can only be applied to a 'numeric', not a 'character' when I set MemoryMatrix = TRUE, it fails after it runs the total number of individuals in the 1st generation: Error in population[eval.indx, nvars + 2] = 0 : incorrect number of subscripts on matrix It sounds like it struggles to write results to an outside source (not sure this is the appropriate language). I ran many RGenoud based optimization before based the same set up and I never came across that issue before. I checked the fn function and it works OK outside RGenoud. I'm using R 2.10.1 with under Windows Vista and RGenoud version 5.6-6 Any help appreciated Thanks -- View this message in context: http://n4.nabble.com/Problem-with-RGenoud-tp2014722p2014722.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.