Hi Bobby,
You are right - "functions" is a StringBuffer object. I've compiled without the syntax error. The error message is: Error in dev.print(.... can only read screen device Do you think this means that RTerm doesn't actually produce a Screen plot when called from Java? i.e., functions.append("plot(something)\n"); doesn't produce a screen plot anywhere? Regards, Laura ------------------------------------------------- Laura Jane Dow Energy Scitech Ltd, Scitech House, 1 Barnby Road, Knaphill, Woking, Surrey. GU21 2NL [EMAIL PROTECTED] Phone: +44 (0)1483 79 50 58 Direct Phone: +44 (0)1483 79 78 00 Central Fax: +44 (0)1483 79 76 00 Mobile: +44 (0)7763 10 54 07 <http://www.enscitech.com/> http://www.enscitech.com [[alternative HTML version deleted]] ______________________________________________ [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