[R] RServe (java2R) question 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.

______________________________________________
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
and provide commented, minimal, self-contained, reproducible code.

