Nothing
Code
rray_remove_axes(array(1:2, c(2L, 1L)), 1L)
Condition
Error in `rray_remove_axes()`:
! Can't remove axis 1 of `x` because it has dimension 2, not 1.
Code
rray_remove_axes(array(integer(), c(0L, 1L)), 1L)
Condition
Error in `rray_remove_axes()`:
! Can't remove axis 1 of `x` because it has dimension 0, not 1.
Code
rray_remove_axes(x, "row")
Condition
Error in `rray_remove_axes()`:
! Can't remove axis 1 of `x` because it has dimension 2, not 1.
Code
rray_remove_axes(array(1L, c(1L, 1L, 1L)), c(1L, 2L, 3L))
Condition
Error in `rray_remove_axes()`:
! `axes` can't remove every axis.
Code
rray_remove_axes(array(1L, 1L), 1L)
Condition
Error in `rray_remove_axes()`:
! `axes` can't remove every axis.
Code
rray_remove_axes(x, 3L)
Condition
Error in `rray_remove_axes()`:
! `axes` must contain values less than or equal to the dimensionality of 2, not 3.
Code
rray_remove_axes(x, 0L)
Condition
Error in `rray_remove_axes()`:
! `axes` must contain values greater than or equal to 1, not 0.
Code
rray_remove_axes(x, NA_integer_)
Condition
Error in `rray_remove_axes()`:
! `axes` must not contain missing values.
Code
rray_remove_axes(x, c(1L, 1L))
Condition
Error in `rray_remove_axes()`:
! `axes` must not contain axis 1 more than once.
Code
rray_remove_axes(x, structure(1L, foo = "bar"))
Condition
Error in `rray_remove_axes()`:
! `axes` can't have attributes.
Code
rray_remove_axes(x, 1.5)
Condition
Error in `rray_remove_axes()`:
! `axes` must contain whole numbers that fit in an integer. Problem at location 1.
Code
rray_remove_axes(x, "x")
Condition
Error in `rray_remove_axes()`:
! Can't use a title in `axes` because `x` has no titles.
Code
rray_remove_axes(x, 65L)
Condition
Error in `rray_remove_axes()`:
! rray can't support arrays with a dimensionality greater than 64. A dimensionality of 65 was requested.
Code
rray_remove_axes(NULL, 1L)
Condition
Error in `rray_remove_axes()`:
! `x` must be an array, not `NULL`.
Code
rray_remove_axes(mean, 1L)
Condition
Error in `rray_remove_axes()`:
! `x` must be an array, not a function.
Code
rray_remove_axes(x, 1L)
Condition
Error in `rray_remove_axes()`:
! `x` must be a bare array, not a <foo> object.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.