From ripley at stats.ox.ac.uk  Fri Dec  5 21:02:41 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri, 5 Dec 2008 20:02:41 +0000 (GMT)
Subject: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28
In-Reply-To: <493985DF.7090303@aon.at>
References: <493985DF.7090303@aon.at>
Message-ID: <alpine.LFD.2.00.0812052000240.4333@gannet.stats.ox.ac.uk>

This is a PATH error: you must have Rtools/bin before Windows system 
directories in your path.  As the R-admin manual tells you explicitly ....

fortune("WTFM") applies.

On Fri, 5 Dec 2008, cstrato wrote:

> Dear all
>
> When trying to install my package on Windows XP on my Mac, I get the 
> following error:
>
> ---------- Making package xps ------------
> ...
> ...
> xpsDict.cxx
> "C:\Programme\Microsoft Visual Studio 9.0\VC\bin/link" /dll /def:xps.def 
> /out:xps.dll fp10.obj  -opt:noref  -nologo -include:_G__cpp_setupG__Hist 
> -include:_G__cpp_setupG__Graf1 -include:_G__cpp_setupG__G3D 
> -include:_G__cpp_setupG__GPad -include:_G__cpp_setupG__Tree 
> -include:_G__cpp_setupG__Rint -include:_G__cpp_setupG__PostScript 
> -include:_G__cpp_setupG__Matrix -include:_G__cpp_setupG__Physics 
> -include:_G__cpp_setupG__Ged  "C:\root/lib/libCore.lib" 
> "C:\root/lib/libCint.lib" "C:\root/lib/libHist.lib" "C:\root/lib/libGraf.lib" 
> "C:\root/lib/libGraf3d.lib" "C:\root/lib/libGpad.lib" 
> "C:\root/lib/libTree.lib" "C:\root/lib/libRint.lib" 
> "C:\root/lib/libPostscript.lib" "C:\root/lib/libMatrix.lib" 
> "C:\root/lib/libPhysics.lib" "C:\root/lib/libNet.lib" 
> "C:\root/lib/libRIO.lib" "C:\root/lib/libMathCore.lib" 
> "C:\root/lib/libGui.lib" "C:\root/lib/libGraf.lib" "C:\root/lib/libGpad.lib" 
> "C:\root/lib/libGed.lib" "C:\root/lib/libTreePlayer.lib" 
> "C:\root/lib/libTreeViewer.lib" *.obj
>  Creating library xps.lib and object xps.exp
> ... done
> installing DLL
> installing R files
> installing inst files
> FIND: Parameterformat falsch
> make[2]: *** [C:/home/Rabbitus/CRAN/xps.Rcheck/xps/inst] Error 2
> make[1]: *** [all] Error 2
> make: *** [pkg-xps] Error 2
> *** Installation of xps failed ***
>
>
> However, when I install my package on my Windows XP laptop, everything is ok:
>
> ---------- Making package xps ------------
> ...
> ...
> xpsDict.cxx
> "C:\Programme\Microsoft Visual Studio 9.0\VC\bin/link" /dll /def:xps.def 
> /out:xps.dll fp10.obj  -opt:noref  -nologo -include:_G__cpp_setupG__Hist 
> -include:_G__cpp_setupG__Graf1 -include:_G__cpp_setupG__G3D 
> -include:_G__cpp_setupG__GPad -include:_G__cpp_setupG__Tree 
> -include:_G__cpp_setupG__Rint -include:_G__cpp_setupG__PostScript 
> -include:_G__cpp_setupG__Matrix -include:_G__cpp_setupG__Physics 
> -include:_G__cpp_setupG__Ged  "C:\root/lib/libCore.lib" 
> "C:\root/lib/libCint.lib" "C:\root/lib/libHist.lib" "C:\root/lib/libGraf.lib" 
> "C:\root/lib/libGraf3d.lib" "C:\root/lib/libGpad.lib" 
> "C:\root/lib/libTree.lib" "C:\root/lib/libRint.lib" 
> "C:\root/lib/libPostscript.lib" "C:\root/lib/libMatrix.lib" 
> "C:\root/lib/libPhysics.lib" "C:\root/lib/libNet.lib" 
> "C:\root/lib/libRIO.lib" "C:\root/lib/libMathCore.lib" 
> "C:\root/lib/libGui.lib" "C:\root/lib/libGraf.lib" "C:\root/lib/libGpad.lib" 
> "C:\root/lib/libGed.lib" "C:\root/lib/libTreePlayer.lib" 
> "C:\root/lib/libTreeViewer.lib" *.obj
>  Creating library xps.lib and object xps.exp
> ... done
> installing DLL
> installing R files
> installing inst files
> preparing package xps for lazy loading
> installing man source files
> installing indices
> Warning messages:
> 1: In file.create(f.tg) :
> kann Datei 'c:/Programme/R/R-2.8.0/doc/html/packages.html' nicht erzeugen. 
> Grund 'Permission denied'
> 2: In tools:::win.packages.html(.Library) :
> kann HTML Paketindex nicht aktualisieren
> installing help
>>>> Building/Updating help pages for package 'xps'
> ...
>
> To my knowledge I have only made one difference when installing everything 
> necessary to build my package:
> On my laptop I have installed Rtools27.exe, while on WinXP on my Mac I have 
> installed Rtools28.exe.
>
> Do you know what the reason for the error might be?
>
> Thank you in advance.
> Best regards
> Christian
> _._._._._._._._._._._._._._._._._._
> C.h.r.i.s.t.i.a.n   S.t.r.a.t.o.w.a
> V.i.e.n.n.a           A.u.s.t.r.i.a
> e.m.a.i.l:        cstrato at aon.at
> _._._._._._._._._._._._._._._._._._
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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] Error in R CMD INSTALL on Windows XP using Rtools28
Prof Brian Ripley