On Oct 5, 2008, at 8:20 AM, Stefan Evert wrote:
I've done it. I hasn't effect on the PATH. I forgot to delete it. I deleted it now.

GMXUX-Ricardo-Rodriguez:.MacOSX rrodriguez$ cat environment.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http:// www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>M2</key>
  <string>/usr/local/apache-maven/apache-maven-2.0.9/bin</string>
  <key>M2_HOME</key>
  <string>/usr/local/apache-maven/apache-maven-2.0.9</string>
  <key>MAVEN_OPTS</key>
  <string>-Xms256m -Xmx512m</string>
  <key>PATH</key>
  <string>$M2:$PATH</string>
</dict>
</plist>
GMXUX-Ricardo-Rodriguez:.MacOSX rrodriguez$

This looks pretty wrong to me, although I'm not really familiar with Apple's property lists. You seem to assume that property lists understand bash's $XXX notation for variable interpolation, which I'm quite sure won't work. I suspect that you have to insert the FULL, EXPANDED path list here, as printed when you type "echo $PATH" in the Terminal.

You are correct Stefan, the $PATH would not expand itself, which is why Ricardo saw seeing what he was seeing as a path within R.app. Ricardo, you should avoid using the environment.plist file. After you delete it, which I think you have done already, you MUST restart the system for the changes to take effect. Your systems should be back to normal then, and R.app should be able to find /usr/bin/tar just fine on its own after that.

Hope this helps,
Stefan

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to