Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 11:35:23 GMT
From:      Marijn van Vliet <w.m.vanvliet@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185995: Rpy2 should be updated to 2.3.8 to address compatability issue with R 3.0.2
Message-ID:  <201401221135.s0MBZN6N011923@oldred.freebsd.org>
Resent-Message-ID: <201401221140.s0MBe08x037566@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185995
>Category:       ports
>Synopsis:       Rpy2 should be updated to 2.3.8 to address compatability issue with R 3.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 22 11:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Marijn van Vliet
>Release:        9.2
>Organization:
>Environment:
FreeBSD neu-wrk-0161 9.2-RELEASE-p1 FreeBSD 9.2-RELEASE-p1 #0: Sat Nov 16 04:38:22 UTC 2013 root@amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
The update of math/R to 3.0.2 broke compatibility with the existing math/rpy2 port. This is caused by a change to the R API, discussed here:

https://bitbucket.org/lgautier/rpy2/issue/150/rpy2-crashes-upon-import-with-r-302

A fix has been implemented in rpy2 as of version 2.3.8. Recommend updating the existing math/rpy2 port to version 2.3.8. This can be trivially done by just bumping the version number in the Makefile and updating the distinfo.
>How-To-Repeat:
Install math/rpy2. It draws python2.7 and R 3.0.2 as dependencies.
Open a python prompt and issue the command:

from rpy2 import robjects as r

it will respond with the error:
Error: 'rho' must be an environment not NULL: detected in C-level eval
Segmentation fault (core dumped)

>Fix:
Update math/rpy2 to version 2.3.8

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401221135.s0MBZN6N011923>