From ripley at stats.ox.ac.uk  Sat Apr 28 16:36:15 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sat, 28 Apr 2012 15:36:15 +0100
Subject: [Rd] Unable to install rggobi in R 2.15
In-Reply-To: <1335577655.10862.YahooMailNeo@web65413.mail.ac4.yahoo.com>
References: <1335577655.10862.YahooMailNeo@web65413.mail.ac4.yahoo.com>
Message-ID: <4F9C005F.8000303@stats.ox.ac.uk>

Do not cross-post.  This was answered on R-help.


On 28/04/2012 02:47, Indrajit Sengupta wrote:
> I am currently using R 2.15.0 with R Tools 2.15 (in Windows XP). I downloaded the source for RGgobi and extracted it to a folder.
>
> Then I tried compiling and installing with the following command and got an error message:
> --------------------------------------------------------------------------------------------
> D:\Work\tmp>R CMD INSTALL --build "D:\\DPF\\Rggobi\\rggobi"
> * installing to library 'C:/Program Files/R/R-2.15.0/library'
> * installing *source* package 'rggobi' ...
> ** libs
> cygwin warning:
>    MS-DOS style path detected: C:/PROGRA~1/R/R-215~1.0/etc/i386/Makeconf
>    Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-215~1.0/etc/i386/Makeconf
>    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
>    Consult the user's guide for more details about POSIX paths:
>      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> gcc  -I"C:/PROGRA~1/R/R-215~1.0/include" -DNDEBUG -D_R_=1 -DUSE_R=1 -mms-bitfields -I/include/gtk-2.0 -I/include/gdk-pixbuf-2.0 -I/../lib/gtk-2.0/include -
> I/include/atk-1.0 -I/include/cairo -I/include/pango-1.0 -I/include/glib-2.0 -I/../lib/glib-2.0/include -I/include/libxml2 -I/include -I/include/ggobi -IC:/
> PROGRA~1/R/R-215~1.0/include -I/include/libxml         -O3 -Wall  -std=gnu99 -mtune=core2 -c RSEval.c -o RSEval.o
> In file included from RSEval.c:6:0:
> RSGGobi.h:5:22: fatal error: GGobiAPI.h: No such file or directory
> compilation terminated.
> make: *** [RSEval.o] Error 1
> ERROR: compilation failed for package 'rggobi'
> * removing 'C:/Program Files/R/R-2.15.0/library/rggobi'
> --------------------------------------------------------------------------------------------
>
> Can anybody help in figuring out what is the problem? I have installed GGobi&  RGtk2 previously.
>
> Regards,
> Indrajit
> 	[[alternative HTML version deleted]]
>
>
>
>
> ______________________________________________
> 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] Unable to install rggobi in R 2.15
Prof Brian Ripley