Dear Sir/Madam, I got some problem about using R. I am a student, and need to use R a lot. But sometimes when I am working in computer lab, we can not install some particular pacakges by ourselves because of the previliges. Can the folder of Librabry of R, move to, for instance the personal folder, my documents... then we can install any specified package? Best regards, ======================================================== Daoping Mo Via Real Collegio 30, CORPIE 10024, Moncalieri, Italy. Tel: +39 - 329-1865124 (Better after GMT 15:00, thanks!) Email: daoping.mo at studenti.unito.it
See this: myLibrary <- file.path(path.expand('~'), 'library') install.packages('package', lib = myLibrary) library(package, lib = myLibrary) #or .libPaths(c(.libPaths(), myLibrary)) library(package) On 29/02/2008, Daoping Mo <Daoping.mo at studenti.unito.it> wrote:> Dear Sir/Madam, > > I got some problem about using R. > I am a student, and need to use R a lot. But sometimes when I am working in > computer lab, we can not install some particular pacakges by ourselves because > of the previliges. > > Can the folder of Librabry of R, move to, for instance the personal folder, my > documents... then we can install any specified package? > > Best regards, > > > ========================================================> > Daoping Mo > Via Real Collegio 30, CORPIE 10024, Moncalieri, Italy. > Tel: +39 - 329-1865124 (Better after GMT 15:00, thanks!) > Email: daoping.mo at studenti.unito.it > > ______________________________________________ > 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. >-- Henrique Dallazuanna Curitiba-Paran?-Brasil 25? 25' 40" S 49? 16' 22" O
Corrected: dir.create(file.path(path.expand('~'), 'library')) myLibrary <- file.path(path.expand('~'), 'library') install.packages('package', lib = myLibrary) library(package, lib = myLibrary) #or .libPaths(c(.libPaths(), myLibrary)) library(package) On 29/02/2008, Henrique Dallazuanna <wwwhsd at gmail.com> wrote:> See this: > > myLibrary <- file.path(path.expand('~'), 'library') > install.packages('package', lib = myLibrary) > library(package, lib = myLibrary) > > #or > .libPaths(c(.libPaths(), myLibrary)) > library(package) > > > On 29/02/2008, Daoping Mo <Daoping.mo at studenti.unito.it> wrote: > > Dear Sir/Madam, > > > > I got some problem about using R. > > I am a student, and need to use R a lot. But sometimes when I am working in > > computer lab, we can not install some particular pacakges by ourselves because > > of the previliges. > > > > Can the folder of Librabry of R, move to, for instance the personal folder, my > > documents... then we can install any specified package? > > > > Best regards, > > > > > > ========================================================> > > > Daoping Mo > > Via Real Collegio 30, CORPIE 10024, Moncalieri, Italy. > > Tel: +39 - 329-1865124 (Better after GMT 15:00, thanks!) > > Email: daoping.mo at studenti.unito.it > > > > ______________________________________________ > > 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. > > > > > > -- > Henrique Dallazuanna > Curitiba-Paran?-Brasil > 25? 25' 40" S 49? 16' 22" O >-- Henrique Dallazuanna Curitiba-Paran?-Brasil 25? 25' 40" S 49? 16' 22" O
Have a look at the documentation of ?.libPaths, it seems to me that setting the variable R_LIBS_USER is what you would want to do. Haris Skiadas Department of Mathematics and Computer Science Hanover College On Feb 29, 2008, at 10:14 AM, Daoping Mo wrote:> Dear Sir/Madam, > > I got some problem about using R. > I am a student, and need to use R a lot. But sometimes when I am > working in > computer lab, we can not install some particular pacakges by > ourselves because > of the previliges. > > Can the folder of Librabry of R, move to, for instance the personal > folder, my > documents... then we can install any specified package? > > Best regards, > > > ========================================================> > Daoping Mo > Via Real Collegio 30, CORPIE 10024, Moncalieri, Italy. > Tel: +39 - 329-1865124 (Better after GMT 15:00, thanks!) > Email: daoping.mo at studenti.unito.it >
Hello, nowadays I am employed at my thesis with the link cauchit, nevertheless I have not found theory it brings over of this one, if someone could help one would be grateful for it very much. You forgive for my English, I am from Chile. Regards [[alternative HTML version deleted]]