Thomas

I have found http://rcom.univie.ac.at/download/Tutorial/EmbeddingR_Tutorial.pdf

StringLogDevice is working, thanks

Can you please elaborate a bit about "0x8004000B is an interface-specific 
code.", which documentation would be helpful to read?


Cheers, Igor



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Baier
Sent: 17 October 2008 09:52
To: R (D)COM and RExcel server related issues
Subject: Re: [Rcom-l] Meaningful errors via R(D)COM

Igor,

Igor Mariash schrieb:
> For some reason, pretty much any failed R command is resulting in the
> exception
>
>  Exception Object is static; operation not allowed (Exception from
> HRESULT: 0x8004000B (OLE_E_STATIC))

0x8004000B is an interface-specific code. Sometimes, so I hope, this will lead 
people to read the docs and find the description :)


> being thrown. The GetErrorText() returns only "evaluation stopped
> because of an error".
>
> I need to replicate the R-program in full via R-GUI to have any useful
> information regarding my R-code.
>
> Some sort of redirection the informative part from "Error: <text>"
> console  output into something accessible via R(D)COM, say regular
> variable (like capture.output but for errors)  would be ideal.
> However, I am not aware of such command.

Use StringLogDevice for this.

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

.

This message is intended only for the use of the person(s) to whom it is 
addressed. It may contain information which is privileged and confidential. 
Accordingly any unauthorised use is strictly prohibited. If you are not the 
intended recipient, please contact the sender as soon as possible.

It is not intended as an offer or solicitation for the purchase or sale of any 
financial instrument or as an official confirmation of any transaction, unless 
specifically agreed otherwise. All market prices, data and other information 
are not warranted as to completeness or accuracy and are subject to change 
without notice. Any opinions or advice contained in this Internet email are 
subject to the terms and conditions expressed in any applicable governing 
Marble Bar Asset Management LLP's  terms and conditions of business or client 
agreement letter. Any comments or statements made herein do not necessarily 
reflect those of Marble Bar Asset Management LLP.

Marble Bar Asset Management LLP is regulated and authorised by the FSA.
_______________________________________________
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

Reply via email to