Displaying 2 results from an estimated 2 matches for "pkg_root".
Did you mean:
pae_root
2009 Feb 08
2
updating contents of a package
Dear fellow R users,
I read through the "Writing R Extensions" document and am able to now create
my own packages/libraries which so far are just well documented collections
of my own R functions. I use package.skeleton() and the tools package to
build these packages.
However, it is not clear to me how to modify and update a package after its
initial creation. How do you elegantly update
2007 Aug 06
2
Makefile for embedding OpenBUGS in R package
...ined in $OpenBUGS/Manuals/CBugs.html
(copied to say CBugs.c) using
gcc -m32 -o bugs CBugs.c -ldl
I put the OpenBUGS distribution in the ./inst subdirectory of
the package root. Where should I now put the CBugs.c and how
should the Makefile look like in order to be able to call
$PKG_ROOT/OpenBUGS/bugs afterwards ?
Naively putting the following Makefile in ./src does not work
-%--------
bugs: ../inst/OpenBUGS/CBugs.c
gcc -m32 -o bugs ../inst/OpenBUGS/CBugs.c -ldl
-%-------
The objective is to use something along the following
execfile <- system.file...