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