Hi All, I have a question about package installation in R. We have developed a package, say 'ABC'. We have installed it in two machines, A and B by running 'Install Package(s) from local zip file'. Everything was fine. Right now, suppose that package got damaged in machine A and our zipped file is gone, My question is that may I directly copy ../library/ABC from machine B to machine A rather than running 'Install Package(s) from local zip file' (I don't have that zip file anymore)? Thanks. HXD [[alternative HTML version deleted]]
On 02/05/2013 12:54 PM, Hui Du wrote:> Hi All, > > I have a question about package installation in R. We have developed a package, say 'ABC'. We have installed it in two machines, A and B by running 'Install Package(s) from local zip file'. Everything was fine. Right now, suppose that package got damaged in machine A and our zipped file is gone, My question is that may I directly copy ../library/ABC from machine B to machine A rather than running 'Install Package(s) from local zip file' (I don't have that zip file anymore)?If the R versions are the same, this should work. If the versions are different, it may not be. This means that you'll be in trouble if you ever decide to upgrade R, even if you're not in trouble now. Remember the two laws of computing: 1. Back it up. 2. Do it now. (From Fred Davidson's book.) Duncan Murdoch
Hi Probably others can give you some better insight but copying folder with package from one machine to another is possible until the installation is required by a new version of R (about each 3 years). Petr> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Hui Du > Sent: Thursday, May 02, 2013 6:55 PM > To: r-help at r-project.org > Subject: [R] Self-developed package -- installation > > Hi All, > > I have a question about package installation in R. We have developed a > package, say 'ABC'. We have installed it in two machines, A and B by > running 'Install Package(s) from local zip file'. Everything was fine. > Right now, suppose that package got damaged in machine A and our zipped > file is gone, My question is that may I directly copy ../library/ABC > from machine B to machine A rather than running 'Install Package(s) > from local zip file' (I don't have that zip file anymore)? > > > Thanks. > > HXD > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.