Skip to content
Prev 3749 / 63424 Next

Writing lgrindefs

OK. Fritz has got it! And I feel stupid...

After thinking:
Only functions of the base package are not enough for some users,
on the other hand you will never be up to date with names of all
functions of all packages, I suppose.
Of course TeX cannot know names of R functions, if they are not
specified explicitly.

Suggestions:
1)
Another way is to write a R function, that generates "nice" TeX code.
Or a R function, that generates code to be interpreted by a TeX macro.
Such a function would know about loaded packages and their functions,
user specific functions, other objects in the users environment (as
needed).

2)
Providing names of functions of the most used packages (e.g. base,
ctest, ts, ...) would be enough, if the user could easily extend the
list of "known" functions (or other objects).
I think about a TeX command (defined in your macro), that could be used
as follows:
 \addrfunctionnames{myfunc1, myfunc2, myfunc3}


But maybe there are much better ideas?

Regards,
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._