Dear Thomas:

Thanks for your patience. I apologize for my shabby English.

I have another question.

1. I execute x<-c(NA,NA) through the funtion of "EvaluateNoReturn". 
2. Evaluate("x")
the application can return the right value whose type is "object[]", and
mode(x)="logical"

but if i execute x<-c(NA), and Evaluate("x"), the application will throw an
exception. but the mode(x)="logical", too.

the error is similar as
Evaluate("data.frame(name=c("tom","jack"),age=c(20,21))")

as i know that Evaluate cannot return a complex data structure like
"data.frame", 

but in my opinion, x<-c(NA), x just a simple data type.

do you have any idea about it?

Thank for your help, thank again.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas Baier
Sent: Thursday, October 09, 2008 12:21 PM
To: R (D)COM and RExcel server related issues
Subject: Re: [Rcom-l] A question or a bug about x<-c(TRUE,FALSE,NA)

Qiao Hui-jie schrieb:
> I know the meaning of "error 2042 "&" -2146826246" is "NA".
> 
> What  confused me is if i execute the command " x<-c(TRUE,FALSE,NA)", 
> the first returned value is "FALSE" but not "TRUE" in both VB6.0 and 
> C#3.5
> 
> this is the test code

Sorry, I just answered too early (or better: I did not read your post
carefully enough :). Maybe there is a problem with NA values and data
transfer. I'll have to investigate.

Unfortunately this sounds like being a problem in rproxy, where there
currently is an issue for R 2.8.0, where I'm still searching for a solution.

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


_______________________________________________
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