[R] retaining comments within functions defined in Rprofile.site

Benjamin Tyner btyner at gmail.com
Fri May 24 23:46:38 CEST 2013


Hi,

I have some functions defined within etc/Rprofile.site which contain
embedded comments, but it seems the comments get stripped out when the
site profile is sourced into the base namespace. I'm thinking I need to
enable options(keep.source=TRUE) somewhere prior to the actual sourcing
of the site profile, but haven't been able to figure it out yet. Does
anyone have any suggestions?

Thanks,
Ben



More information about the R-help mailing list