[Rd] R_ColorTable

Prof Brian Ripley ripley@stats.ox.ac.uk
Wed, 4 Oct 2000 11:52:56 +0100 (BST)


On Wed, 4 Oct 2000, Nicholas Lewin-Koh wrote:

> Hmmm, did I miss something? I added 

Given that this works for the normal system global vars, you must have!

> R_ColorTable 
> R_ColorTableSize 
> to R.exp
> and rebuilt libR.a then i added
>                                                                                
> #define R_ColorTableSize (*_imp__R_ColorTableSize) 
> #define R_ColorTable(*_imp__R_ColorTable)
>                                                                                
> to globalvar.h

You could just re-build globalvar.h.

>                                                                                
> make pkg-colortools
>                                                                                
> results in   
> 
> gcc -Id:/Nicholas/rw1011/src/include -include
> d:/Nicholas/rw1011/src/include/ globalvar.h -Wall -O2 
> -Id:/Nicholas/rw1011/src/gnuwin32/graphapp -c colorpick .c -o colorpick.o
> colorpick.c: In function `create_dialog': colorpick.c:175:
> `_imp__R_ColorTableSize' undeclared (first use in this function )
> colorpick.c:175: (Each undeclared identifier is reported only once
> colorpick.c:175: for each function it appears in.) colorpick.c:176:
> `_imp__R_ColorTable' undeclared (first use in this function) colorpick.c:
> At top level: colorpick.c:47: warning: `alts' defined but not used
> make[2]: *** [colorpick.o] Error 1
> 

Did you declare  R_ColorTableSize and R_ColorTable?  If so, the define
should change them to declarations of _imp__R_ColorTableSize etc.


-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._