Hi, I'm new to Mac and when i installed the R.app, I noticed that it put the 32 bit version of R onto the Launchpad instead of the 64 bit version. Is this by design? Thanks, Andrew
R.app and launchpad and 32 bit
4 messages · Andrew Yee, Brian Ripley, Berend Hasselman
On 08/11/12 12:24, Andrew Yee wrote:
Hi, I'm new to Mac and when i installed the R.app, I noticed that it put the 32 bit version of R onto the Launchpad instead of the 64 bit version. Is this by design?
The R installer put both R,app and R64.app there for me. What exactly did you do (you can select either or both during installation)? Similarly, r.research.att.com has separate downloads for each (-Leopard and -Leopard64).
Thanks, Andrew
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
On 08-11-2012, at 13:24, Andrew Yee wrote:
Hi, I'm new to Mac and when i installed the R.app, I noticed that it put the 32 bit version of R onto the Launchpad instead of the 64 bit version. Is this by design?
Both R.app and R64.app are installed in /Applications as long as you haven't customized the install.
OS X then updates the LaunchPad database (see below for its location).
And somehow only enters R.app in the database.
I have found that by deleting the database and killing Dock.app regenerates the database and then only R64.app is in the database.
Then you can launch R64 by typing R6 in the LaunchPad search field.
Since LaunchPad has very definite ideas how to sort applications starting with the letter R, you can only reach R.app by typing R and then using the arrow keys several times.
The mysterious ways of Apple and OS X.
I now have a shell script to reset all the silliness Mountain Lion seems to want.
I run it after an install.
The script is
===============================================
# unhide Library
chflags nohidden ~/Library
# reset launchpad database to avoid silliness with R.app and R64.app
# either one of these disappears
# removing database and killing Dock makes R64 reappear, which I want as default.
rm "${HOME}/Library/Application Support/Dock"/*.db
killall Dock
# disable smooth scrolling
# no longer in system preferences
# needed to make TextMate react sensibly to PgUp/PgDn keys
# http://hints.macworld.com/article.php?story=20120726122633912
# http://www.maclife.com/article/columns/terminal_101_5_mountain_lion_ui_tricks
defaults write -g NSScrollAnimationEnabled -bool NO
===============================================
Berend
Thanks for the explanation. Will need to take a look at your script. Thanks, Andrew
On Thu, Nov 8, 2012 at 7:51 AM, Berend Hasselman <bhh at xs4all.nl> wrote:
On 08-11-2012, at 13:24, Andrew Yee wrote:
Hi, I'm new to Mac and when i installed the R.app, I noticed that it put the 32 bit version of R onto the Launchpad instead of the 64 bit version. Is this by design?
Both R.app and R64.app are installed in /Applications as long as you haven't customized the install.
OS X then updates the LaunchPad database (see below for its location).
And somehow only enters R.app in the database.
I have found that by deleting the database and killing Dock.app regenerates the database and then only R64.app is in the database.
Then you can launch R64 by typing R6 in the LaunchPad search field.
Since LaunchPad has very definite ideas how to sort applications starting with the letter R, you can only reach R.app by typing R and then using the arrow keys several times.
The mysterious ways of Apple and OS X.
I now have a shell script to reset all the silliness Mountain Lion seems to want.
I run it after an install.
The script is
===============================================
# unhide Library
chflags nohidden ~/Library
# reset launchpad database to avoid silliness with R.app and R64.app
# either one of these disappears
# removing database and killing Dock makes R64 reappear, which I want as default.
rm "${HOME}/Library/Application Support/Dock"/*.db
killall Dock
# disable smooth scrolling
# no longer in system preferences
# needed to make TextMate react sensibly to PgUp/PgDn keys
# http://hints.macworld.com/article.php?story=20120726122633912
# http://www.maclife.com/article/columns/terminal_101_5_mountain_lion_ui_tricks
defaults write -g NSScrollAnimationEnabled -bool NO
===============================================
Berend