[R] R Help

From: Nikhil Shah <n.shah_at_decisioncraft.com>
Date: Fri 12 Aug 2005 - 20:10:37 EST


Hi,

 I have query regarding R & Rserve. In Rserve, there is a way to capture Errors by RSrvException class, but is there any way to capture warning messages?

   I have found that there is "warnings()" command in R, which lists the last warning message, but I am not able to get the warning message in java program by executing the following line:

REXP rx = null;
rx = connection.eval("x<-sqrt(-9)"); // will generate warning message connection.eval("warnings()").asString(); // this displays null instead of warning message

Please reply me correct way, if any, to display warning message.

Regards,
Nikhil Shah

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Aug 12 20:18:55 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:15:48 EST