I'm relatively new to both ESS and R so lots of potential for problems.

I have a little script that involves the following, which runs fine in R on Windows XP, but I prefer to use Emacs and ESS.  However when I include

The "trialnum1=trialnum1" and "trialnum2=trialnum2" into this function

results <- data.frame (cbind(trialnum1=trialnum1,SimOR01=sim.or.x0x1,Simlogor01=sim.lor.x0x1,
                             Simlogorse01=sim.lor.x0x1se,trialnum2=trialnum2,SimOR02=sim.or.x0x2,
                             Simlogor02=sim.lor.x0x2,Simlogorse02=sim.lor.x0x2se))

And then try to run it I get the following error

Error in Math.factor(dataout$Simlogor01) : exp not meaningful for factors

I guess what concerns me is that it works fine in the R editor, why not from ESS?

Thanks for any suggestions.

Regards

Jim
===============================
Dr. Jim Maas
Research Associate in Network Meta-Analysis
School of Medicine, Health Policy and Practice
CD Annex, Room 1.04
University of East Anglia
Norwich, UK

+44 (0) 1603 591412


	[[alternative HTML version deleted]]

