darpa-xdata / xlang

Other
21 stars 9 forks source link

Implementing r_type_to_td #4

Closed kaneplusplus closed 10 years ago

kaneplusplus commented 10 years ago

R does not distinguish between the primitive types (int32 and double) and arrays of these types. This means that the r_type_to_td function can only return the type of the scalar/array, not whether or not it actually is a scalar or an array.

jiahao commented 10 years ago

The corresponding jl_type_to_td function is not exposed as part of the thunderdome API; it's only used internally by the actual Julia API functions.

kaneplusplus commented 10 years ago

My mistake, thanks.