Byron Ellis wrote:
The Window Manager in OS X does not execute as you nor does it spawn a
shell to start a process so your bash profile is never called. There are
ways to change the environment variables through editing the
OSXEnvironment plist...
Thanks Byron, that did the job.
I created a file ~/.MacOSX/environment.plist containing:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PATH</key>
<string>/usr/bin:/bin:/usr/sbin:/sbin:/sw/bin:/usr/local/bin:/sw/sbin:/usr/X11/bin:/usr/local/git/bin/</string>
</dict>
</plist>
Now R can see the full path when launched from the dock.
Cheers,
Gad
--
Gad Abraham
Dept. CSSE and NICTA
The University of Melbourne
Parkville 3010, Victoria, Australia
email: [EMAIL PROTECTED]
web: http://www.csse.unimelb.edu.au/~gabraham
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac