[R-pkg-devel] Questions for writing a package
Dirk Eddelbuettel
edd at debian.org
Thu Jun 11 14:02:45 CEST 2015
On 11 June 2015 at 14:10, haixiao990 at aliyun.com wrote:
| I'm now developing a package, which needs to call other released software.
| The software include executable files with configuration files for Win/Linux/Mac. There is no need to install or compiling the software.
| I know it is possible to call the software executable files by invoking a system command using the function 'system()',
| but how can I build up a package with these executable files? What directory should I put the software files?
| Does anyone have experience or solutions?
Please see
http://cran.r-project.org/doc/manuals/r-release/R-exts.html#Non_002dR-scripts-in-packages
as well as help(system.file) in R to locate such files.
As far as I know CRAN will probably reject a package containing binaries.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the R-package-devel
mailing list