If you want to install comment attribute on return value set it this way setAttrib(ans, R_CommentSymbol, charToSexp("Some comment"));
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html