Thanks, that looks great.
Looking for other options I found a way to do something I had not originally
considered, but like even better now. My original purpose on this was a string
with some tabs in it that when the function was viewed without the source were
turned into \t which looked
R-devel now has a KeepSource DESCRIPTION field to accomplish what I
think you are seeking.
On Tue, 5 Apr 2011, Greg Snow wrote:
Prof. Ripley,
Thanks for the explanation. I had set both keep.source and
keep.source.packages to TRUE for my experiments, but had not realized that a
new R
Prof. Ripley,
Thanks for the explanation. I had set both keep.source and
keep.source.packages to TRUE for my experiments, but had not realized that a
new R process would be involved, so did not try the environmental variable
approach.
From what you say below, I don't think I am going to
I have a function in one of my packages that I would like to print using the
original source rather than the deparse of the function. The package uses lazy
loading and the help page for library (under keep.source) says that keep.source
does not apply to packages that use lazy loading and that
On Mon, 4 Apr 2011, Greg Snow wrote:
I have a function in one of my packages that I would like to print
using the original source rather than the deparse of the function.
The package uses lazy loading and the help page for library (under
keep.source) says that keep.source does not apply to