[R-pkg-devel] size of object files

Pieter Eendebak pieter.eendebak at gmail.com
Mon Jul 13 00:00:48 CEST 2015


Dear newsgroup,

The size of the object files in my R package is quite large (c++ code with
Eigen templates). How can I reduce this size?

Under linux the final shared library is over 20 Mb large. With the command
strip I can reduce the size to less than 500Kb, but I do not know how to
add the strip command to the R build system. I am also not sure whether
stripping the object files is allowed for R packages, since it can make
debugging harder.

With kind regards,
Pieter Eendebak

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list