[R] Incompatibility between R-2.0.0 and Rggobi_1.0-0.

2004-10-22 Thread Aruna Buddana
Hello,
I was trying to install Rggobi in the latest version of R and it gave me 
a compilation error for
R CMD INSTALL Rggobi_1.0-0.tar.gz

RSGGobi.C: In function RS_GGOBI_init
(R_IsNaNorNA) undeclared (line 77)
I searched for this function in R src files and it was abandoned in 
~/R-2.0.0/src/include/R_ext/Arith.h file.
Only functions

int R_IsNA(double);/* True for R's NA only */
int R_IsNaN(double);/* True for special NaN, *not* for NA */
are declared leaving out R_IsNaNorNA.
This funcion was declared in R-1.9.1.
So I changed (R_IsNaNorNA) to (R_IsNA) in  ~/Rggobi/src. Then I built 
Rggobi and installed it using R CMD

Can anyone tell me if there is any other way to do it? Was I right?
Thanks,
Sincerely,
Aruna Buddana,
Intern, Statistics and Data Sciences
Oak Ridge National Laboratories.
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Incompatibility between R-2.0.0 and Rggobi_1.0-0.

2004-10-22 Thread Prof Brian Ripley
This is discussed in 200update.txt file on developer.r-project.org, which 
tells you the right way to do it.

BTW, the incompatility is of Rggobi_1.0-0 with R-2.0.0 and not the other 
way round.

On Fri, 22 Oct 2004, Aruna Buddana wrote:

> Hello,
> I was trying to install Rggobi in the latest version of R and it gave me 
> a compilation error for
>  R CMD INSTALL Rggobi_1.0-0.tar.gz
> 
> RSGGobi.C: In function RS_GGOBI_init
> (R_IsNaNorNA) undeclared (line 77)
> 
> 
> I searched for this function in R src files and it was abandoned in 
> ~/R-2.0.0/src/include/R_ext/Arith.h file.
> Only functions
> 
> int R_IsNA(double);/* True for R's NA only */
> int R_IsNaN(double);/* True for special NaN, *not* for NA */
> 
> 
> are declared leaving out R_IsNaNorNA.
> This funcion was declared in R-1.9.1.
> 
> So I changed (R_IsNaNorNA) to (R_IsNA) in  ~/Rggobi/src. Then I built 
> Rggobi and installed it using R CMD
> 
> Can anyone tell me if there is any other way to do it? Was I right?

No.


-- 
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, UKFax:  +44 1865 272595

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html