extendr_api::prelude

Function rcarr1

Source
pub fn rcarr1<A>(xs: &[A]) -> ArrayBase<OwnedArcRepr<A>, Dim<[usize; 1]>>
where A: Clone,
Expand description

Create a one-dimensional array with elements from xs.