[Lign251] downloading binom

Roger Levy rlevy at ucsd.edu
Fri Nov 2 14:38:54 PDT 2007


Katie McGee wrote:
> I used install.packages("binom") to download the function we need and  
> it *appeared* to be successful.  I got this message:
> 
> downloaded 308Kb
> The downloaded packages are in
> 	/tmp/RtmpdNkFx1/downloaded_packages
> 
> But when I try to use binom.bayes() I get
> Error: could not find function "binom.bayes"
> 
> Is there another step in the download process that I missed?

Hi Katie,

Klinton was right: you need to invoke

   library(binom)

after installing.  Sorry I left out that step.

> 
> Also, when I tried to search for it in help it didn't find an entry.

I think you may need to restart R for the documentation to be updated, 
but once you do,

   library(binom)
   ?binom.bayes

should give you an entry.

Roger

-- 

Roger Levy                      Email: rlevy at ucsd.edu
Assistant Professor             Phone: 858-534-7219
Department of Linguistics       Fax:   858-534-4789
UC San Diego                    Web:   http://ling.ucsd.edu/~rlevy



More information about the Lign251 mailing list