search for: r_tranwhite

Displaying 2 results from an estimated 2 matches for "r_tranwhite".

2005 Nov 18
1
using a factor as col argument in plot:
Dear R core team Using the following code produces an empty plot (similar to col = NA): > plot(1:9, col = factor(rep(1:3,3), labels = c("red", "blue", "black"))) My question: Shouldn't one get at least a warning (or an error) if one tries to use a factor as col argument? Thanks for an answer. Regards, Christoph Buser
2005 Apr 02
2
Building new graphic device drivers with g++
...>mode = (void (*)())NULL_Mode; dev->hold = (void (*)())NULL_Hold; dev->metricInfo = (void (*)())NULL_MetricInfo; /* * Initial graphical settings */ dev->startfont = 1; dev->startps = 10; dev->startcol = R_RGB(0, 0, 0); dev->startfill = R_TRANWHITE; dev->startlty = LTY_SOLID; dev->startgamma = 1; /* * Start device */ if(!NULL_Open(dev)) { return FALSE; } /* * Device physical characteristics */ dev->left = 0; dev->right = 1000; dev->bottom = 0; dev->top =...