[R] error: could not find function "sd"

Ben Bolker bolker at ufl.edu
Wed Sep 16 13:54:35 CEST 2009




sselamat wrote:
> 
> Hi, 
> Everytime I try to get the standard deviation of a vector and enter
> command of sd(x), i get a reply
> Error: could not find function "sd"
> Can someone help me please?
> Thanks. 
> 
> 

Hmmm.  Please provide more information, it's hard to imagine how this could
happen.
Results of sessionInfo() ???

 Here's the only way I could get this to happen:

> find("sd")
[1] "package:stats"
> detach("package:stats")
> sd(1)
Error: could not find function "sd"



-- 
View this message in context: http://www.nabble.com/error%3A-could-not-find-function-%22sd%22-tp25462193p25470840.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list