Displaying 1 result from an estimated 1 matches for "rwarning1".
Did you mean:
rwarning
2005 Aug 22
1
Fetching Warning Messages
...lso used last.warning but it Java
Program gives an error saying that last.warning object is not found. I have
pasted both the java code below :
This is the java program that I have written to use "last.warning" object of
R. Please explain me where the error could be.
------------Code of RWarning1.java----------------
import org.rosuda.JRclient.*;
class RWarning1
{
public static void main(String args[])
{
try
{
String hostName = null;
hostName = args[0];
Rconnection c = new Rconnection(hostName);
System.out.println(c.eval("x<-sqrt(-9)").asSt...