[R] Problem with RGenoud

yoda55 arnaud.amsellem at gmail.com
Sun Apr 18 11:09:04 CEST 2010


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.



More information about the R-help mailing list