[R] help

Henrique Dallazuanna wwwhsd at gmail.com
Fri Feb 29 16:53:59 CET 2008


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



More information about the R-help mailing list