From ligges at statistik.tu-dortmund.de  Tue Oct 11 18:39:38 2011
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Tue, 11 Oct 2011 18:39:38 +0200
Subject: [Rd] how to make a true binary package?
In-Reply-To: <1318350794267-3895117.post@n4.nabble.com>
References: <1318350794267-3895117.post@n4.nabble.com>
Message-ID: <4E94714A.8050603@statistik.tu-dortmund.de>



On 11.10.2011 18:33, A Zege wrote:
>
> I'd like to have a version of a package that doesn't include sources. I
> thought that this could be achieved by using binary option in R CMD build,
> but in fact it packages source code that could be easily printed once the
> library is loaded. Is there an option to avoid visibility of the source?

R is open source software ...

Anyway, for C sources: these cannot be printed easily in a binary 
package. But then make sure your license is file given you link against 
something under GPL ...


> Another related question is how to install two versions of the same package,
> so that i could load either of them? I am sure this could be done, just
> cannot find this in docs.

You can install each version of the package into a separate library.

Uwe Ligges





>
> I am using R 2.12.1 on Red Hat Lunix
>
> --
> View this message in context: http://r.789695.n4.nabble.com/how-to-make-a-true-binary-package-tp3895117p3895117.html
> Sent from the R devel mailing list archive at Nabble.com.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] how to make a true binary package?
Uwe Ligges