You need to install the packages before your script can load.

http://cran.r-project.org/doc/manuals/R-admin.html#Installing-packages

?install.packages()

B

On Fri, Mar 16, 2012 at 17:35, Evan & Chele Jones <
joneswhanau@slingshot.co.nz> wrote:

> I'm fairly new to R and I'm not sure that I am posting to the correct
> group.  If not - can someone please point me in the right direction?
>
> I am doing a paper which requires me to use R packages including car,
> faraway and mvtnorm.  When I go to install these I get the warning message
> as below.
>
> > source("Install331Mac.r")
> Warning message:
> In getDependencies(pkgs, dependencies, available, lib) :
>  packages ‘car’, ‘faraway’, ‘mvtnorm’ are not available (for R version
> 2.14.2)
>
> I am running 10.6.8 and using R 2.14.2 GUI 1.50 Leopard build 32-bit
> (6126).
>
> Any suggestions as to how I can load/use these packages?
>
> Cheers
>
> evan jones
>
>
>
>
> Evan Jones
>
> 18a Chester Street
> Taradale
> Napier
> New Zealand
>
> Ph:     06 844 8529             Mob:    021 035 3310
>
>
>
>
>
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>

	[[alternative HTML version deleted]]

