Skip to content
Prev 11207 / 63424 Next

Power (^) 10x slower in R since version 1.7.1... What next? [Windows platform]

You might like to test the enclosed.  Drop the file into .../src/gnuwin32
and edit the following line in Makefile there

OBJS = $(SOURCES:.c=.o) e_pow.o
                       ^^^^^^^^
Then re-make.  This uses an existing solution, that from glibc (which MinGW
will not want to use for licence reasons).  It's very fast and seems
as accurate.