rspm (rstudio package manager)

Published by onesixx on

https://www.rstudio.com/products/package-manager/

repository management server
to organize and centralize R packages across your team

Get offline access to CRAN,
automate CRAN syncs,
share local packages,
restrict package access,
find packages across repositories

http://docs.rstudio.com/rspm/admin/quickstarts.html

http://docs.rstudio.com/rspm/admin/

We currently only provide a pre-built binary for the 64-bit architecture.

Execute the following commands in a terminal window to install gdebi (which is used to install RStudio Package Manager and all of its dependencies) and RStudio Package Manager.

$ sudo apt-get install gdebi-core
$ wget https://s3.amazonaws.com/rstudio-package-manager/rstudio-pm_0.6.0.1-8_amd64.deb
$ sudo gdebi rstudio-pm_0.6.0.1-8_amd64.deb    

Next Steps
Once installed, view the Administrator’s Guide to learn how to manage and configure RStudio Package Manager.

http://docs.rstudio.com/rspm/admin/appendix-configuration.html#appendix-configuration

|➜ subl /etc/rstudio-pm/rstudio-pm.gcfg

[Server]
Address = http://192.168.1.6

[Http]
Listen = :4242

|➜ sudo systemctl start rstudio-pm

license-manager[32575]: ERROR

|➜  sudo /opt/rstudio-pm/bin/license-manager status
RStudio License Manager 1.2.631-2
-- Local license status --
Trial-Type: Verified
Status: Evaluation
Days-Left: 45
License-Scope: System
-- Floating license status --
License server not in use.

 

PATH에 /opt/rstudio-pm/bin 추가

alias rspm='/opt/rstudio-pm/bin/rspm'

 

http://docs.rstudio.com/rspm/admin/admin-cli.html#example

Error: Post http://unix/__api__/sync: dial unix /var/run/rstudio-pm/rstudio-pm.sock: connect: permission denied

|➜ ls -alh /var/run/rstudio-pm/rstudio-pm.sock
srwxrwx— 1 rstudio-pm rstudio-pm 0 Aug 11 16:57 /var/run/rstudio-pm/rstudio-pm.sock

sudo usermod -aG rstudio-pm onesixx

그리고 relogin 

 

 

http://192.168.1.6:4242/client/#/

 

 

Categories: R Basic

onesixx

Blog Owner

Leave a Reply

Your email address will not be published.