Hi

I'm new to RPy and I've hit a problem trying to run the PLS module from R
through python.

I have installed the PLS module in R and that seems to work fine. But when
i try to run

I get the following type of error...

Traceback (most recent call last):
  File "pls.py", line 15, in <module>
    kernelpls = r.mvr(data["x1"], data["y1"], 1, validation="CV",
method="kernelPLS")
  File "/usr/lib64/python2.5/site-packages/rpy.py", line 314, in __getattr__
    return self.__getitem__(name)
  File "/usr/lib64/python2.5/site-packages/rpy.py", line 318, in __getitem__
    obj = self.__dict__[name] = self.__dict__.get(name, self.get(name))
rpy.RPy_RException: Error in function (x, pos = -1, envir =
as.environment(pos), mode = "any",  :
  variable "mvr" was not found

Can anyone explain to me how I get round the variable not found error.

Thanks in advance

Chris


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to