Maulik Shah
2011-Jan-10 06:30 UTC
[R] Capturing error messages while running R through an external program
I am trying to automate scoring done by applying 3 parameter model of IRT to the response data. I call R from PHP to do this using exec(). Since I face convergence issues while using R, it is important that the program captures the error messages like "the solution is not stable" given by R while running tpm(). How does one do that? I find sink() of no use to do that. Regards, Maulik [[alternative HTML version deleted]]