Skip to content
Prev 34149 / 63424 Next

R v2.10.0: Doc clarification for cross references and where are we heading?

On 24/09/2009 5:42 AM, Romain Francois wrote:
As of yesterday, it's documented in Writing R Extensions.  \Sexpr is 
format-agnostic:  it doesn't output HTML, it outputs plain text which is 
wrapped in the appropriate HTML/LaTeX/whatever, or Rd input which is 
processed by the whole system.  So the generator would currently have to 
use sneaky methods to figure out the format, looking at which function 
called it, etc.  I imagine in the long run we'll define some state 
variables which the code can look at, but I'd rather see use-cases 
before deciding what those should be.

Duncan Murdoch