View the source of an builtin R package -
possible duplicate:
view source of r package
i want see source code of stats::reorder.
this answer seems not apply built in packages compiled bytecode:
> stats::reorder function (x, ...) usemethod("reorder") >bytecode: 0x103321718< >environment: namespace:stats<
this has nothing reorder being compiled bytecode , being generic function.
my answer here elaborates on this.
but situation if want see code can use
# find methods available reorder methods(reorder) # attempt check out code reorder.default reorder.default # use getanywhere view code regardless of if exported getanywhere(reorder.default)
Comments
Post a Comment