John Bajzik 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.

Is this errror (below) telling me that the Rserve interface has changed?
What is the last version of R/Rserve the addon was known to work with?
Is toJXatt looking at the attributes (dim) of the retrieved array?

Thanks for any help.


  Rget 'pi'
3.14159
  Rget '1:4'
1 2 3 4
  Rcmd 'x=array(1:6, c(2, 3))'
  Rget 'dim(x)'
2 3
  Rget 'x[1,]'
1 3 5
  Rget 'x[2,]'
2 4 6
  Rget 'x'
|rank error: toJXatt
|   ndx=.att     i.<s:<'dim'

This works for me, but there is a difference in set up. I installed R2.6.0, then used install.packages("Rserve") to get the Rserve addon. The documentation for this shows an earlier version:

Package: Rserve
Version: 0.4-7

This suggests there is a change in version 0.5 - please try with the earlier package.

Here is the session:

   9!:14''
j601/2006-11-17/17:05
   Rcmd 'x=array(1:6,c(2,3))'
   Rget'dim(x)'
2 3
   Rget'x[1,]'
1 3 5
   Rget'x[2,]'
2 4 6
   Rget'x'
1 3 5
2 4 6


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to