download the software, skip this step Download and install RStudio Package Manager for your platform on Microsoft's online copy of CRAN RStudio
Previous PDF | Next PDF |
[PDF] Package installr - Microsoft R Application Network
Title Using R to Install Stuff (Such As: R, Rtools, RStudio, Git, and More) Version 0 17 8 Download RStudio CRAN mirror data files into a folder Description
[PDF] Package installr - Microsoft R Application Network
2 mai 2018 · Title Using R to Install Stuff (Such As: R, 'Rtools', 'RStudio', 'Git', and Download RStudio CRAN mirror data files into a folder Description
[PDF] RStudio Package Manager: Admin Guide - RStudio Documentation
Download the RSPM License Server and then install the server and activate the license: Ubuntu/Debian sudo dpkg -i on Microsoft's online copy of CRAN 23
[PDF] RStudio Connect: Admin Guide - RStudio Documentation
Microsoft Edge 2 Getting Started This chapter helps you install RStudio Connect on Ubuntu or Red Hat Enterprise Linux/CentOS Linux, learn to manage the
[PDF] RStudio Package Manager: Admin Guide - RStudio Documentation
download the software, skip this step Download and install RStudio Package Manager for your platform on Microsoft's online copy of CRAN RStudio
[PDF] How to run RStudio from Turbonet
How to download Turbo net on a Mac, Digital Solutions Corporate Services – April 2020 Introduction This guide will show you how to launch RStudio from Turbo net in Cloud and Local modes: Select Yes when the Microsoft login appears
[PDF] 1 Installation and use of CNN for desktop processing with - bioRxiv
15 juil 2020 · Go to https://cran rstudio com/ and click “Download R 3 separated value ( csv) format, it can be opened in Microsoft Excel or your favorite text
[PDF] mieux vivre votre argent abonnement
[PDF] minimum font size for accessibility
[PDF] mode
[PDF] mode chapter 1
[PDF] mode notes
[PDF] mode pdf notes
[PDF] mode pdf worksheets
[PDF] molality normality problems with solutions pdf
[PDF] moment statique exercices corrigés pdf
[PDF] mongodb typescript example
[PDF] montparnasse tower restaurant paris france
[PDF] moodle pdf online viewer
[PDF] moog controls india pvt ltd
[PDF] moog inc stock price
RStudio Package Manager: Admin Guide
Version 1.0.2-6
AbstractThis guide will help an administrator install and configure RStudio Package Manager on a managed
server. You will learn how to install the product on different operating systems, configure authentication,
and monitor system resources.Contents
1 Introduction1
2 Get Started: Installation 1
2.1 Need Help? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.2 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.3 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.4 Initial Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.5 Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.6 Restart RStudio Package Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42.7 Visit the web UI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42.8 Try out the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42.9 Next Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43 Get Started: Configuration 4
3.1 Serving CRAN Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53.2 Distributing Local Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53.3 Serving Local Packages from Git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63.4 Distributing Local Packages along with CRAN Packages . . . . . . . . . . . . . . . . . . . . .
63.5 Supplementing CRAN with Bleeding Edge Packages from GitHub . . . . . . . . . . . . . . .
73.6 Serving a Subset of Approved CRAN Packages . . . . . . . . . . . . . . . . . . . . . . . . . .
73.7 Serving a Subset of Approved CRAN Packages and Local Packages . . . . . . . . . . . . . . .
94 Frequently Asked Questions 9
4.1 Setting Up RStudio Package Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
94.2 Configuring RStudio Package Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
104.3 Using RStudio Package Manager from R or RStudio . . . . . . . . . . . . . . . . . . . . . . .
114.4 Controlling Access to Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
114.5 Package Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
114.6 Managing Change Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
114.7 RStudio Package Manager and Docker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
125 Server Management12
5.1 Stopping and Starting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
125.2 Upgrading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
145.3 Purging RStudio Package Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
145.4 Backups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
155.5 Privileged Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
156 Licensing15
6.1 Proxy Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
166.2 Offline Activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
166.3 Licensing errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17 16.4 Repository Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
6.5 Floating Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
177 Files and Directories21
7.1 Changing Ownership . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217.2 Program Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217.3 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217.4 Server Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217.5 Access Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217.6 Variable Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
228 Database22
8.1 SQLite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
228.2 PostgreSQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
238.3 Usage Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
249 Outbound Proxy24
10 Running with a Proxy25
10.1 Using a Proxy for TLS/SSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2510.2 Nginx Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2510.3 Apache Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2611 Security & Auditing27
11.1 Browser Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2711.2 Package Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2912 High Availability and Load Balancing 29
12.1 HA Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3012.2 HA Time Synchronization Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3012.3 HA Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3012.4 Updating HA Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3012.5 Downgrading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3113 Admin CLI31
13.1 Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3113.2 Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3113.3 Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3213.4 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3214 Repositories and Sources 32
14.1 Repository Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3214.2 Repository Versioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3314.3 Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3314.4 The CRAN Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3414.5 Curated CRAN Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3614.6 Git Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3615 Building R Packages39
15.1 Job Launcher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3915.2 R Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4015.3 R Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4016 Configuring RStudio Server 40
16.1 A Single Repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4016.2 Internal Packages and CRAN Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
412
16.3 Allow Users to Optionally Add Additional Repos . . . . . . . . . . . . . . . . . . . . . . . . .41
16.4 Precedence of Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4117 Managing Change Control 41
17.1 Approach 1: Client Side Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4117.2 Approach 2: Repository Versioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4217.3 Approach 3: Locked Down Repositories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4217.4 What about versions of R? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4217.5 What about Docker? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43Appendix43
A Configuration Options43
A.1 Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
45A.2 API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47A.3 HTTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47A.4 HTTPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
48A.5 HttpRedirect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
49A.6 Git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
49A.7 Launcher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
50A.8 Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
50A.9 CRAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
51A.10 Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
51A.11 SQLite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52A.12 Postgres . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52A.13 FileStorage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52B Package Ecosystem53
B.1 Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53B.2 Repositories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54B.3 Git(hub) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54B.4 Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54C Changing RunAs User54
C.1 Default Account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54C.2 Changing The RunAs Account (Service) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
C.3 Using the New RunAs Account (CLI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
D Air-Gapped RStudio Package Manager 56
D.1 Initial Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
56D.2 Regular Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
57D.3 Upgrading RStudio Package Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
E Manual Installation for Minimal Root Use 58
E.1 Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58E.2 Extracting Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
59E.3 Create Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
59E.4 Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
59E.5 Edit config file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
59E.6 Start the RStudio Package Manager Service . . . . . . . . . . . . . . . . . . . . . . . . . . . .
60E.7 Use the CLI to Manage RStudio Package Manager . . . . . . . . . . . . . . . . . . . . . . . . 60
3
1 IntroductionRStudio Package Manager organizes and centralizes R packages across your team, department, or entire
organization.Traditionally, R packages entered the organization from a variety of sources including CRAN, Bioconductor,
Github, and even internally developed package sources. RStudio Package Manager empowers R users to access packages and reproduce environments while giving IT control and visibility into package use.2 Get Started: Installation
This chapter outlines the minimum steps to install RStudio Package Manager. More information on eachstep is available in subsequent chapters. Your environment will likely require one or more additional steps.
2.1 Need Help?
RStudio is happy to provide support for anyone using the product.To focus on building the best products, RStudio does not provide installation or professional services. If you
require such assistance, please refer to our certified partners.RStudio support is limited to our professional products. If your question is related to R, R code, or specific
R packages, please visit https://community.rstudio.com. If your question is related to RStudio Package Manager, you can open a support ticket by: 1. Running the command/opt/rstudio-pm/bin/run-diagnostics.Note, if you have not been able todownload the software, skip this step. If you unpacked the software in a non-default location, navigate
to that directory and use./bin/run-diagnostics. 2. If the cause of the problem is n oteviden tto y ou,send an email to supp ort@rstudio.comwith: •Your name and company •Your goal •What you have tried •The current error •The diagnostics output from step 1 RStudio support is via email, see our SLA for details.2.2 Prerequisites
Please review the necessary system requirements, account privileges, and internet access requirements prior
to installing RStudio Package Manager.2.2.1 System Requirements
•Red Hat Enterprise Linux/CentOS Linux 6.0+ •Red Hat Enterprise Linux/CentOS Linux 7.0+ •SUSE Enterprise Linux 12 SP3+ •Ubuntu 14.04 •Ubuntu 16.04 •Ubuntu 18.04 4 RStudio Package Manager should run on a server with a minimum of 2GB of RAM. Package sources can be lazily cached from CRAN or eagerly downloaded. RStudio Package Manager recommends 50-200GB of disk storage.2.2.2 Internet Access Requirements
RStudio Package Manager acts as a "bridge" between offline servers running R and upstream package sources
like CRAN. RStudio Package Manager should be installed on a server in the network with outbound access
to: https://rspm-sync.rstudio.comSee Repository Syncing for more details on what information is downloaded from the RStudio CRAN service.
RStudio Package Manager can be configured to use a HTTP proxy to access the internet, see OutboundProxy for more details.
Additional steps are necessary if your internal servers can not access an online server through your internal
network. See the appendix on running RStudio Package Manager in an air-gapped environment.2.2.3 Root Requirements
RStudio Package Manager does not run as root, see 2.2.4. By default, root privileges are required to:
•Install RStudio Package Manager •Start and Stop RStudio Package Manager via the service daemons •Activate the RStudio Package Manager licenseRStudio Package Manager can be installed and licensed without requiring root privileges. Instructions are
available in the appendix.2.2.4 RunAs User
RStudio Package Manager starts and runs under an unprivileged account. It never requires root. The installer creates a user account and group namedrstudio-pmand runs the RStudio Package Managerservice under this account. If you wish to change the account under which the service runs, please see C.
2.2.5 R Installation
If you plan to use git sources, RStudio Package Manager will require a valid installation of R version 3.0.0 or
greater. See 15 for more information.2.3 Installation
Download and install RStudio Package Manager for your platform. These commands will install the product
into/opt/rstudio-pm. See E to install into a non-default location or to perform a non-root install.# for ubuntu
sudo apt-get install gdebi-core wget sudo gdebi 1.0.2-6_amd64.deb 5 # for redhat and centos wget sudo yum install --nogpgcheck rstudio-pm-1.0.2-6.x86_64.rpm # for suse wget sudo zypper --no-gpg-checks install rstudio-pm1.0.2-6.x86_64.rpm2.4 Initial ConfigurationRStudio Package Manager settings are controlled by a configuration file located at/etc/rstudio-pm/rstudio-pm.gcfg
by default. At a minimum, complete theAddressproperty within theServersection, by specifying the URL used to access RStudio Package Manager.; /etc/rstudio-pm/rstudio-pm.gcfg [Server]Address
http://r-packages.example.com Replacehttp://r-packages.example.comwith the value appropriate to your organization. There are many other default options you may want to configure now or at a later point, such as: •The on-disk location where data will be stored, default:/var/lib/rstudio-pm •The database where essential metadata should be stored, default: built-in SQLite.Important security settings settings such as HTTPS certificates and ports, default: HTTP on port 4242.
For multi-node or highly available (HA) setups, please refer to the REQUIRED config settings listed at 12.2.5 Licensing
Verify the status of your license using:
/opt/rstudio-pm/bin/license-manager status If you have a license key, activate the license using /opt/rstudio-pm/bin/license-manager activate LICENSE_KEYReplaceLICENSE_KEYwith the value of your license key. If your server is offline or you need more information,
consult 6.2.6 Restart RStudio Package Manager
After changing the configuration file or license you must restart the RStudio Package Manager service. Follow
the instructions for your operating system:# for Ubuntu 16.04, Ubuntu 18.04, RHEL/CentOS 7, SUSE 12 sudo systemctl stop rstudio-pm sudo systemctl start rstudio-pm # for Ubuntu 14.04 and REHL/CentOS 6 sudo stop rstudio-pm sudo start rstudio-pm 6