From ripley at stats.ox.ac.uk  Tue Feb 28 07:26:48 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 28 Feb 2006 06:26:48 +0000 (GMT)
Subject: [Rd] trouble with R CMD SHLIB on winXP
In-Reply-To: <7dc006e80602271627x3e54c772w2cf31979d375869d@mail.gmail.com>
References: <7dc006e80602271627x3e54c772w2cf31979d375869d@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.0602280453090.21783@gannet.stats.ox.ac.uk>

We don't know from this what the `specified program' is, but it probably 
means that a DLL cannot be found on your path.

It is probable that your PATH is set up incorrectly, so please check with 
the R-admin manual extremely carefully.  In particular, that you really do 
have a complete unpacked tools.zip at the head of your path and that you 
do not also have Cygwin on your path.

On Mon, 27 Feb 2006, j. signorovitch wrote:

> Hi,
>
> Has anyone come across this difficulty using R-2.2.1 in Windows XP:
>
> when I try to run
>
> R CMD SHLIB mycode.c
>
> I get the response:
>
> "The system cannot execute the specified program."
>
> I've tried installing all windows updates, reinstalling R and putting
> "R-2.2.1\bin" at the head of my path.
>
> Googling that error message leads to lots of stuff about *.manifest
> files.  The Rgui.exe.manifest etc. files are in my /bin directory.

Really?  *.manifest files need to be in the same directory as the 
executables they refer to, that's all.  I think you have found hits
related to Visual .NET, which is not in use.

> Funny thing is I have been using SHLIB for ~2 years on this system, up
> to several month ago, without difficulty.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] trouble with R CMD SHLIB on winXP
Prof Brian Ripley