XpeH wrote: > > I am trying to understand how the order method in R language works, and > then I'd like to do the same in some other language. >
1. Type order in R command prompt (without "(" and ")") and press enter. This will print you the body of this function, so you can inspect it. You can save it to a file using your OS clipboard or with dump("order"). 2. > install.packages("debug") > library(debug) > mtrace(order) > order(o) o is the variable, you've created in your previous email. This allows you to trace the function and inspect the variables in each step. -- View this message in context: http://www.nabble.com/Reimplement-order-somehow-tf4561576.html#a13019651 Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.