[R] functions in a package

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Apr 14 11:01:43 CEST 2003


"Andrew C. Ward" <s195404 at student.uq.edu.au> writes:

> Yan, I believe this very question was asked on this list in the past
> couple of weeks. One of the solutions was
>   > search() # gives a list of loaded packages
>   > ls(pos=2) # lists all functions in pos=2 of the search path

...although ls("package:foo") might be preferable if you can't be sure
of the position in the search path.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-help mailing list