On 27/04/2012 08:56, 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.
You need to set some environment variables: study the rggobi sources for
what. E.g. I bet GGobi is not installed in the root, so -I/include/ggobi
will not work.
Regards,
Indrajit
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Please do as you were asked: no HTML, programming questions to R-devel,
questions about packages to the maintainer ....
--
Brian D. Ripley, rip...@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
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.