search for: quoutes

Displaying 1 result from an estimated 1 matches for "quoutes".

Did you mean: quotes
2007 Mar 09
4
Using large datasets: can I overload the subscript operator?
...echnical details. So, my questions are: Has anyone ever made a similar extension, with virtual (lazy) arrays? Can the suscript operator be overloaded like that in R? (I know it can be in S, at least for vectors.) And a tough one: is it possible to make an expression like "[1]" (without quoutes) meaningful in R? At the moment it results in a syntax error. I would like to make it return an object of a special class that gets interpreted when subscripting my virtual array as "drop this dimension", like this: dataset [, 2, 3, drop = F] # Return a 3-dimensional array dataset [, [2...