[Rd] RFC: System and time support functions in R

Jens Oehlschlägel jens.oehlschlaegel@bbdo-interone.de
Tue, 25 Jul 2000 11:16:15 +0200



I agree it would be useful. Additionally I would vote for
disentangling/extending some functionality in R.

e.g. save() does not only creates an external representation, it also writes
it to a file. So we cannot send the representation to a socket or just to a
character variable. Same with load().

e.g. scan() does combined physical read and parsing, i.e. it reads from file
and keyboard, but not from a socket or character variable. Similarly write()
and read.table(). The logic of how to convert character data too a dataframe
should not be bound to file read.

>From my point of view, a minimum solution would be generally allowing
reading/writing from/to a character variable instead of file access. This
would also allow filtering the data e.g. through a compression algorithm.

Regards


NEW EMAIL
jens.oehlschlaegel@bbdo-interone.de

--
Dr. Jens Oehlschlägel
Analyse
BBDO InterOne
Grünstr. 15
40212 Düsseldorf

Tel.: +49 (0)211 1379-187
Fax.: +49 (0)211 1379-461
http://www.bbdo-interone.de






> -----Original Message-----
> From: owner-r-devel@stat.math.ethz.ch
> [mailto:owner-r-devel@stat.math.ethz.ch]On Behalf Of Duncan Murdoch
> Sent: Monday, July 24, 2000 9:08 PM
> To: R-devel@r-project.org
> Subject: Re: [Rd] RFC: System and time support functions in R
>
>
> On Thu, 20 Jul 2000 08:33:01 +0100 (BST), you wrote in message
> <Pine.GSO.4.05.10007200826030.9485-100000@auk.stats>:
>
> >I've been looking over system utility functions that we might want to
> >add to R.  A few come out of specific needs, others from looking at
> >other systems and what people are using system() for.  I've taken
> >account of Paul Gilbert's comments posted here a while ago (and I
> >think covered all except the use of mailers).
> >
> >We currently have
> >
> >date
> >*.socket
> >file.create
> >file.exists
> >file.remove
> >file.append
>
> Is there any interest in adding binary file access to the base?  I
> think it would be really useful, and have put together a prototype
> (still for Windows only) that's on my web site at
>
> <http://www.stats.uwo.ca/faculty/murdoch/software/Rstreams.zip>
>
> Duncan Murdoch
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.-.-.-.-.-
> r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._