[Rd] R result objects as lists

From: Thorsten <quintfall_at_googlemail.com>
Date: Tue, 26 Jul 2011 17:26:35 +0200

ink1">ink1">Hello List,
I want to communicate between a minimalistc lisp that has only numbers, symbols (also used as strings) and lists as datatypes, and R.

It should be no problem to send command strings from the lisp process to the R childprocess.

"0222qlink2">="0222qlink2"> name="0222qlink2"><a name="0222qlink2">ame="0222qlink2">name="0222qlink2"> name="0222qlink2"><a name="">0222 name="0222qlink2">qlin<a name="0222qlink2">k2">ame="0222qlink2">I knname="0222qlink2">ow, name="0222qlink2">R"> is< name="0222qlink2">a na<a name="0222qlink2">me="ame="0222qlink2">0222name="0222qlink2">qlin name="0222qlink2">k2"><a name=""0222qlink2">0222name="0222qlink2">qlin name="0222qlink2">k2"><a name="0222qlink2"> mostly implemented in Scheme, and I read recently, that these special return objects of R are really lists under the hood. Therefore my questions:

  1. When I send a command from a lisp (that iks not elisp) to an R subprocess, how can I recieve the R result object as a list (and not a special R object)?
  2. Apart from graphics - are all R result objects lists (or numbers or strings)? That is, is it safe to assume that the result of an R call will always be either a number, a string or a list (under the hood)?


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 26 Jul 2011 - 15:45:28 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 26 Jul 2011 - 21:40:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive