Message-ID: <514226B9-7D41-4A5F-9AEB-AFD1F4CA3784@r-project.org>
Date: 2010-04-01T15:37:49Z
From: Simon Urbanek
Subject: Difference Linux / Windows
In-Reply-To: <4BB3CEFD.2080302@userprimary.net>
On Mar 31, 2010, at 18:38 , 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.
>
nor sufficient - lot of it is simply in the windows directory (such as
savePlot).
The safest approach right now is simply to read the documentation -
savePlot does tell you that it works only for the Windows device. I'm
not aware of an automated list (save for dumping the function lists
per-package on each platform).
Cheers,
Simon
> 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.
>
> + seth
>
> --
> Seth Falcon | @sfalcon | http://userprimary.net/
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>