From Richard.Beare at csiro.au  Wed Nov 24 08:27:01 2004
From: Richard.Beare at csiro.au (Richard Beare)
Date: Wed Nov 24 08:27:13 2004
Subject: [Rd] R-2.0.1 and Rggobi
In-Reply-To: <1abe3fa90411232214fec3fd0@mail.gmail.com>
References: <41A3F7EC.2000006@csiro.au>	
	<20041124034542.GA16830@sonny.eddelbuettel.com>	
	<41A4104B.6020102@csiro.au>	
	<Pine.LNX.4.61.0411240546110.4979@gannet.stats>
	<1abe3fa90411232214fec3fd0@mail.gmail.com>
Message-ID: <41A437C5.1040503@csiro.au>

OK, last posting on this thread - the combinations I have tried and the 
results are

ggobi           Rggobi   Result

1.0-1-beta      1.1-0    segfault
1.0-1-beta      1.1-1    segfault
1.0-0-beta      1.1-0    segfault
1.0-0-beta      1.1-1    segfault
1.0-0           1.1-0    segfault
1.0-0           1.1-1    segfault
1.0-0           1.0.0      OK     (with previously mentioned fix 
ammended as per BR's advice)


Obviously there are a couple of other combinations, but I'll stop there 
for now. Note that the ggobi builds are all with the default configure 
options.

A.J. Rossini wrote:
> Brian is correct regarding the lists, but note that Rggobi 1.1 works
> for me (Duncan T-L sent me the following link which worked for me on
> an old R-H or SuSE system (sorry Dirk!  not had a chance to change it
> yet...).
> 
> " Try the tar file at
>     http://www.ggobi.org/Download/Rggobi_1.1-0.tar.gz
> "
> 
> best,
> -tony
> 
> On Wed, 24 Nov 2004 05:50:46 +0000 (GMT), Prof Brian Ripley
> <ripley@stats.ox.ac.uk> wrote:
> 
>>Please note that is not the correct fix.  From the ONEWS in 2.0.1:
>>
>>    o   The undocumented C-level entry point R_IsNaNorNA has been
>>        removed.  It was used in a couple of packages, and should be
>>        replaced by a call to the documented macro ISNAN.
>>
>>The ggobi list are now operational again (or at least they have had a
>>burst of activity), and that would be the appropriate place to pursue
>>this.
>>
>>
>>
>>On Wed, 24 Nov 2004, Richard Beare wrote:
>>
>>
>>>Hi,
>>>
>>>Thanks for that - I attempted to install the earlier versions I had been
>>>successful with before - Rggobi 1.0.0 and ggobi 1.0.0-beta. The R side of
>>>things wouldn't compile out of the box due to a change in the R_IsNaNorNA
>>>function. This caused a problem in RSGgobi.c, which I fixed by adding the
>>>following patch:
>>>
>>>static int G_IsNaNorNA(double f)
>>>{
>>> return (R_IsNaN(f) || R_IsNA(f));
>>>}
>>>
>>>and changed
>>>  GGobi_setMissingValueIdentifier(R_IsNaNorNA);
>>>to
>>>  GGobi_setMissingValueIdentifier(G_IsNaNorNA);
>>>
>>>I can at least load the package and start ggobi now.
>>>
>>>Thanks
>>>
>>>Dirk Eddelbuettel wrote:
>>>
>>>>Richard,
>>>>
>>>>On Wed, Nov 24, 2004 at 01:54:36PM +1100, Richard Beare wrote:
>>>>
>>>>
>>>>>Hi,
>>>>>I've had no luck with the combination of R-2.0.1 and Rggobi/gobi (1.1-1
>>>>>and 1.0-1 beta). I've tried a default configuration of ggobi, as well as
>>>>>one with all the plugins enabled. I'm using RedHat 9 Linux.
>>>>>
>>>>>The problem I'm experiencing is a segmentation fault when library.dynam is
>>>>>called from .First.lib
>>>>>
>>>>>ggobi appears to work OK from the command line. I had an earlier
>>>>>combination working under R-1.8.1
>>>>>
>>>>>Does anyone have fixes/suggestions?
>>>>
>>>>
>>>>It still works for me as this cut&pasted session log from ESS shows:
>>>>
>>>>    R : Copyright 2004, The R Foundation for Statistical Computing
>>>>    Version 2.0.1  (2004-11-15), ISBN 3-900051-07-0
>>>>        R is free software and comes with ABSOLUTELY NO WARRANTY.
>>>>    You are welcome to redistribute it under certain conditions.
>>>>    Type 'license()' or 'licence()' for distribution details.
>>>>        R is a collaborative project with many contributors.
>>>>    Type 'contributors()' for more information and
>>>>    'citation()' on how to cite R or R packages in publications.
>>>>        Type 'demo()' for some demos, 'help()' for on-line help, or
>>>>    'help.start()' for a HTML browser interface to help.
>>>>    Type 'q()' to quit R.
>>>>        > options(STERM='iESS', editor='gnuclient -q')
>>>>    > library(Rggobi)
>>>>    > ggobi()
>>>>    [1] "ggobi reference (1)"
>>>>    >                                ## and the ggobi gtk console comes up
>>>>
>>>>but I'd also be the first to tell you that I (as the maintainer of these
>>>>Debian packages) kept the versions frozen as I had difficulties building
>>>>the
>>>>newer ggobi and/or Rggobi versions (and possible combinations, been a while
>>>>I since I tried last):
>>>>
>>>>edd@basebud:~> COLUMNS=120 dpkg -l "*ggobi*" | cut -c -80
>>>>Desired=Unknown/Install/Remove/Purge/Hold
>>>>| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
>>>>|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
>>>>uppercase=bad)
>>>>||/ Name                     Version                  Description
>>>>+++-========================-========================-========================
>>>>ii  ggobi                    0.99.10-3                Data visualization
>>>>syste
>>>>ii  r-omegahat-ggobi         0.53.0-4                 GNU R package for the
>>>>GG
>>>>
>>>>Sources for these are on any Debian mirror and possibly also still on
>>>>ggobi.org.  Can't recall if we needed patches; if so they also be on the
>>>>Debian mirrors.
>>>>
>>>>Hope this helps, Dirk
>>>>
>>>
>>>
>>>--
>>>Richard Beare, CSIRO Mathematical & Information Sciences
>>>Locked Bag 17, North Ryde, NSW 1670, Australia
>>>Phone: +61-2-93253221 (GMT+~10hrs)  Fax: +61-2-93253200
>>>
>>>Richard.Beare@csiro.au
>>>
>>>______________________________________________
>>>R-devel@stat.math.ethz.ch mailing list
>>>https://stat.ethz.ch/mailman/listinfo/r-devel
>>>
>>>
>>
>>--
>>Brian D. Ripley,                  ripley@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-devel@stat.math.ethz.ch mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-devel
>>
> 
> 
> 


-- 
Richard Beare, CSIRO Mathematical & Information Sciences
Locked Bag 17, North Ryde, NSW 1670, Australia
Phone: +61-2-93253221 (GMT+~10hrs)  Fax: +61-2-93253200

Richard.Beare@csiro.au


[Rd] R-2.0.1 and Rggobi
Richard Beare