[R] retaining source

From: Peter E. Rossi <peter.rossi_at_gsb.uchicago.edu>
Date: Fri 13 May 2005 - 23:36:05 EST


Folks-

I have created a contributed package, bayesm. I'd like to load it and retain the source so that users can see comments in the source.

I load it with library(bayesm,keep.source=TRUE). When I display the functions simply by typing the name at the prompt, I don't see comments and the attr(fun_name,"source") returns NULL.

I checked the options for RCMD build and I don't see anything I'm missing.

I'm sure I'm doing something wrong.

Advice?

thanks!

peter r

................................

 Peter E. Rossi
 Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics  Editor, Quantitative Marketing and Economics  Rm 360, Graduate School of Business, U of Chicago  5807 S. Woodlawn Ave, Chicago IL 60637
 Tel: (773) 702-7513 | Fax: (773) 834-2081

 peter.rossi@ChicagoGsb.edu

 WWW: http://ChicagoGsb.edu/fac/peter.rossi
SSRN: http://ssrn.com/author=22862
 QME: http://www.kluweronline.com/issn/1570-7156

______________________________________________
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 Received on Fri May 13 23:40:57 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:45 EST