Skip to content
Prev 8406 / 15075 Next

Installing R from source: "../i386/ldpaths: No such file or directory"

Marius,
On Oct 2, 2011, at 9:11 AM, Marius Hofert wrote:

            
(FWIW: you don't need sudo if you are admin. If you use sudo once, you have to use it always.)
(FWIW: the canonical location is /Library/Frameworks/R.framework/Resources/bin/R)
The framework installation uses `arch` to determine the default architecture which in your case is i386 but it is not installed. You can edit

/Library/Frameworks/R.framework/Resources/bin/R

and replace 
: ${R_ARCH=/`arch`}
with
: ${R_ARCH=/x86_64}

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 ...

Cheers,
Simon
wrong list ;)