Hi,

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.

please try to find out the return value of Evaluate() (the real one, the COM HRESULT, not the data, which in reality is just another parameter filled in by Evaluate).

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

Reply via email to