[R] functions in a package
Roger Peng
rpeng at stat.ucla.edu
Mon Apr 14 23:08:16 CEST 2003
You might be interested in the function lsf.str(), which lists all
functions and their argument lists. For example,
> library(foreign)
> lsf.str("package:foreign")
data.restore : function (file, print = FALSE, verbose = FALSE, env =
.GlobalEnv)
lookup.xport : function (file)
read.S : function (file)
read.dta : function (file, convert.dates = TRUE, tz = "GMT",
convert.factors = TRUE)
read.epiinfo : function (file, read.deleted = FALSE, guess.broken.dates =
FALSE,
thisyear = NULL, lower.case.names = FALSE)
read.mtp : function (file)
read.spss : function (file, use.value.labels = TRUE, to.data.frame =
FALSE,
max.value.labels = Inf)
read.ssd : function (libname, sectionnames, tmpXport = tempfile(),
tmpProgLoc = tempfile(),
sascmd = "sas")
read.xport : function (file)
write.dta : function (dataframe, file, version = 6, convert.dates = TRUE,
tz = "GMT", convert.factors = c("labels", "string", "numeric",
"codes"))
>
-roger
_______________________________
UCLA Department of Statistics
http://www.stat.ucla.edu/~rpeng
On Sun, 13 Apr 2003, Yan Yu wrote:
> Hello,
> I have a beginner's Q:
> if i want to know all the functions provided by a package,
> what is command for that?
> in another word,
> Is there a command to list all the commands available in a packege?
> thanks a lot,
> yan
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
More information about the R-help
mailing list