Hello.
I'm currently trying to wrap up data frames into OCaml via OCaml-R, and
I'm having trouble with data frame subsetting:
# x#column 1;;
Erreur dans (function(x, i, exact) if (is.matrix(i)) as.matrix(x)[[i]] else .subset2(x, :
l'élément 1 est vide ;
la partie de la liste d'arguments de 'is.matrix' en cours d'évaluation était :
(i)
So I'd like to know what is the code of [[.data.frame. I know how to
show the code of functions in R (just typing the name of the function),
but I'm having trouble with [[.data.frame, as it has a special
syntacting handling.
Could someone kindly show me how to display the code of [[.data.frame in
the R toploop?
All the best,
--
Guillaume Yziquel
http://yziquel.homelinux.org/
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.