[R] help - "Object is static, operation not allowed" Error

WeiQiang.Li@seagate.com WeiQiang.Li at seagate.com
Fri Sep 12 04:41:18 CEST 2003

Hello Dirk,
      Thanks for your quick reply.
      They are simple R codes and working well in RGUI. DCOM is also
communicating well with R, the lineStr=StatConn.Evaluate("x
<-matrix(c(1,2,3,4,5,6,7,8,9),3)") return back return correctly. Only
seldom R codes called failed, and I suspect that the static library loaded
failed even there is no error return after call the line
StatConn.EvaluateNoReturn("library (mva)") . I need this problem fixed
urgently. I hope someone may help me.

      Thanks again!

WeiQiang Li
IT-Factory Information Systems
Tel: 6485-2439

                      Dirk Eddelbuettel                                                                                                
                      <edd at debian.org>         To:       WeiQiang.Li at seagate.com                                                       
                      No Phone Info            cc:       r-help at stat.math.ethz.ch                                                      
                      Available                Subject:  Re: [R] help - "Object is static, operation not allowed" Error                
                      09/12/2003 10:14                                                                                                 

On Fri, Sep 12, 2003 at 09:19:06AM +0800, WeiQiang.Li at seagate.com wrote:
>       I am a newbie in R project and trying to call prcomp(x) of R
> using (D)COM server communicate with R in ASP, and encountering the error

As a general rule, I found it helpful to disentangle matters:

i)  make sure you really do have working R code, e.g. by actually running
    that code in the Gui

ii) make sure you really do talk back and forth between your controlling
    app and R; so send some data over the wire, alter it and see if you
    it back --- also make sure that you cover the data type you intend to
    send in i)

Hope this helps, Dirk

Those are my principles, and if you don't like them... well, I have others.
                                                -- Groucho Marx

More information about the R-help mailing list