I'd very much appreciate guidance on this.  A user reported that the
 as.double() coercion used inside the .C() call for a function in my 
package (specifically, randomForest:::predict.randomForest()) is 
taking up significant amount of time when called repeatedly, and
Removing some of these reduced run time by 30-40% in some cases.
These arguments are components of the fitted model (thus do not 
change), and are matrices.  Some basic tests show no difference in
The result when the coercions are removed (other than faster run time).
What I like to know is whether this is safe to do, or is it likely to
lead
to trouble in the future?

Best,
Andy
Notice:  This e-mail message, together with any attachme...{{dropped:14}}

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to