Re: [R] [SPAM] - Re: R package development in windows - BayesianFilter detected spam

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Fri, 04 May 2007 18:46:32 -0400

On 04/05/2007 4:25 PM, Greg Snow wrote:
> I have used the pp/par combination for Perl before. It is pretty straight forward to convert an existing perl script into a stand alone windows executable.
>
> Both the Activestate licence and the Perl Artistic licence allow for embedding a script and perl interpreter together and distributing the result.
>
> The current perl script(s) used for the R package build package could easily be converted to a 'stand alone' windows executable and be distributed with Rtools for those who do not want to install Perl themselves.
>
> The only drawback is that even a "Hello World" script will result in over a meg sized executable (due to the perl interpreter being included).

I took a quick look at the PAR page on CPAN, and it seems possible to build a DLL that incorporates the interpreter, and then each individual script .exe could be much smaller. I'll see if I can get that to work; it would be really nice to be able to drop the Perl requirement. If we could do that, I'd include the command line tools plus the compiled scripts with the basic R distribution, so you could easily build simple packages. The Rtools.exe installer would then just need to install the MinGW compilers for packages containing compiled code, and a few extras needed for building R.

I don't really know Perl, so I might be asking for advice if I get stuck.

Duncan Murdoch
>
>
> ________________________________
>
> From: r-help-bounces_at_stat.math.ethz.ch on behalf of Gabor Grothendieck
> Sent: Fri 5/4/2007 11:55 AM
> To: Doran, Harold
> Cc: r-help_at_stat.math.ethz.ch; Duncan Murdoch
> Subject: Re: [R] [SPAM] - Re: R package development in windows - BayesianFilter detected spam
>
>
>
> Just googling I found this:
>
> http://www.perlmonks.org/?node_id=186402
>
> On 5/4/07, Doran, Harold <HDoran_at_air.org> wrote:
>>> The best, of course, would be to get rid of Perl altogether.
>> In Python, it is possible to make standalone executables. Is it possible
>> to also do this in Perl, then one could eliminate a perl install. Or, is
>> it possible to use Python to accomplish what perl is currently doing? I
>> may be getting in over my head here since I really don't know what perl
>> is doing under the hood.
>>
>> Harold
>>
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 04 May 2007 - 22:54:38 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 05 May 2007 - 02:31:44 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.