You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/01 16:22:07 UTC

[GitHub] [arrow] wjones127 commented on pull request #12751: ARROW-15989: [R] rbind & cbind for Table & RecordBatch

wjones127 commented on pull request #12751:
URL: https://github.com/apache/arrow/pull/12751#issuecomment-1086109154


   Seems that S3 dispatch isn't behaving nicely in R 3.6 for `cbind.Table`:
   
   ```
   > do.call(cbind.Table, inputs)
   Table
   2 rows x 5 columns
   $z <int32>
   $a <int32>
   $b <int32>
   $c <dictionary<values=string, indices=int8>>
   $d <int32>
   > do.call(cbind, inputs)
             b c d
    [1,] ? ? ? 1 1
    [2,] ? ? ? 2 1
    [3,] ? ? ? 1 1
    [4,] ? ? ? 2 1
    [5,] ? ? ? 1 1
    [6,] ? ? ? 2 1
    [7,] ? ? ? 1 1
    [8,] ? ? ? 2 1
    [9,] ? ? ? 1 1
   [10,] ? ? ? 2 1
   [11,] ? ? ? 1 1
   [12,] ? ? ? 2 1
   [13,] ? ? ? 1 1
   [14,] ? ? ? 2 1
   [15,] ? ? ? 1 1
   [16,] ? ? ? 2 1
   [17,] ? ? ? 1 1
   [18,] ? ? ? 2 1
   [19,] ? ? ? 1 1
   [20,] ? ? ? 2 1
   [21,] ? ? ? 1 1
   [22,] ? ? ? 2 1
   [23,] ? ? ? 1 1
   [24,] ? ? ? 2 1
   [25,] ? ? ? 1 1
   [26,] ? ? ? 2 1
   [27,] ? ? ? 1 1
   [28,] ? ? ? 2 1
   [29,] ? ? ? 1 1
   [30,] ? ? ? 2 1
   [31,] ? ? ? 1 1
   [32,] ? ? ? 2 1
   [33,] ? ? ? 1 1
   [34,] ? ? ? 2 1
   [35,] ? ? ? 1 1
   [36,] ? ? ? 2 1
   Warning message:
   In (function (..., deparse.level = 1)  :
     number of rows of result is not a multiple of vector length (arg 2)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org