[R] how to call forth a class definition buried in a package

Bálint Czúcz balint.czucz at uni-corvinus.hu
Tue Aug 15 09:21:21 CEST 2006


Dear list,

I would like to use this C call:
tmp <- .Call("R_MPinv", covariance, tol, svdmem)

but it gives me the following error:
Error in getClass("LinStatExpectCovarMPinv") :
	"LinStatExpectCovarMPinv" is not a defined class

I think the reason for this is that the C code starts with this call:

PROTECT(ans = NEW_OBJECT(MAKE_CLASS("LinStatExpectCovarMPinv")));
....

and the Class definition for "LinStatExpectCovarMPinv" hides deep
buried in package "party".

Were it not for the C call, i could avoid this error by specifying a
"where=" argument to GetClass(). But what can I do now?

Thank you!
Bálint

-- 
Czúcz Bálint
PhD hallgató
BCE KTK Talajtan és Vízgazdálkodás Tanszék
1118 Budapest, Villányi út 29-43.



More information about the R-help mailing list