An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20070925/a1413728/attachment.pl
are R packages open-source?
4 messages · Alexander Moreno, Jeff Ryan, Brian G. Peterson
Alex, Would be best to be more specific - i.e. maybe which package/functions... That said, all packages on CRAN are source code, with binaries built on post-submission for Mac and Windows. Simply download the .tar.gz file from CRAN's contributed section, and untar: Unix and Mac: tar xzf name_of_package.tar.gz _OR_ gtar xzf name_of_package.tar.gz Windows must have similar facility, though I personally have no idea. Anyway all code would then be somewhere in the directory that follows the tar command. Source meant to be compiled (C and Fortan) is in the src directory. Good luck. Jeff
On 9/25/07, Alexander Moreno <alexander.f.moreno at gmail.com> wrote:
Hi,
I'm trying to modify some of the commands in add-on packages, and I'm
wondering if they are open source, which would allow me to do that? If so,
does anyone know how I could access the code?
Best,
Alex
[[alternative HTML version deleted]]
_______________________________________________ R-SIG-Finance at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. -- If you want to post, subscribe first.
An aside. Open source != open to modification. Make sure to read the license. Jeff
On 9/25/07, Alexander Moreno <alexander.f.moreno at gmail.com> wrote:
Hi,
I'm trying to modify some of the commands in add-on packages, and I'm
wondering if they are open source, which would allow me to do that? If so,
does anyone know how I could access the code?
Best,
Alex
[[alternative HTML version deleted]]
_______________________________________________ R-SIG-Finance at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. -- If you want to post, subscribe first.
Alexander Moreno wrote:
I'm trying to modify some of the commands in add-on packages, and I'm wondering if they are open source, which would allow me to do that? If so, does anyone know how I could access the code?
Jeff has already mostly answered your question, but I'll provide what may be a bit of clarification. All R core packages and R itself are released under the GNU Public License (GPL), and you are thus free to modify their code. There are other restrictions on attribution and distribution in the GPL that are spelled out in the license but basically come down to crediting the source, noting your changes, and distributing your modifications always under the GPL as well. The vast majority of CRAN packages for R are also distributed under the GPL, also allowing you to change the source. As Jeff has pointed out, you need to check the License section for the package you're looking at either on CRAN or in the downloaded package itself. Feel free to ask on this list if you're not clear on the licensing status of any particular license or package. In something that might otherwise go unsaid: If you make changes to a package to either fix a bug or enhance the functionality, *please* give back those changes to the community that you have benefited so much from by sending them to the package maintainer at least, and possibly/probably also posting your modifications to this list if they are finance-related. Everyone benefits when we share our work and code on published analytical techniques, even though the professional investors among us will continue to compete in the markets. Regards, - Brian