tag:blogger.com,1999:blog-13592469.post2805593327647718570..comments2022-11-30T14:30:13.618-05:00Comments on A Pittsburgher back from the Sandbox: Eclipse setup notes: R (StatEt) and Python (Sage)lugerpitthttp://www.blogger.com/profile/06540243428506140293noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-13592469.post-63979806320068300992011-12-03T19:52:53.443-05:002011-12-03T19:52:53.443-05:00I was hoping to use R "natively" like yo...I was hoping to use R "natively" like you can in Sage, for example:<br /><br />sage: x=r([1,2,3,4,5,6)]<br />sage: r.summary(x)<br /><br />is essentially executing R from sage, without Rpy/2 wrapper. It is this functionality I was trying to figure how to use from Eclipse<br /><br />Thanks!<br /><br />GGnoreply@blogger.comtag:blogger.com,1999:blog-13592469.post-75968036454415335912011-12-03T19:45:23.631-05:002011-12-03T19:45:23.631-05:00I have not really followed up this, since I tend t...I have not really followed up this, since I tend to use Sage from the notebook environment (mostly as a teaching exercise or developmental tool, then I go back to Python for implementations)<br /><br />For R, 1st issue is to install the library using the R that is packaged in Sage. After that, look at the rpy2 documentation (URL below). The key issue is understanding how the library functions will be named since the '.' denotes a class member in Python. I suspect that you would need to do a bit of experimenting with the library in question.<br /><br />http://rpy.sourceforge.net/rpy2/doc-2.2/html/porting-to-rpy2.htmllugerpitthttps://www.blogger.com/profile/06540243428506140293noreply@blogger.comtag:blogger.com,1999:blog-13592469.post-68348012783330644202011-12-02T23:18:21.341-05:002011-12-02T23:18:21.341-05:00Dear Sir,
Your notes on setting up sage w/ Eclip...Dear Sir,<br /><br />Your notes on setting up sage w/ Eclipse have been very helpful. I'm currently trying to use "R" from within Sage in Eclipse, but I just cannot get it to work.<br /><br />You mentioned that you were looking into ways to access sage's R libraries from Eclipse and I was wondering if you had any success? I'd appreciate any help.<br /><br />My aim is to be able to use all of Sage's inbuilt facilities (Esp. R), but to do so in an actual IDE, rather than the notebook or shell.<br /><br />Thanks!<br />GGnoreply@blogger.comtag:blogger.com,1999:blog-13592469.post-73258804522954457202010-03-28T20:52:07.608-04:002010-03-28T20:52:07.608-04:00Another note: To install a package into the Sage ...Another note: To install a package into the Sage local packages<br />sage -python /local/bin/easy_install packagenamelugerpitthttps://www.blogger.com/profile/06540243428506140293noreply@blogger.com