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):


[EMAIL PROTECTED]:~> 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

[EMAIL PROTECTED]

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



-- Brian D. Ripley, [EMAIL PROTECTED] 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

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to