Hi everyone,

I have built an R package and for the sake of speed I have decided to rewrite some part of the code in C++.  In my original R code I use the pnorm, qnorm, rnorm, pgamma, dgamma, rgamma, rbeta and runif function.  First I was thinking in going with the boost libraries, but I noticed the functions described above are available within the R.h header file (or is it Rmath.h?).

So my question is the following.  Would my code be faster if I install the appropriate boost libraries (distributions) or if I stick with R.h's functions?

Thanks!


******************************************************************************************************************************
IAN SCHILLER, M.Sc.

Statistical research assistant,
Division of Clinical Epidemiology, McGill University Health Center

Assistant de recherche en statistiques,
Département d'Épidémiologie Clinique, Centre Universitaire de Santé Mcgill

Tel: 514 934 1934 ext. 36925
Email: ian.schiller@clinepi.mcgill.ca<mailto:ian.schiller@clinepi.mcgill.ca>

	[[alternative HTML version deleted]]

