From ligges at statistik.uni-dortmund.de  Mon Mar 27 15:59:00 2006
From: ligges at statistik.uni-dortmund.de (Uwe Ligges)
Date: Mon, 27 Mar 2006 15:59:00 +0200
Subject: [Rd] Creating a package bundle.
In-Reply-To: <3B862D6B11ECDE458F679DDA238A135A1D82D9@lisa>
References: <3B862D6B11ECDE458F679DDA238A135A1D82D9@lisa>
Message-ID: <4427EFA4.4090200@statistik.uni-dortmund.de>

Steve Su wrote:

> Dear All,
> 
>  
> 
> What is the easiest way to create a package bundle in R? I have three
> packages I would like to group together in which one package will
> depends on three others. It looks like from
> 
> http://tolstoy.newcastle.edu.au/R/help/01a/0284.html, all that is
> required is to put require in the .First? I wonder how one can create a
> package so that when it is downloaded,
> 
> all the other packages are downloaded and installed as well? In my case,
> the three sub packages are not written by me and are already in R so I
> would like to keep the current


Perhaps you simply want to use

   install.packages("the_package", dependencies = TRUE)

rather than building a package bundle of packages you are not 
maintaining yourself.


Uwe Ligges


> versions as part of the bundle rather than allow them to get updated so
> there will not be compatibility problems?
> 
>  
> 
> I am aware there is a writing R extensions guide but it seems to be
> geared towards a more advanced user rather than beginner like me?
> 
>  
> 
> Thanks in advance.
> 
>  
> 
> Steve.
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Creating a package bundle.
Uwe Ligges