From edd at debian.org  Tue Jul 13 18:20:36 2004
From: edd at debian.org (Dirk Eddelbuettel)
Date: Tue Jul 13 18:20:41 2004
Subject: [Rd] Re: [R] Creating a minimal package
In-Reply-To: <j0q7f0hldlv3vhshgdggt3crpsi46ppt3f@4ax.com>
References: <ngc2f0h8up0ip07bshguimh85644ltme39@4ax.com>
	<loom.20040711T231128-574@post.gmane.org>
	<ebr3f098aho62muqapebiplkh1n3prf7et@4ax.com>
	<loom.20040712T055834-547@post.gmane.org>
	<40F23322.6010809@statistik.uni-dortmund.de>
	<loom.20040712T131806-594@post.gmane.org>
	<40F28EB3.7060902@statistik.uni-dortmund.de>
	<ta45f0ljhetd4ai746fs18dff7mim7o1i0@4ax.com>
	<40F3E850.8020202@stat.wisc.edu>
	<j0q7f0hldlv3vhshgdggt3crpsi46ppt3f@4ax.com>
Message-ID: <20040713162036.GA30197@sonny.eddelbuettel.com>

On Tue, Jul 13, 2004 at 10:02:16AM -0400, Duncan Murdoch wrote:
> Yes, I think that's right.  Currently the roadblocks are:
> 
>  - Perl 
> 
> I think we could write around this.

Is that worth it?  ActiveState Perl is easy to install. 
 
>  - Microsoft Help Compiler
> 
> Users who don't have it could do without CHM help files.

I built local packages for years, and only added this tool fairly recently
(mostly to suppress the error/warning during build).  As I don't use html
help, I obviously didn't care much.  

Non-issue in my biased book, but I acknowledge that this is probably a
minority view. That said, this is likely to be non-redistributable, so a
case could be made that as a user needs to download this anyway, how much
harder is it to download the free-as-in-beer Perl?
 
>  - Lots of Cygwin (and other) tools involved in making packages.
> 
> We could possibly rewrite the build process in R, but I don't think we
> should.  I think a better solution would be to distribute the toolset
> with R.  The full toolset doesn't add up to much (maybe 1.5 M).  A

Neat idea. I like that a lot. I can see how some users would have Perl and
Cygwin, and even MinGW, anyway, but not the BDR tools collection. This helps.

> problem is that multiple Cygwin versions don't coexist nicely, so we'd
> have to be careful during installation.
> 
>  - MinGW gcc
> 
> Users who want to compile code would still have to install the
> compiler.

And that's where it gets hairy. So we do all this to let lusers build R-only
packages, but not compiled packages?  Isn't that both a little inconsistent
and confusing?

But we could rewrite MinGW gcc in R too.

Dirk

PS Yes, I am of course joking w.r.t. MinGW

-- 
Those are my principles, and if you don't like them... well, I have others.
                                                -- Groucho Marx


[Rd] Re: [R] Creating a minimal package
Dirk Eddelbuettel