title: Unable to load caret package in R on R 3.1.0 on OSX 10.9
body: <p>I installed the R caret package using install.packages command and did library(caret). I am recieving the following error</p>
  
  <pre><code>&gt;library(caret)
  Loading required package: lattice
  Loading required package: ggplot2
  Error : .onLoad failed in loadNamespace() for 'tcltk', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so':
  dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.6.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so
  Reason: image not found
  Error: package or namespace load failed for ‘caret’
  </code></pre>
  
  <p>I searched other posts and also installed OSX tcltk package from <a href="http://cran.us.r-project.org/bin/macosx/tools/" rel="nofollow">http://cran.us.r-project.org/bin/macosx/tools/</a> but it still does not seem to work. I also installed tcltk2 package from R but still does not work.. Kindly help</p>