Discussion:
[Roxygen-devel] roxygenize / helpr a single function file
Jeroen Ooms
2011-08-22 21:06:12 UTC
Permalink
Suppose I have a single R file myfunction.R that contains a single R
function with appropriate roxygen comments. Is it possible to:

( 1) Convert this to an Rd using roxygen2.
( 2) Convert the Rd to HTML using helpr.

All of this outside the context of a package. It is needed for the
following: we are working on an RPC framework for R functions, in which
users can share and execute R functions. It would be nice if they could
share a function that not only can be called, but also has documentation
with it.

Thanks,

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/roxygen-devel/attachments/20110822/2e4ce519/attachment.htm>
Hadley Wickham
2011-08-22 21:49:11 UTC
Permalink
Not currently, but it would be pretty easy to hook the two up.
Hadley
Post by Jeroen Ooms
Suppose I have a single R file myfunction.R that contains a single R
( 1) Convert this to an Rd using roxygen2.
( 2) Convert the Rd to HTML using helpr.
All of this outside the context of a package. It is needed for the
following: we are working on an RPC framework for R functions, in which
users can share and execute R functions. It would be nice if they could
share a function that not only can be called, but also has documentation
with it.
Thanks,
J
_______________________________________________
Roxygen-devel mailing list
Roxygen-devel at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/roxygen-devel
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
Loading...