Ben Bolker wrote:


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"


Or if you start R by specifying that stats is not among the default packages.

Anyway, I guess it is a broken installation and re-installing will fix it.

Uwe Ligges

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to