From stefan.evert at uos.de  Sun Nov 30 13:51:40 2008
From: stefan.evert at uos.de (Stefan Evert)
Date: Sun, 30 Nov 2008 13:51:40 +0100
Subject: [Rd] unrelated software install triggering an error from R's
	install script on Mac OS X 10.5
In-Reply-To: <49315329.7050703@gmail.com>
References: <49315329.7050703@gmail.com>
Message-ID: <5EF06ADB-867B-4151-BBD2-E8293BE42745@uos.de>


> The steps needed to generate the error are:
>
> - install a binary distribution of R (default location)
> - add R to the PATH

Did you actually add

	/Library/Frameworks/R.framework/Resources/bin/

to your PATH?  You're not supposed to do that!  What made you think so?

This directory contains a range of support scripts for R which are not  
intended for direct use from the command line or other programs.  In  
my installation, there's just a symlink from /usr/bin/R to the R  
binary in the directory above, which AFAIK is the only program you  
need to invoke directly.

In your case, R's "INSTALL" script, which implements the "R CMD  
INSTALL" functionality masks the standard "install" program in /usr/ 
bin/install, so Python's installer now picks up a completely wrong  
program.  Even if you edit R's "INSTALL" script, it'll do something  
entirely different from what you expect.

BTW, putting the R binary directory ahead of system directories such  
as /usr/bin in your PATH is an even worse idea than including it there  
in the first place. ;-)



Best regards,
Stefan Evert

[ stefan.evert at uos.de | http://purl.org/stefan.evert ]



[Rd] unrelated software install triggering an error from R's install script on Mac OS X 10.5
Stefan Evert