Re: [R] setGeneric(rm)

2004-12-03 Thread Paul Roebuck
On Fri, 3 Dec 2004, Marcos Carrero wrote: > We are developing a package using S4 classes. The S4 classes are > wrappers to C++ classes. So S4 classes contain an integer that is the > memory address of one C++ object. If an user calls the rm() function, > the C++ object must be deleted. But our gen

Re: [R] setGeneric(rm)

2004-12-03 Thread Roger Bivand
On Fri, 3 Dec 2004, Marcos Aurélio Carrero wrote: > Hi, > We are developing a package using S4 classes. The S4 classes > are wrappers to C++ classes. So S4 classes contain an integer > that is the memory address of one C++ object. If an user > calls the rm() function, the C++ object must be delete

[R] setGeneric(rm)

2004-12-03 Thread Marcos Aurélio Carrero
Hi, We are developing a package using S4 classes. The S4 classes are wrappers to C++ classes. So S4 classes contain an integer that is the memory address of one C++ object. If an user calls the rm() function, the C++ object must be deleted. But our generic rm() function apparently doesn't work. Her