Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update R to the 2.9.2 release and split off rpy.spkg #3086

Closed
sagetrac-mabshoff mannequin opened this issue May 3, 2008 · 7 comments
Closed

Update R to the 2.9.2 release and split off rpy.spkg #3086

sagetrac-mabshoff mannequin opened this issue May 3, 2008 · 7 comments

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 3, 2008

  • R 2.9.2 is out, so let's upgrade.

  • Evaluate using rpy2, which is a lower-level interface between R and python. Make rpy2 its own spkg.

CC: @jasongrout

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/3086

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-4.1.2 milestone May 3, 2008
@sagetrac-mabshoff sagetrac-mabshoff mannequin self-assigned this May 3, 2008
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented May 3, 2008

comment:1

R 2.6.1 is also broken on FC3:

gcc -std=gnu99 -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H   -fpic  -I/root/sage-3.0/lo
cal/include -L/root/sage-3.0/local/lib/  -c signrank.c -o signrank.o
make[5]: Leaving directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src/src/nmath'
make[4]: Leaving directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src/src/nmath'
make[4]: Entering directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src/src/unix'
config.status: creating src/unix/Makefile
make[4]: Leaving directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src/src/unix'
make[4]: Entering directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src/src/unix'
make[5]: Entering directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src/src/unix'
making dynload.d from dynload.c
making edit.d from edit.c
making stubs.d from stubs.c
making system.d from system.c
making sys-unix.d from sys-unix.c
making sys-std.d from sys-std.c
sys-std.c:401:33: readline/readline.h: No such file or directory
sys-std.c:431:32: readline/history.h: No such file or directory
make[5]: *** [sys-std.d] Error 1
make[5]: Leaving directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src/src/unix'
make[4]: *** [R] Error 2
make[4]: Leaving directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src/src/unix'
make[3]: *** [R] Error 1
make[3]: Leaving directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src/src'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/root/sage-3.0/spkg/build/r-2.6.1.p15/src'
Error building R.

This is most likely cause by R not using Sage's readline. There is a similar issue with R not picking Sage's libpng, so fix both issues when updating to R 2.7.

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented May 5, 2008

comment:2

See also #3011 about the related RHOME issue.

Cheers,

Michael

@jasongrout

This comment has been minimized.

@jasongrout jasongrout changed the title Update R to the 2.7 release and split off rpy.spkg Update R to the 2.9.2 release and split off rpy.spkg Sep 16, 2009
@jasongrout
Copy link
Member

comment:4

Also, R has its own C interface---I think rpy2 is using it, but if not, it might make sense for us to just write a Cython wrapper around the C interface.

@jasongrout
Copy link
Member

comment:5

My draft of an updated R and rpy2 spkg is at
http://sage.math.washington.edu/home/jason/r-2.9.2.spkg. There are
unchecked-in changes in the spkg, and I just ignored a bunch of old
patches to R because I wasn't sure they applied anymore, so the spkg is
not finished.

@jasongrout
Copy link
Member

comment:6

See #6972 for a continuation of the updated spkg above.

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 22, 2009

comment:7

Closing this ticket as a duplicate of #6972.

@sagetrac-mvngu sagetrac-mvngu mannequin closed this as completed Sep 22, 2009
@sagetrac-mvngu sagetrac-mvngu mannequin removed this from the sage-4.1.2 milestone Sep 22, 2009
@sagetrac-mvngu sagetrac-mvngu mannequin added r: duplicate and removed p: major / 3 labels Sep 22, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant