[Rd] Difference Linux / Windows
Duncan Murdoch
murdoch at stats.uwo.ca
Thu Apr 1 21:12:33 CEST 2010
On 31/03/2010 6:38 PM, Seth Falcon wrote:
> On 3/31/10 1:12 PM, Christophe Genolini wrote:
> > Hi the list,
> > I am writing a package that happen to not be compatible with linux
> > because I did not know that the function "savePlot" was available only
> > on windows. Is there a list of "incompatible" function? How can I get
> > this kind of information?
>
> One way is to obtain a copy of the R sources and then grep the Rd files
> for '#ifdef'.
>
> I don't claim this is convenient.
>
> There has been discussion, and I believe general consensus, that we'd
> like to eliminate the conditional documentation. This requires editing
> the Rd files to make the contents sensible (you can't just remove the
> #ifdef's). Patches along these lines would be welcome.
Producing those patches would be a lot of work even to incorporate, let
alone write. Another possibility is some sort of markup in the display
to indicate platform-specific bits. That would be a lot easier to
implement; the hard part is the design.
We have to design for 4 different output formats: LaTeX, HTML, plain
text, and executable example code. We need to design for help files
that display differently on different platforms, and for help files that
only exist on a subset of the platforms.
Duncan Murdoch
More information about the R-devel
mailing list