Hello to everyone I''ve downloaded the version sm2 for smoothing methods and when I try the simple code y <- rnorm(50) sm.density(y, model = "Normal") I get the error message Error in if (any(omit)) { : missing value where logical needed I''m running R 1.1.1. on windows 98 Anybody can help? -------------- next part -------------- An HTML attachment was scrubbed... URL: stat.ethz.ch/pipermail/r-help/attachments/20010124/a8b514b8/attachment.html
On Wed, 24 Jan 2001, [iso-8859-1] Julio Gómez wrote:> Hello to everyone > > I''ve downloaded the version sm2 for smoothing methods and when I try the simple code > > y <- rnorm(50) > sm.density(y, model = "Normal") > > I get the error message > > Error in if (any(omit)) { : missing value where logical needed > > I''m running R 1.1.1. on windows 98 > > Anybody can help? >You can, by actually reading the ReadMe. We no longer support pre-compiled downloads for versions prior to rw1020. sm2 is not supported for 1.1.1, anyway. You have also broken a rule in the ReadMe, so do make sure you go and read it carefully. Do reward all the hard work that goes into this by taking a modicum of care over what you do with it. And do upgrade your R. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, stats.ox.ac.uk/~ripley University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> Julio G?mez wrote: > > Hello to everyone > > I''ve downloaded the version sm2 for smoothing methods and when I try > the simple code > > y <- rnorm(50) > sm.density(y, model = "Normal") > > I get the error message > > Error in if (any(omit)) { : missing value where logical needed > > I''m running R 1.1.1. on windows 98Works for me (R-1.2.1, NT4), so I think you have downloaded a binary version of sm, which is compiled for R-1.2.0 or later. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I''ve upgraded to version 1.2.1 and now works fine Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: stat.ethz.ch/pipermail/r-help/attachments/20010124/59762f11/attachment.html