Statconnector and Excel
what happens when you remoove the line i indicate?
and:
the matrix you are reading in is NOT what you try to get with
Call RInterface.getArray("passTestb1", Range("D2"))
you APPLY the function pass
to the matrix you read in.
i need to know what kind of object pass returns
to be able to diagnose.
can you tell me what return value pass produces, or send me
the definition of pass?
Sub doR()
Call RInterface.StartRServer
Call RInterface.RRun("library(mdnn)")
Call RInterface.RRun("F11b1<-read.table(""c:/test/Testb1.txt"", header=TRUE)")
Call RInterface.RRun("passTestb1<-pass(Testb1, Threshold=5, ExtremeThreshold=5)")
----------------> Call RInterface.RRun("passTestb1")
Call RInterface.getArray("passTestb1", Range("D2"))
Call RInterface.StopRServer
end sub
-- Erich Neuwirth, Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-38624 Fax: +43-1-4277-9386 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._