You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2022/10/10 14:07:00 UTC

[jira] [Updated] (ARROW-17572) [R] Add binding for random() function

     [ https://issues.apache.org/jira/browse/ARROW-17572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neal Richardson updated ARROW-17572:
------------------------------------
    Fix Version/s: 11.0.0
                       (was: 10.0.0)

> [R] Add binding for random() function
> -------------------------------------
>
>                 Key: ARROW-17572
>                 URL: https://issues.apache.org/jira/browse/ARROW-17572
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Neal Richardson
>            Priority: Major
>             Fix For: 11.0.0
>
>
> {{random()}} generates uniform distributed values. We can probably bind that somehow to {{runif()}} in dplyr (will have to ignore the `n` argument). If nothing else, it can be used to implement {{slice_sample()}} (see also ARROW-13766, ARROW-13767).
> FWIW there's {{sql_random()}} in dbplyr, not sure if that's actually exposed meaningfully or just used to implement slice_sample. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)