From Don.Wingate@intellichem.com  Fri Sep 29 00:21:38 2000
From: Don.Wingate@intellichem.com (Don Wingate)
Date: Thu, 28 Sep 2000 16:21:38 -0700
Subject: [Rd] creating custom I/O for R
Message-ID: <MPEHJEGLNPNFGJFOJMKNKEBNCAAA.Don.Wingate@IntelliChem.com>

Dear R developers,

I am building an ActiveX Com wrapper for R. I have successfully implemented
an Evaluate function using rproxy_impl.c and rtest.c as examples. The Com
object as it stands at the moment is similar to Thomas Baier's automation
server StatConnectorSrv.exe except that it does not use the Proxy. My goal
it to include a couple of activeX controls in the library: One to provide a
terminal-like interface to R and the other to provide a window for graphics
output.

These two activeX components will serve the exact functions as the
corresponding components of RGui.exe. The difference (and great benefit) is
that as ActiveX components, they can be placed inside an ActiveX container
(like a VB form) and manipulated as an application developer sees fit.

My questions involve how to accomplish these goals:

1) Graphics.

a. For the graphics output, is there a way to pass R a Windows GDI
(graphics) device to draw with? (This would be a very helpful feature!)

b. If not, is there a way to get a metafile and/or a bitmap of a plot
without having first displayed the plot in the standard window?

2) Terminal

a. Is possible to quickly explain the mechanism provided by the functions
pointed at by the members WriteConsole and ReadConsole of the struct
structRstart?

I would appreciate any help and/or suggestions.

Thanks, Don Wingate.

P.S. Thankyou Prof. Ripley for your help earlier.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] creating custom I/O for R
Don Wingate