R-3.0.1 (use all digits for describing an R version) is not the problem.
 Most likely you are masking a function
or something like that.  When you started the R session, did you get a
message about "restoring a previous session"?
If so, then close R, find the directory in which you were working and
delete (or rename) the file ".RData", and start R again.
Or perhaps you inadvertently detached the "stats" package.  type "search()"
to check on that.
The repair is the same as above.

Rich

On Tue, Aug 13, 2013 at 10:08 AM, Sinne Smed <ss@ifro.ku.dk> wrote:

> I am teaching a summercourse this and the next week where the students are
> using R.
>
>
>
> We have downloaded and use the new version R.3.0. It has worked perfectly
> until today where some of the basic functions have started NOT to work.
>
>
>
> Examples are sd() and lm ()
>
>
>
> The message we get is Error: could not find function "lm" or Error: could
> not find function "sd"
>
>
>
> Have you ever encountered that. If yes what can I do about it. Is it a
> basic error in the new R version? I have used R for teaching in 5 years now
> and hae ever encountered a problem like that??
>
>
>
> Thanks, Sinne
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org 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.
>

	[[alternative HTML version deleted]]

