I fixed the problem, it is related to my C++ code when I change main function to gneral function.
You gave a great help! Thank you! Simon. have a good night! Alex ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel