+1. As an example, there are 91 instances of \newcommand{\CRANpkg} in
R source, and this number is still growing as I see:
$ grep "\\\\newcommand{\\\\CRANpkg}" -r . | wc
91 91 10317
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Oct 9, 2013 at 2:57 PM, Kasper Daniel Hansen
<kasperdanielhansen at gmail.com> wrote:> R-exts, in "2.13 User-defined macros", discusses user-defined
macros. Is
> it possible to have macros defined in one file, be used by another (within
> a package)? This would increase the usefulness substantially, IMHO.
>
> Best,
> Kasper