Re: [Rd] Use keep.source for function in package with lazy loading

2011-04-18 Thread Greg Snow
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

Re: [Rd] Use keep.source for function in package with lazy loading

2011-04-10 Thread Prof Brian Ripley
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

Re: [Rd] Use keep.source for function in package with lazy loading

2011-04-05 Thread Greg Snow
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

[Rd] Use keep.source for function in package with lazy loading

2011-04-04 Thread Greg Snow
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

Re: [Rd] Use keep.source for function in package with lazy loading

2011-04-04 Thread Prof Brian Ripley
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