Skip to content
Prev 44837 / 63424 Next

Incorporating single functions from other packages: rules and regulations?

Tim Triche, Jr. <tim.triche <at> gmail.com> writes:
Have you tried the R Extensions manual?  That doesn't quite
answer the "how are they implemented" question, but it should
cover "how should they be used" about as thoroughly as possible.

http://obeautifulcode.com/R/How-R-Searches-And-Finds-Stuff/ may
be useful as well.

 Beyond that, you have to look at the R language manual (if at
has anything) or the source code, I think.
I agree/sympathize but can also think of cases, if the function is
short/simple enough, that it would actually make sense to copy it.
It's a judgment call, I think.

Most R packages are under sufficiently permissive licenses (plotrix is
'GPL >=2') that copying is allowed, although it would be courteous to
inform/ask permission from the author(s).

  Ben Bolker