[R] retaining source

Peter E. Rossi peter.rossi at gsb.uchicago.edu
Fri May 13 15:36:05 CEST 2005


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.



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 at ChicagoGsb.edu
 WWW: http://ChicagoGsb.edu/fac/peter.rossi
SSRN: http://ssrn.com/author=22862
 QME: http://www.kluweronline.com/issn/1570-7156

More information about the R-help mailing list