[R] Re: fixed-size string arrays (was: substring() string truncation?)

Joerg Kindermann Joerg.Kindermann at gmd.de
Tue Aug 3 10:16:34 CEST 1999


My apologies to jump into this thread,

>>>>> " " == Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> writes:

     > src/include/Defn.h:#define MAXELTSIZE 8192 /* The largest string
     > size */

     > There are a couple of fixed-size arrays in the code. We'll want to
     > eradicate them at some point but it's pretty painful to do. Do you
     > have a serious application for text strings of more than 8k length?

We are developing a parallel-computation version of R (at present for
internal use only ;-). Basically there are a number of R processes running
on several host computers. Data and functions (i.e. R objects) can be
exchanged between these in PVM-based messages. We use the *string*
representations of R objects to build the messages being send (by a
combination of calls to deparse at the sending process and parse at the
receiving process).

Therefore it would be very nice to have variable-sized string arrays in R!

best regards

--  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