[R-sig-finance] [offtopic] solving sudoku in R?
maechler at stat.math.ethz.ch
Fri Jan 27 15:36:58 CET 2006
>>>>> "Achim" == Achim Zeileis <Achim.Zeileis at wu-wien.ac.at>
>>>>> on Fri, 27 Jan 2006 13:54:11 +0100 writes:
Achim> On Fri, 27 Jan 2006 07:23:38 -0500 Krishna Kumar wrote:
>> As sudoku seems to be in fad this season how about a fast solver in
>> R. ?
Achim> Try install.packages("sudoku") :-)
Achim> David Brahm has written this. What is still missing is a sudoku
David Brahm has his next version of 'sudoku' -- greatly enhanced
What __ON EARTH__ has this to do with R-SIG-Finance ??
REALLY, this belongs to R-help and nowhere else!
>> I wrote a little thingie that just does an exhaustive search and
>> was wondering if this could be speeded up,
>> I am particularly interested in putting some intelligence in to it
>> and any speedups that could be done.
>> Currently doing,
>> > system.time(sudoku())
>>  18.25 0.02 18.43 NA NA
>> 18 secs for the default puzzle.Also is there a way to count function
>> evaluations in R (a-la-matlab flops)?.
>> Suggestions welcome.
More information about the R-sig-finance