[R] Build R Packages (man)

Ko-Kang Kevin Wang kwan022 at stat.auckland.ac.nz
Wed Jan 9 23:25:19 CET 2002


Hi there,

I'm trying to get the manual for an R package (that I'm creating) to
work...

Firstly, I created the *.Rd files (by following the instructions in
"Writing R Extensions" and using prompt() in R, then edit the *.Rd
files.  I then copy them into the "pkg/man" directory as suggested by the
manual.  However when I load the library (successfully) in R, I cannot
find the manuals for my data sets.  For example, if I type:
   library(myLib)
   data(foo)
they work fine.  And I can play with the data set foo.  However then I
type:
  ?foo
it cannot find the documentation which I created and placed in the /man
directory.

Secondly, I tried to convert the Rd files into html using R CMD Rdconv,
but I cannot quite follow the manual "R CMD Rdconv --help".  I tried:
  R CMD Rdconv --output=html man > html
and it returns:
  Unknown type: options are txt, html, latex, Sd, example
I also tried several other ways but can't seem to get R CMD Rdconv to
work.

Thanks in advance for the help ;-)

Cheers,

Ko-Kang Wang

------------------------------------------------------------------------------
Ko-Kang Kevin Wang
Statistical Analysis Division Leader
Software Developers' Klub (SDK)
University of Auckland
New Zealand

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list