Re: [Rcom-l]How can an image be retrieved from StatConnectorGraphicsDevice

2007-09-10 Thread Thomas Baier
Julien,

 Do you know if it's possible to export StatConnectorGraphicsDevice plots 
 as bitmaps ?

This is currently not possible. But as the source is public, you can
simply add an additional method for retrieving the bitmap. The graphics
itself is drawn with the bitmap functions.

Thomas
___
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at


Re: [Rcom-l] R Graphics using VBA

2007-09-10 Thread Thomas Baier
Roger,

 I would like to use R graphics in my VBA application. In particular, I
 want to display something similar to Fig. 3 in your article
 Excel::COM::R (Computational Statistics, 2007). It seems that the R
 graphics is displayed in an Excel form with Active X controls. Would it
 be possible to get the code for this or at least some hints on how to do
 it.

Use GraphicsDevice from StatConnControls, put it on a form, bind the
control to the StatConnector instance and then it will work.

Sample code (for VB6) can be found in the VB6Devices sample in the
Tutorial sources from UseR! 2006 on rcom.univie.ac.at. The control on
the bottom of the form is the one you should use in VBA.


 Another issue that the article raises is that if the COM server is on a
 remote machine then the graphics will also be shown on that machine.
 Your solution to this is to provide an Active X control. Although I am
 familiar with Excel Active X controls, I can't work out how to do this. 

If you are using the ActiveX control, the graphics will show on the
machine where the ActiveX is shown, no matter if R is running locally
ore remotely.
-- 
Thomas Baier
___
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at


[Rcom-l] RE: Rcom-l Digest, Vol 31, Issue 4

2007-09-10 Thread Ben W. Gao
Thomas,


Following my last posted question of passing array data from MS Access to R through R (D) Com Server, I just figured it out myself.
In MS Access VBA, it works by statement y = x.SetSymbol "symname",value; while it does not by statement y = x.SetSymbol( "symname",value). Does this happen only in my case?
Thanks,
Benjamin Gao





From:[EMAIL PROTECTED]Reply-To:rcom-l@mailman.csd.univie.ac.atTo:rcom-l@mailman.csd.univie.ac.atSubject:Rcom-l Digest, Vol 31, Issue 4Date:Sat, 8 Sep 2007 12:00:03 +0200 (CEST)Send Rcom-l mailing list submissions to rcom-l@mailman.csd.univie.ac.atTo subscribe or unsubscribe via the World Wide Web, visit http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-lor, via email, send a message with subject or body 'help' to [EMAIL PROTECTED]You can reach the person managing the list at [EMAIL PROTECTED]When replying, please edit your Subject line so it is more specificthan "Re: Contents of Rcom-l 
digest..."Today's Topics:1. RE: Rcom-l Digest, Vol 31, Issue 3 (Ben W. Gao)--Message: 1Date: Fri, 07 Sep 2007 09:07:08 -0300From: "Ben W. Gao" [EMAIL PROTECTED]Subject: [Rcom-l] RE: Rcom-l Digest, Vol 31, Issue 3To: rcom-l@mailman.csd.univie.ac.atMessage-ID: [EMAIL PROTECTED]Content-Type: text/plain; charset="us-ascii"An HTML attachment was scrubbed...URL: http://mailman.csd.univie.ac.at/pipermail/rcom-l/attachments/20070907/021eed85/attachment-0001.html--___Rcom-l mailing 
listRcom-l@mailman.csd.univie.ac.athttp://mailman.csd.univie.ac.at/mailman/listinfo/rcom-lEnd of Rcom-l Digest, Vol 31, Issue 4*Enter  to win a night a VIP night out at TIFF 

___
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at