Skip to content
Prev 167417 / 398502 Next

don't print object attributes on screen

On 18/01/2009, at 7:55 PM, Pedro Mardones wrote:

            
I think that the only way that you can accomplish this ``in a general  
way''
is to assign a new class (e.g. ``foo'') to the object returned by your
function and then write a new print method, print.foo(). Something like

print.foo <- function(x,...) {
attributes(x) <- NULL
print(x)
}

HTH

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}