Saturday, October 26, 2013

Resetting Finder View Options on Mac OS X

To reset the Finder view options, you have to delete two kind of files:
  1. rm Library/Preferences/com.apple.finder.plist
  2. find ~ -iname .DS_Store -delete -print

[Warning: use at your own risk.]

Tuesday, October 22, 2013

Installing R with brew on Mac

I used to install R on Mac using brew.  However, recently, it seemed that the R package did not exist as a brew package anymore.  It turns out that I need to run the following command before maintaining the R installation with brew:

brew tap homebrew/science

After that R can be installed as before:

brew install R

Thanks for a comment on a blog post  for pointing this out.