[R] Variable c and function c

Vladimir Eremeev wl2776 at gmail.com
Tue Aug 21 17:07:05 CEST 2007

I have found the error in my script which was semi-automatically translated
from the other person's MATLAB code.

The error is that c was assigned a value inside a function.
That is the function body contained the following instructions
  firstguess<-c( 0,0,0,3,0.5,  0 ,     0 ,  0.000001)

I have already run this function and obtained the results, it was rather
long process, therefore I don't want to rerun it.

I was not given any warnings. 
How did the interpreter treat this? 
Will the result change, if I change the variable from "c" to, say, "c." ?
This variable is not used anywhere else in the function.
View this message in context: http://www.nabble.com/Variable-c-and-function-c-tf4305781.html#a12256590
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list