From murdoch at stats.uwo.ca  Sun May 27 23:44:46 2007
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Sun, 27 May 2007 17:44:46 -0400
Subject: [Rd] Problem with installing a package for R 2.5.0
In-Reply-To: <4659FABD.5040207@schoolph.umass.edu>
References: <4659FABD.5040207@schoolph.umass.edu>
Message-ID: <4659FBCE.8080106@stats.uwo.ca>

On 27/05/2007 5:40 PM, Recai Yucel wrote:
> Hi All,
> 
> I developed a package which did pass all the tests for R 2.4.1. When I 
> tried to re-compile it for R 2.5.0 it kept giving me the following message:
> 
> *******************
> C:\Program Files\R\R-2.5.0\bin>R CMD install mlmmm_0.1-1.tar.gz
> installing to 'c:/PROGRA~1/R/R-25~1.0/library'
> 
> 
> ---------- Making package mlmmm ------------
>  adding build stamp to DESCRIPTION
>  installing NAMESPACE file and metadata
>  making DLL ...
> g77 -O3 -Wall   -c mlm.f -o mlm.o
> g77 -O3 -Wall   -c mlmmm.f -o mlmmm.o
> windres -I c:/PROGRA~1/R/R-25~1.0/include  -i mlmmm_res.rc -o mlmmm_res.o
> gcc  -shared -s  -o mlmmm.dll mlmmm.def mlm.o mlmmm.o mlmmm_res.o  
> -Lc:/PROGRA~1
> /R/R-25~1.0/bin   -lg2c -lR
>  ... DLL made
>  installing DLL
>  installing R files
>  installing inst files
> FIND: Parameter format not correct
> make[2]: *** [c:/PROGRA~1/R/R-25~1.0/library/mlmmm/inst] Error 2
> make[1]: *** [all] Error 2
> make: *** [pkg-mlmmm] Error 2
> *** Installation of mlmmm failed ***

That's a pretty clear sign that your PATH isn't set up correctly: you're 
using the FIND that comes with Windows rather than the find that comes 
with the R toolset.

Duncan Murdoch



[Rd] Problem with installing a package for R 2.5.0
Duncan Murdoch