Bug 16288 - Unable to find application named 'X11.app'
Summary: Unable to find application named 'X11.app'
Status: UNCONFIRMED
Alias: None
Product: R
Classification: Unclassified
Component: Mac GUI / Mac specific (show other bugs)
Version: R 3.1.2
Hardware: x86_64/x64/amd64 (64-bit) OS X Mavericks
: P5 minor
Assignee: Simon Urbanek
URL:
Depends on:
Blocks:
 
Reported: 2015-03-31 07:28 UTC by rene_malenfant
Modified: 2015-03-31 15:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rene_malenfant 2015-03-31 07:28:38 UTC
Go to "Misc" in the menu bar, then "Run X11 Server".  You will get the error message "Unable to find application named 'X11.app'"

OS X has not included X11.app directly for quite some time; it now has to be installed using XQuartz.  In OS X 10.10 and XQuartz 2.7.7 (and some earlier versions, I imagine), the executable is located at /Applications/Utilities/X11.app

The GUI is clearly looking for X11.app in the wrong place, perhaps in the /Applications folder as opposed to /Applications/Utilities.  In either case, the command does not work.
Comment 1 Brian Ripley 2015-03-31 11:09:23 UTC
The GUI is not looking anywhere, it is asking the OS to look ....

What is odd is that at least on Yosemite there may be an X11 icon in /Applications/Utilities but the folder is called XQuartz.app and 'open -a' only knows about Quartz.app, not X11.app.

So simply changing X11.app to XQuartz.app will work there.

OTOH, I do not see why the menu item is needed at all (nor why the reporter is using it): on recent versions of OS X (certainly prior to Snow Leopard), launchd will run X11.app if it is needed (without an Xterm window, which open -a XQuartz produces if the server is not already running).
Comment 2 rene_malenfant 2015-03-31 14:09:41 UTC
(In reply to Brian Ripley from comment #1)
> The GUI is not looking anywhere, it is asking the OS to look ....
> 
> What is odd is that at least on Yosemite there may be an X11 icon in
> /Applications/Utilities but the folder is called XQuartz.app and 'open -a'
> only knows about Quartz.app, not X11.app.
> 
> So simply changing X11.app to XQuartz.app will work there.
> 
> OTOH, I do not see why the menu item is needed at all (nor why the reporter
> is using it): on recent versions of OS X (certainly prior to Snow Leopard),
> launchd will run X11.app if it is needed (without an Xterm window, which
> open -a XQuartz produces if the server is not already running).

I don't use it; I'm merely reporting an obvious bug.
Comment 3 Brian Ripley 2015-03-31 15:38:19 UTC
> I don't use it; I'm merely reporting an obvious bug.

obvious: easily perceived or understood; clear, self-evident, or apparent.

Clearly you do not know the meaning of the words you use: it is only apparent at all if the menu item is used.  The point is that it only needed on those OS versions where it works ....
Comment 4 rene_malenfant 2015-03-31 15:42:42 UTC
(In reply to Brian Ripley from comment #3)
> > I don't use it; I'm merely reporting an obvious bug.
> 
> obvious: easily perceived or understood; clear, self-evident, or apparent.
> 
> Clearly you do not know the meaning of the words you use: it is only
> apparent at all if the menu item is used.  The point is that it only needed
> on those OS versions where it works ....

The bug is "obvious" in the sense that anyone exploring the menus of R can elicit what is obviously unintended behaviour.

I am quite aware of the words that I use.  Are you aware how extraordinarily unpleasant your comments make you seem?