From a6afc593e922d403ff31c9fe52e81c64a1d37fbd Mon Sep 17 00:00:00 2001 From: Tryn Mirell Date: Sat, 24 Sep 2011 14:52:24 -0500 Subject: [PATCH] R: Add note concerning rJava support Closes Homebrew/homebrew#8255. Signed-off-by: Charlie Sharpsteen --- Formula/r.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/r.rb b/Formula/r.rb index e7270bdda33..c5d9e7ee297 100644 --- a/Formula/r.rb +++ b/Formula/r.rb @@ -70,6 +70,9 @@ class R < Formula To use this Framework with IDEs such as RStudio, it must be linked to the standard OS X location: ln -s "#{prefix}/R.framework" /Library/Frameworks + + To enable rJava support, run the following command: + R CMD javareconf JAVA_CPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers EOS end end