On Sunday, October 2, 2011 8:12:20 AM UTC-7, Simon Urbanek wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><p>The framework installation uses `arch` to determine the default architecture which in your case is i386 but it is not installed. You can edit</p><p>/Library/Frameworks/R.<wbr>framework/Resources/bin/R</p><p>and replace <br>: ${R_ARCH=/`arch`}<br>with<br>: ${R_ARCH=/x86_64}</p><p>The assumption is that if you use a framework the resulting R will be universal, but it your case it's not. I'll see if we can come up with something more robust ...</p><p>Cheers,<br>Simon</p></blockquote><div><br></div><div>I run 10.6.8 with an x86_64 kernel and `arch` still returns i386 which is a bit misleading. For the Homebrew package manager, we decide if 64 bit binaries are preferred by checking the return value of `/usr/sbin/sysctl -n hw.cpu64bit_capable`.</div><div><br></div><div>-Charlie </div>