title: How to install tcltk in R?
body: <p>My system is: debian6 + r-2.15. </p>
  
  <p>I have installed <code>tcl-devel</code> and <code>tk-devel</code> with <code>apt-get</code>:</p>
  
  <pre><code>apt-get install tcl8.5-dev tk8.5-dev
  </code></pre>
  
  <p>But I'm getting the following error </p>
  
  <pre><code>&gt; library("tcltk") 
  Error : .onLoad failed in loadNamespace() for 'tcltk', details:
  call: fun(libname, pkgname)
  error: Tcl/Tk support is not available on this system
  In addition: Warning message:
  S3 methods ‘$.tclvar’, ‘$&lt;-.tclvar’, ‘as.character.tclObj’, ‘as.character.tclVar’,  
  ‘as.double.tclObj’, ‘as.integer.tclObj’, ‘as.logical.tclObj’, ‘as.raw.tclObj’, 
  ‘print.tclObj’, ‘[[.tclArray’, ‘[[&lt;-.tclArray’, ‘$.tclArray’, ‘$&lt;-.tclArray’, 
  ‘names.tclArray’, ‘names&lt;-.tclArray’, ‘length.tclArray’, ‘length&lt;-.tclArray’, 
  ‘tclObj.tclVar’, ‘tclObj&lt;-.tclVar’, ‘tclvalue.default’, ‘tclvalue.tclObj’,
  ‘tclvalue.tclVar’, ‘tclvalue&lt;-.default’, ‘tclvalue&lt;-.tclVar’, ‘close.tkProgressBar’ were declared in NAMESPACE but not found 
  Error: package/namespace load failed for ‘tcltk’
  &gt; install.packages('tcltk')
  Warning message:
  package ‘tcltk’ is not available (for R version 2.15.1) 
  </code></pre>
  
  <p>How can I install <code>tcltk</code> in my R?  </p>
  
  <hr>
  
  <h3>Edit</h3>
  
  <pre><code>&gt; capabilities()["tcltk"]
  tcltk 
  FALSE 
  </code></pre>
  
  <p>I compiled R-2.15.1 to install it on debian6.04, but how can I do now in order to run <code>tcltk</code>?</p>