For one-dimensional arrays x, names(x) should get x@dimnames[[1L]] and `names<-`(x, value) should set x@dimnames and unset x@names. C code should be changed to get and set names through a helper function that tests length(dim). Documentation should be amended accordingly.
For one-dimensional arrays
x,names(x)should getx@dimnames[[1L]]and`names<-`(x, value)should setx@dimnamesand unsetx@names. C code should be changed to get and setnamesthrough a helper function that testslength(dim). Documentation should be amended accordingly.