Srinivas Iyyer
2005-Jul-27 02:22 UTC
[R] Error in FUN(newX[, i], ...) : `x' must be atomic
Hello Group, What is the meaning of the error. is there any place to look for this. I guess 'atomic' seems to be OOP related concept. thank you srini
Adaikalavan Ramasamy
2005-Jul-27 02:37 UTC
[R] Error in FUN(newX[, i], ...) : `x' must be atomic
Perhaps a reproducible example and short explanation of what you want to do might help. I suspect that you fed a null value into a function that expects a non-null value or something. On Tue, 2005-07-26 at 19:22 -0700, Srinivas Iyyer wrote:> Hello Group, > What is the meaning of the error. is there any place > to look for this. I guess 'atomic' seems to be OOP > related concept. > > thank you > srini > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Simon Blomberg
2005-Jul-27 02:39 UTC
[R] Error in FUN(newX[, i], ...) : `x' must be atomic
Actually, atoms are originally a Lisp concept. Objects are either atoms or not. Atoms are data types that cannot be taken apart, such as numbers or symbols. Lists and vectors (of length > 1) are examples of non-atomic data types. Did you pass a vector to FUN? Cheers, Simon. At 12:22 PM 27/07/2005, Srinivas Iyyer wrote:>Hello Group, > What is the meaning of the error. is there any place >to look for this. I guess 'atomic' seems to be OOP >related concept. > >thank you >srini > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.htmlSimon Blomberg, B.Sc.(Hons.), Ph.D, M.App.Stat. Centre for Resource and Environmental Studies The Australian National University Canberra ACT 0200 Australia T: +61 2 6125 7800 email: Simon.Blomberg_at_anu.edu.au F: +61 2 6125 0757 CRICOS Provider # 00120C