>
> One example among many: I tell it
>
> library (gam)  all I get is an error message.
>
> Error in library (gam)  : there is no package called 'gam'
>
> Well, does this mean what it says, or does it mean something  
> different? For
> example, does it mean that such-and-such computer program has not  
> yet been
> downloaded?

It just means you need to install the library as R comes with only  
the default libraries. To install the gam library, use the following  
command:

install.packages("gam", dependencies = TRUE)

It downloads and installs the gam package and all its dependencies.  
You can use this for installing any package you find.

Cheers,
Wee-Jin

______________________________________________
[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