Re: [R-SIG-Mac] Create custom menus in R
Hi guys, does anyone know whether there is a similar function for Mac? I mean... is there an winMenuAdd funtion for R users on Mac? Thanks in advance, Marcio On 12/14/09 10:15 AM, Philippe Bouchet wrote: On 14/12/2009, at 1:06 PM, Duncan Murdoch wrote: Philippe Bouchet wrote: Dear list members, Does anyone know how to add items to the menu bar in R ? Certain packages have their own custom menus, which allow access to different functions, but I haven't been able to figure out what the trick was with these. I have been looking at GUI interface packages such as fgui and the like but in vain. Any help or suggestions greatly appreciated ! It depends on the front-end. In Windows Rgui, look at ?winMenuAdd. Duncan Murdoch Fantastic ! That is exactly what I was looking for. Thanks a lot for your input ! Philippe Bouchet ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Create custom menus in R
On 22 Feb 2012, at 14:23, Marcio Pupin Mello wrote: does anyone know whether there is a similar function for Mac? I mean... is there an winMenuAdd funtion for R users on Mac? Thanks in advance, As far as I know no. But to implement such a feature is quite easy. The only thing I'm concerning about is the naming issue. For Windows OS there're commands like 'winMenuAdd' etc. i.e. prefixed by 'win'. One could implement this for Mac by using names like 'macMenuAdd' etc. but I think it'd better due to platform independent R scripts to have commands like 'menuAdd' which then dispatches on basis of the running OS and R version the command to 'win...' or 'mac...' or simply ignore it if OS doesn't support such stuff. The other way would be to adopt the names like 'winMenuAdd' and write a wrapper for R.app for such commands. Any opinions? Best, --Hans On 12/14/09 10:15 AM, Philippe Bouchet wrote: On 14/12/2009, at 1:06 PM, Duncan Murdoch wrote: Philippe Bouchet wrote: Dear list members, Does anyone know how to add items to the menu bar in R ? [...] Any help or suggestions greatly appreciated ! It depends on the front-end. In Windows Rgui, look at ?winMenuAdd. Fantastic ! That is exactly what I was looking for. Thanks a lot for your input ! ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac