[R] installing and using a package

jpolo at mail.usf.edu jpolo at mail.usf.edu
Fri Jan 11 01:06:11 CET 2008


i'm trying to learn R. i have no programing experience. i tried to add on
a package and just picked "yags". i can't get it to work or get any help.

---
> install.packages("yags")
Warning in install.packages("yags") :
  argument 'lib' is missing: using 'C:\Documents and Settings\j\My
Documents/R/win-library/2.6'
trying URL
'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.6/yags_4.0-2.zip'
Content type 'application/zip' length 183779 bytes (179 Kb)
opened URL
downloaded 179 Kb

package 'yags' successfully unpacked and MD5 sums checked

The downloaded packages are in
        C:\Documents and Settings\j\Local
Settings\Temp\RtmpXGE7rd\downloaded_packages
updating HTML package descriptions
---

then i tried:

---
> help("yags")
No documentation for 'yags' in specified packages and libraries:
you could try 'help.search("yags")'
---

help.search doesn't help. when i type library() the result says:

---
Packages in library 'C:\Documents and Settings\j\My
Documents/R/win-library/2.6':

yags                          Yet Another GEE Solver

Packages in library 'C:/PROGRA~1/R/R-26~1.0/library':

base                          The R Base Package
boot                          Bootstrap R (S-Plus) Functions (Canty)
class                         Functions for Classification
cluster                       Cluster Analysis Extended Rousseeuw et al.
...
---

i've checked the Admin and Maint manual, but i'm stumped as to how to get
yags to actually work. i copied and pasted the example from the html file
in the yags folder and after every line that called yags, there was an
error message that said:
Error: could not find function "yags".




More information about the R-help mailing list