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.

______________________________________________
[email protected] 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.

Reply via email to