Andy Thomson

Results 80 comments of Andy Thomson

Also worth mentioning: Parallel traits.

We should maybe gather traits into separate modules. At present the Robj traits are in their original places, but could be grouped. Traits like CanBeNA should be implemented for all...

We should hasten to deprecate `from_robj` IMHO.

If the function returned a `Result` you should be able to use ?. I haven't checked the state of Result handling recently, but please give it a try. Also, using...

We should definitely include error conversions for ndarray types in the implmentation.

We could also generate ndarray ArrayRefs from Integers and Doubles.

Maybe a "to_matrix/to_array" call for the vector types to add a class and dims.

I can see the case for Rint and Rreal wrappers like Bool but would personally not want to have the option of using slices removed, especially when dealing with very...

Can we now look at the "Logical and Complex" vectors. We should have an option on `num_complex` to implement complex numbers.

Yes, `TryFrom` has a default implementation that takes a `From`. When using the `?` operator, it is common to have `Infallible` as the error type not just here but anywhere...