Very helpful, thank you Phil. -ZRL
On Tue, Jul 28, 2009 at 6:06 PM, Phil Spector <spec...@stat.berkeley.edu>wrote: > I'm attaching some slides that address this issue. > I hope you find them useful. > > - Phil Spector > Statistical Computing Facility > Department of Statistics > UC Berkeley > spec...@stat.berkeley.edu > > > > On Tue, 28 Jul 2009, zrl wrote: > > Dear list: >> >> I know this may be an old question. >> >> I know how to install the packages to a different directory, for example, >> /home/zrl/tmp >> and I know how to load it >> >>> library("genefilter",lib.loc="/home/zrl/tmp") >>> >> >> but I found some package(for example package A) will have to load some >> other packages as well, and this time package A will look for the package >> in >> the original installation directory not the "/home/zrl/tmp". >> >> My question is, how could I tell R from now on, for every package needed >> to >> be loaded, should only be searched for in "/home/zrl/tmp"? >> >> thanks. >> >> -ZRL >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help@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. >> > [[alternative HTML version deleted]] ______________________________________________ R-help@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.