Skip to content

driving R from Python (calldll?)

3 messages · Farrar.David@epamail.epa.gov, A.J. Rossini

#
Sorry for not providing appropriate detail.  I am working in Windows 98.
It looked to us like RSPython was Unix.

DF


                                                                                           
                    rossini at blind                                                          
                    globe.net            To:     David Farrar/DC/USEPA/US at EPA              
                    (A.J.                cc:     r-help at hypatia.math.ethz.ch               
                    Rossini)             Subject:     Re: [R] driving R from Python        
                                         (calldll?)                                        
                    01/23/2002                                                             
                    05:26 PM                                                               
                    Please                                                                 
                    respond to                                                             
                    rossini
FD> Sam Rushing's Python extension 'calldll' will supposedly give
    FD> me access to any DLL, and presumably R.DLL in particular, from
    FD> Python.  I have no experience manipulating DLLs as yet.  I am
    FD> learning Python.  I can't find any simple step-by-step
    FD> instructions on how to get done what I want to do.  Does
    FD> anyone have experience with this?  Is there a better way?  Of
    FD> course, one can use Rterm with DOS piping commands.

The RSPython package works extremely well.

Duncan, did you ever incorporate Greg Warnes' fixes for formulas?

best,
-tony

--
A.J. Rossini                                        Rsrch. Asst. Prof.
of Biostatistics
U. of Washington Biostatistics
rossini at u.washington.edu
FHCRC/SCHARP/HIV Vaccine Trials Net            rossini at scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
--- I'm 40% time until March 1st.  Try email the other 3 days.... -----




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
FD> Sorry for not providing appropriate detail.  I am working in
    FD> Windows 98.  It looked to us like RSPython was Unix.

It probably should be possible to port it over (I'm not going to
comment on the pain involved, though...).

best,
-tony
#
FD> Sorry for not providing appropriate detail.  I am working in
    FD> Windows 98.  It looked to us like RSPython was Unix.

    AJR> It probably should be possible to port it over (I'm not going
    AJR> to comment on the pain involved, though...).

Well, that was a content-free snide remark.  After 30 seconds of
remembering and a brief , I'm going to stick my neck out and say that
it should be reasonably easy, since Python's foreign library loading
mechanism is quite flexible between OS's.

best,
-tony