Re: [R] Constant Error in R

2012-10-10 Thread Jim Holtman
learn how to debug your program. I think the call is: options(error = recover) don't have R on my iPad so cannot check. When you do this, you drop into the 'browser' at which point you can examine the value and see that you have a non-numeric object. Sent from my iPad On Oct 10, 2012, at 6:

Re: [R] Constant Error in R

2012-10-10 Thread S Ellison
> I keep getting this "Error in x^2 : non-numeric argument to > binary operator" > using multiple different codes, ones which have been verified > to work by my professor and other students. I confirm the previous poster's lack of error in running the code supplied. I also agree that something

Re: [R] Constant Error in R

2012-10-09 Thread David Winsemius
On Oct 9, 2012, at 2:30 PM, bobo wrote: > Hi good R folks, > > I am hoping that you could help me resolve this issue. I tried finding > answers online but to no avail. > > I keep getting this "Error in x^2 : non-numeric argument to binary operator" > using multiple different codes, ones which h

[R] Constant Error in R

2012-10-09 Thread bobo
Hi good R folks, I am hoping that you could help me resolve this issue. I tried finding answers online but to no avail. I keep getting this "Error in x^2 : non-numeric argument to binary operator" using multiple different codes, ones which have been verified to work by my professor and other stud