title: Unable to use Rpy2
body: <p>Why I try to load Rpy2 in Python, the interpreter finds the module but as soon as I try to import anything from it, it returns an error:</p>
  
  <p>e.g. </p>
  
  <pre><code>import rpy2 # No errors, although it does not print anything
  </code></pre>
  
  <p>But</p>
  
  <pre><code>import rpy2.robjects 
  </code></pre>
  
  <p>returns the following error:</p>
  
  <blockquote>
    <p>/home/jimmy/.python_easy_install/rpy2-2.3.0beta1-py2.7-linux-x86_64.egg/rpy2/rinterface/_rinterface.so:
    undefined symbol: Rf_translateCha rUTF8</p>
  </blockquote>
  
  <hr>
  
  <p>I followed the instructions in the website:</p>
  
  <p><strong>1.</strong> Installed R with the option for shared libraries:</p>
  
  <pre><code># &lt;go to the R source directory&gt;
  make distclean
  ./configure --enable-R-shlib
  make
  make install
  </code></pre>
  
  <p><strong>2.</strong> Added this to my <code>.bashhrc</code>:</p>
  
  <pre><code>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RHOME/lib
  </code></pre>
  
  <p><strong>3.</strong> And then installed <code>rpy2</code> with <code>easy_install</code> (I also tried with <code>pip</code>):</p>
  
  <pre><code>easy_install -d /home/jimmy/.python_easy_install rpy2
  </code></pre>
  
  <p>Why is it not working?</p>
  
  <p>This is all on Linux with the latest versions of <code>Rpy2</code>, <code>R</code> and <code>Python</code>.</p>