[R] RServe (java2R) question

Guanrao Chen guanrao at yahoo.com
Fri Jun 22 23:03:40 CEST 2007


hi, R-ers

Can anybody tell why
------
String cmd = new
String("scan(\"tes.txt\",skip=1,nlines=1)");

double[] d = (double[]) c.eval(cmd).getContent();
------
fail
while
------
double[] d = (double[])
c.eval("rnorm(100)").getContent();
------
succeed?

Seems the only difference is the first command has
quotes inside the command and the second command does
not.

Thanks,
Guanrao



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.



More information about the R-help mailing list