It does not seem that anything can be returned  that is not a vector
of numbers. (See below)

I will have to try to see if I can find out what is actually being
returned from Rserve and what the addon scripts expect. The addon
scripts have some sort of debugging functions to examine 'raw' return
values.

   Rcmd 'x=array(1:6,c(2,3))'
   Rget 'x[1,]'
1 3 5
   Rget 'x[1:2,]'
<== Does not work
|rank error: toJXatt
|   ndx=.att     i.<s:<'dim'
   Rget 'c(TRUE,FALSE,NA,TRUE,TRUE,FALSE)'
1 0 2 1 1 0
   Rcmd 'foo <- function(x,y) {x + 2 * y}'
   Rget 'typeof(foo)'                                              <==
Another problem
|value error: dbstopme
|       dbstopme''
   Rcmd 'x=factor(c("one","two","three","four"))'
   Rget 'x'
<== Another problem
|rank error: toJXatt
|   ndx=.att     i.<s:<'dim'



On 10/30/07, Devon McCormick <[EMAIL PROTECTED]> wrote:
> Does
>   Rget 'x[1:2,]'
> work?
>
> On 10/29/07, John Bajzik <[EMAIL PROTECTED]> wrote:
> >
> > I am using J601c with the corresponding stats\r addOn.
> > I am using Windows XP.
> > I am using R 2.6.0 with the latest Rserve (0.5-0).
> >
> > My setup basically works, but I cannot retrieve arrays. I can retrieve
> > vectors such as the rows of an array.
> >
> ...
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to