Comment 21 for bug 128180

Revision history for this message
Greg Detre (greg-gregdetre) wrote :

Thank you, Diwaker, Sundol and Green! One small note - for the latest version of the source that i downloaded from rpy.sf.net, the line number to change is now 145, not 132. It's easy enough to find - it looks like this:

    else: # unix-like systems, this is known to work for Linux and Solaris
        # include_dirs = [ os.path.join(RHOME.strip(), 'include'),
        # 'src', '/usr/share/R/include' ]
        # modified by gjd as per https://bugs.launchpad.net/ubuntu/+source/rpy/+bug/128180
        include_dirs = [ os.path.join(RHOME.strip(), 'include'), '/usr/share/R/include/',
                         'src', '/usr/share/R/include' ]
        libraries=['R','Rlapack']