On Tue, 18 Jan 2011, Berend Hasselman wrote: > On 18-01-2011, at 21:14, Allin Cottrell wrote: > > > > > Hmm, works fine on Vista here. Is the path to Rlib set correctly > > (Preferences/General/Programs)? > > Started within Gretl.app (my version). > Ran script. Got this on stderr: > > Error in eval.with.vis(expr, envir, enclos) : > object 'gretldata' not found > > I have attached the Gretl generated script. > I don't see where gretldata is loaded.
Hmm, it's not loaded. You're using --send-data OK? In CVS and snapshots I've added some more error-reporting in this area. Just for reference, here's the complete test case that I'm running (with no error on Linux or MS Vista): open australia.gdt foreign language=R --send-data testedvar <- gretldata[,"lpau"] PP.test(testedvar) end foreign Allin