Re: [Rd] executable files R package

2012-02-20 Thread Prof Brian Ripley
>] On Behalf Of sahir bhatnagar Sent: Friday, February 17, 2012 12:59 PM To: Duncan Murdoch Cc: r-devel@r-project.org <mailto:r-devel@r-project.org> Subject: Re: [Rd] executable files R package thank

Re: [Rd] executable files R package

2012-02-20 Thread sahir bhatnagar
;> system.file(package="yourPkg", "executables", "win32", "prebuilt.exe"). >>> Paste the output of that into the command given to system(). >>> >>> Bill Dunlap >>> Spotfire, TIBCO Software >>> wdunlap tibco.com

Re: [Rd] executable files R package

2012-02-20 Thread Prof Brian Ripley
nd given to system(). Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-devel-boun...@r-project.org [mailto: r-devel-boun...@r-project.org] On Behalf Of sahir bhatnagar Sent: Friday, February 17, 2012 12:59 PM To: Duncan Murdoch Cc: r-devel@r-project.org Su

Re: [Rd] executable files R package

2012-02-20 Thread sahir bhatnagar
evel-boun...@r-project.org] On Behalf Of sahir > > bhatnagar > > Sent: Friday, February 17, 2012 12:59 PM > > To: Duncan Murdoch > > Cc: r-devel@r-project.org > > Subject: Re: [Rd] executable files R package > > > > thanks, > > I will not submit to CRAN. >

Re: [Rd] executable files R package

2012-02-17 Thread William Dunlap
> From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On > Behalf Of sahir > bhatnagar > Sent: Friday, February 17, 2012 12:59 PM > To: Duncan Murdoch > Cc: r-devel@r-project.org > Subject: Re: [Rd] executable files R package > > thanks, > I will

Re: [Rd] executable files R package

2012-02-17 Thread sahir bhatnagar
thanks, I will not submit to CRAN. I am having trouble going about including the .exe files in my package. >From the readings I see that the .exe files must be placed in a 'src' folder. But I don't see how I can access those files in R, without having to specify its path in the R command 'system'.

Re: [Rd] executable files R package

2012-02-15 Thread Duncan Murdoch
On 13/02/2012 2:36 PM, sahir bhatnagar wrote: I am in the process of creating a package in R which calls pre-compiled C code i.e. '.exe' files in Windows. Since CRAN will not accept packages with binary code files, what are my options to meet the requirements while still including the executable

[Rd] executable files R package

2012-02-15 Thread sahir bhatnagar
I am in the process of creating a package in R which calls pre-compiled C code i.e. '.exe' files in Windows. Since CRAN will not accept packages with binary code files, what are my options to meet the requirements while still including the executable file? I read section 1.5.2 of the manual which