[Rd] example package for devel newcomers

Daniel Fuka drf28 at cornell.edu
Mon Aug 1 15:46:16 CEST 2011

Hi Alexandre,

Is there a preferred language you would like to use in your package
development? I randomly downloaded packages until I found some that
helped me along my way, and might be able to help you pick one. If you
are just looking at building a package of R functions and data you
have developed, possibly the following example will get you started
till you feel comfortable with the "Writing R Extensions"
documentation (http://cran.r-project.org/doc/manuals/R-exts.pdf):

# Start R
system("R CMD build mypackage")
system("R CMD check mypackage_1.0.tar.gz")
# You will see an error here which directs you to look at the .Rcheck
# indicates you need to fill in the title fields of the man pages need
to be filled in.

This should give you a start and get you using the Writing R
Extensions docs. If you need more help, feel free to contact me
outside of the list. Don't worry, the first one might be confusing,
but after the first, they become fun.


On Sun, Jul 31, 2011 at 5:45 PM, Alexandre Aguiar
<asaguiar at spsconsultoria.com> wrote:
> Hi,
> I'd like to know whether there is a package (or more, of course) regarded
> as a good example that could be used also as an instructional tool for
> newcomers to R extensions development.
> Thanks.
> --
> Alexandre
> --
> Alexandre Santos Aguiar, MD, SCT
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

More information about the R-devel mailing list