[R] use dyn.load to redefine R internal fns?

Joerg Kindermann Joerg.Kindermann at gmd.de
Thu Aug 26 12:19:06 CEST 1999

>>>>> " " == Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:

    >> Is there a way to change R internal functions with dyn.load?

     > You haven't told us what platform you are using. But Rprintf does
     > not just `print to stdout', as if it did the GUI versions of R could
     > not work.  What it actually does is print to R_Outputfile if that is
     > open (for use with sink), otherwise call R_WriteConsole. It sounds
     > as if you want to do is to write an alternative front-end with a
     > different R_WriteConsole.  That is quite easy to do on Unix, very
     > easy on Windows in the next version as there is extensive support
     > for multiple front-ends.

Yes, I want to build a new front-end which enables a bunch of R processes
on several machines to communicate with a master R process in parallel. I
have succeeded in changing the R sources and building a parallel version of
R from scratch. We use it routinely in Linux and Solaris environments.

The next step would be to reimplement the parallel interface so that it is
pretty much a regular library which could be given to the CRAN
repository. Then others could use it without integrating our changes into
the source code of each new R version.  To do this I am looking for ways to
make R send back its output as a (PVM-) message instead of just printing

--  Dr. Joerg Kindermann             GMD - AiS
            German National Research Center for Information Technology
                Schloss Birlinghoven, D-53754 St. Augustin, Germany
                   phone: +49 02241 142437 fax: +49 02241 142342
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

More information about the R-help mailing list