Difference Linux / Windows
On Apr 1, 2010, at 11:59 , Paul Gilbert wrote:
Since this seems more like a wish-list discussion, if someone actually starts thinking about the issue I would like to add the following somewhat related point: It would be nice if there were a mechanism, in task views or that could be used by task views, to avoid attempting to install packages that will fail on the platform. The current ctv mechanism is difficult for system administrators because they actually have to know enough about R packages to decide which failures are ok and which ones are not.
Well, that is an entirely different issue and it is easy since we already have the mechanism in place: OS_type. Cheers, Simon
-----Original Message----- From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r- project.org] On Behalf Of Simon Urbanek Sent: April 1, 2010 11:38 AM To: Seth Falcon Cc: r-devel at r-project.org Subject: Re: [Rd] Difference Linux / Windows 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
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
= = = = = = = = = = = = = = ====================================================================== La version fran?aise suit le texte anglais. ------------------------------------------------------------------------------------ This email may contain privileged and/or confidential information, and the Bank of Canada does not waive any related rights. Any distribution, use, or copying of this email or the information it contains by other than the intended recipient is unauthorized. If you received this email in error please delete it immediately from your system and notify the sender promptly by email that you have done so. ------------------------------------------------------------------------------------ Le pr?sent courriel peut contenir de l'information privil?gi?e ou confidentielle. La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion, utilisation ou copie de ce courriel ou des renseignements qu'il contient par une personne autre que le ou les destinataires d?sign?s est interdite. Si vous recevez ce courriel par erreur, veuillez le supprimer imm?diatement et envoyer sans d?lai ? l'exp?diteur un message ?lectronique pour l'aviser que vous avez ?limin? de votre ordinateur toute copie du courriel re?u.
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel