[R] Porting S library which use "graphics.h" and "device.h"

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Jun 21 17:47:18 CEST 2000


"Vadim Kutsyy" <vadim at kutsyy.com> writes:

> Hello.
> 
> I am porting Splus library to R, which use S "graphics.h" and "device.h",
> the library makes a number of high resolution plots using these.
> 
> Does anyone have an experience with similar porting?  I don't really want to
> rewrite all C code, so any recommendation would be helpful.

Unless it is actually implementing its own device driver (in which
case you have a fairly substantial amount of work on your hands...),
chances are that only a couple of low-level items are being used. So
the task would be to figure out what those things are and how to get
similar functionality in R. What happens if you remove the #includes?? 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list