Quantcast

Unable to compile & install rggobi

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Unable to compile & install rggobi

Indrajit Sen Gupta
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]]


______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Unable to compile & install rggobi

Prof Brian Ripley
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]]
>
>
>
>
> ______________________________________________
> [hidden email] 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,                  [hidden email]
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

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Unable to compile & install rggobi

Indrajit Sen Gupta
I am sorry, but I didn't understand what you are trying to say here. Can you be a bit more explicit?
 
Indrajit
 


________________________________
From: Prof Brian Ripley <[hidden email]>

Cc: R Help <[hidden email]>
Sent: Friday, April 27, 2012 2:21 PM
Subject: Re: [R] Unable to compile & install rggobi


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.


--
Brian D. Ripley,                  [hidden email]
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
        [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Unable to compile & install rggobi

Indrajit Sen Gupta
I am able to compile it. However, when I try to check it - there is error:
 
D:\DPF\Rggobi\rggobi>R CMD check "D:\\Work\\tmp\\rggobi_2.1.17.tar.gz"
* using log directory 'D:/Work/tmp/rggobi.Rcheck'
* using R version 2.15.0 (2012-03-30)
* using platform: i386-pc-mingw32 (32-bit)
* using session charset: ISO8859-1
* checking for file 'rggobi/DESCRIPTION' ... OK
* this is package 'rggobi' version '2.1.17'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking whether package 'rggobi' can be installed ... ERROR
Installation failed.
 
Regards,
Indrajit
 
 


________________________________

To: Prof Brian Ripley <[hidden email]>
Cc: R Help <[hidden email]>
Sent: Friday, April 27, 2012 5:12 PM
Subject: Re: [R] Unable to compile & install rggobi

I am sorry, but I didn't understand what you are trying to say here. Can you be a bit more explicit?
 
Indrajit
 


________________________________
From: Prof Brian Ripley <[hidden email]>

Cc: R Help <[hidden email]>
Sent: Friday, April 27, 2012 2:21 PM
Subject: Re: [R] Unable to compile & install rggobi


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.


--
Brian D. Ripley,                  [hidden email]
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
    [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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.
        [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Unable to compile & install rggobi

Indrajit Sen Gupta
In reply to this post by Prof Brian Ripley
I came across this web site:
 
http://cran.r-project.org/bin/windows/contrib/2.15/check/
 
Where I checked the file: rggobi-check.log
 
The contents of this file is giving the same kind of error that I am facing. Does that mean, this package does not work with R 2.15 yet? Is it a bug?
 
Regards,
Indrajit
 


________________________________
From: Prof Brian Ripley <[hidden email]>

Cc: R Help <[hidden email]>
Sent: Friday, April 27, 2012 2:21 PM
Subject: Re: [R] Unable to compile & install rggobi

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]]
>
>
>
>
> ______________________________________________
> [hidden email] 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,                  [hidden email]
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
        [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Unable to compile & install rggobi

Michael Lawrence-3
GGobi needs a 64 bit binary before we can get rggobi available on Windows
again.

On Fri, Apr 27, 2012 at 6:27 PM, Indrajit Sengupta
<[hidden email]>wrote:

> I came across this web site:
>
> http://cran.r-project.org/bin/windows/contrib/2.15/check/
>
> Where I checked the file: rggobi-check.log
>
> The contents of this file is giving the same kind of error that I am
> facing. Does that mean, this package does not work with R 2.15 yet? Is it a
> bug?
>
> Regards,
> Indrajit
>
>
>
> ________________________________
> From: Prof Brian Ripley <[hidden email]>
>
> Cc: R Help <[hidden email]>
> Sent: Friday, April 27, 2012 2:21 PM
> Subject: Re: [R] Unable to compile & install rggobi
>
> 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]]
> >
> >
> >
> >
> > ______________________________________________
> > [hidden email] 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,                  [hidden email]
> 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
>         [[alternative HTML version deleted]]
>
>
> ______________________________________________
> [hidden email] 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.
>
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Unable to compile & install rggobi

Prof Brian Ripley
On 28/04/2012 04:33, Michael Lawrence wrote:
> GGobi needs a 64 bit binary before we can get rggobi available on Windows
> again.

Only true for 64-bit R on Windows, which is nowadays the primary Windows
version.  But that does not apply to the on-extended-support Windows XP
which is 32-bit only.

It does build on 32-bit Windows, and my advice was accurate and complete.

>
> On Fri, Apr 27, 2012 at 6:27 PM, Indrajit Sengupta
> <[hidden email]>wrote:
>
>> I came across this web site:
>>
>> http://cran.r-project.org/bin/windows/contrib/2.15/check/
>>
>> Where I checked the file: rggobi-check.log
>>
>> The contents of this file is giving the same kind of error that I am
>> facing. Does that mean, this package does not work with R 2.15 yet? Is it a
>> bug?
>>
>> Regards,
>> Indrajit
>>
>>
>>
>> ________________________________
>> From: Prof Brian Ripley<[hidden email]>
>>
>> Cc: R Help<[hidden email]>
>> Sent: Friday, April 27, 2012 2:21 PM
>> Subject: Re: [R] Unable to compile&  install rggobi
>>
>> 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]]
>>>
>>>
>>>
>>>
>>> ______________________________________________
>>> [hidden email] 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,                  [hidden email]
>> 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
>>          [[alternative HTML version deleted]]
>>
>>
>> ______________________________________________
>> [hidden email] 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.
>>
>>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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.


--
Brian D. Ripley,                  [hidden email]
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

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Unable to compile & install rggobi (Solved)

Indrajit Sen Gupta
I finally managed to get this done. I went to the contributed packages for version 2.14 Windows 32 bit and downloaded the zip file. This got installed smoothly in R 2.15. Don't know why I did not try this before.
 
Regards,
Indrajit
 


________________________________
From: Prof Brian Ripley <[hidden email]>
To: Michael Lawrence <[hidden email]>; r-help <[hidden email]>
Sent: Saturday, April 28, 2012 10:33 AM
Subject: Re: [R] Unable to compile & install rggobi

On 28/04/2012 04:33, Michael Lawrence wrote:
> GGobi needs a 64 bit binary before we can get rggobi available on Windows
> again.

Only true for 64-bit R on Windows, which is nowadays the primary Windows
version.  But that does not apply to the on-extended-support Windows XP
which is 32-bit only.

It does build on 32-bit Windows, and my advice was accurate and complete.

>
> On Fri, Apr 27, 2012 at 6:27 PM, Indrajit Sengupta

>
>> I came across this web site:
>>
>> http://cran.r-project.org/bin/windows/contrib/2.15/check/
>>
>> Where I checked the file: rggobi-check.log
>>
>> The contents of this file is giving the same kind of error that I am
>> facing. Does that mean, this package does not work with R 2.15 yet? Is it a
>> bug?
>>
>> Regards,
>> Indrajit
>>
>>
>>
>> ________________________________
>> From: Prof Brian Ripley<[hidden email]>
>>
>> Cc: R Help<[hidden email]>
>> Sent: Friday, April 27, 2012 2:21 PM
>> Subject: Re: [R] Unable to compile&  install rggobi
>>
>> 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]]
>>>
>>>
>>>
>>>
>>> ______________________________________________
>>> [hidden email] 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,                  [hidden email]
>> 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
>>          [[alternative HTML version deleted]]
>>
>>
>> ______________________________________________
>> [hidden email] 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.
>>
>>
>
>     [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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.

--
Brian D. Ripley,                  [hidden email]
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

______________________________________________
[hidden email] 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.
        [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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.
Loading...