search for: conptr

Displaying 3 results from an estimated 3 matches for "conptr".

2006 Oct 09
1
Discussion starter for package level Connection API
Thought I'd try and start a discussion. Feel free to jump in. I guess R needs to strike the right balance between opening up the internals to package writers and not allowing them to do bad things. My first attempt at cracking this nut is to just memcpy() the Rconnection and not allow access to the private stuff: /* Alternative to allowing C code access to connection API. */ Rconnection
2007 Jul 25
6
Using R_MakeExternalPtr
...ck to another C++ function later on to be used. I'm quite new to R and this is my first time writing a package, so I hope you can bear with me. The following is how I create the class and use R_MakeExternalPtr(). This occurs in a function called "soamInit": Session* sesPtr = conPtr->createSession(attributes); void* temp = session; SEXP out = R_MakeExternalPtr(temp, R_NilValue, R_NilValue); return out; The following is how I try to retrieve the class object in a different C++ function called "soamSubmit", where sesCon is the externalPtr : void* tem...
2011 Sep 09
1
virDomainDefineXml Issue
Hello Everyone, I am facing a problem in defining the xml for domain creation using libvirt. I am using Xen hypervisor. domPtr = lib.virDomainDefineXML(conPtr, domainXML); I get the following error: "libvir: Xen Daemon error : XML error: failed to parse domain description" Any suggestions are welcome. Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/...