Displaying 1 result from an estimated 1 matches for "dim_loc".
Did you mean:
dim_lon
2014 Nov 24
1
Error "promise already under evaluation ..." with function(x, dim=dim(x))
...g, which is ~2 times as fast as dim_R_memoized(),
valid in an R package? Will it set the local 'dim' variable when the
package is loaded, which I assume is safe/legal, or before? I didn't
include it above, because I wasn't sure it was safe/valid.
dim_R_memoized_2 <- local({
dim_local <- base::dim
function(x) dim_local(x)
})
Thanks,
/Henrik
>
> Duncan Murdoch
>
> >
> >
> > Thanks,
> >
> > Henrik
> >
> > ______________________________________________
> > R-devel at r-project.org mailing list
> > https://st...