Message-ID: <21881.30949.232065.351419@max.nulle.part>
Date: 2015-06-11T12:02:45Z
From: Dirk Eddelbuettel
Subject: [R-pkg-devel] Questions for writing a package
In-Reply-To: <2015061114105539628926@aliyun.com>
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