R語言是一種以命令列指令為主,呼叫函數處理數據、統計分析、輸出圖形的軟體程式語言。近年來Big Data的興起,使R語言在資料學界備受重視。
傳統的套裝統計分析軟體,雖在操作上有相當成熟的圖形介面,但由於R語言可免費下載,應用更廣、自由度高,使它成為分析師不可或缺的工具。
為何需要RStudio?
RStudio是一套跨平台的R語言IDE,它是專案型態的開發工具,有更清楚的控制介面,以及許多強大功能:
- 建立專案,方便管理多個進行中的目錄
- 程式語法編輯器,智慧highlight與底線,自動程式碼完成
- 歷史紀錄、debug、workspace管理的工具
- RStudio可以安裝在本地目錄,或以雲端方式用瀏覽器開啟
- 可以在有安裝R的Windows、Mac、Linux各大平台使用。
RStudio 是R的首選集成開發環境。它可以在桌面(Windows,Mac和Linux)上以及從Web瀏覽器到運行RStudio Server或RStudio Server Pro的Linux服務器的開源和商業版本中使用。
專為R構建的IDE
|
將您的工作流程整合在一起
|
強大的創作和調試功能
|
RStudio內含許多coding工具,增加您工作的效率,完美整合您需要的package進單一環境中。
RStudio的專案式管理介面,讓您方便整理、迅速瀏覽檔案與功能集。
RStudio可輸出為HTML、PDF、Word檔、投影片,支援ggvis等package產生互動圖型
RStudio Desktop Pro |
Posit Workbench Standard |
Posit Workbench Enterprise |
Commercial license Remote sessions Posit support |
5 named users per year Multiple R Versions & Sessions Jupyter & VS Code editors Collaboration |
10 named users per year All standard features Unrestricted server activation |
RStudio Desktop
General Prerequisites
RStudio Desktop requires a previous installation of R version 3.3.0 or higher. A 64-bit version of R is required on macOS and Linux; RStudio Desktop Pro for Microsoft Windows supports both 32-bit and 64-bit R sessions.
Remote Desktop Prerequisites
The RStudio Desktop Pro “Remote Desktop” feature allows connecting to sessions on RStudio Workbench from within the desktop experience. This is only supported when using the same major version of both RStudio Desktop Pro and RStudio Workbench. Use of mismatched versions may lead to unexpected behavior.
Requirements for Posit Workbench
System and platform requirements
Posit Workbench runs on most modern Linux distributions and can be accessed in most modern browsers.
Supported x86-64 Linux distributions
- RHEL 7, 8, and 9
- Ubuntu Linux 20 and 22
- Debian Linux 11 and 12
- SUSE Linux 15 SP5 / openSUSE 15.5
- Amazon Linux 2
- Linux systems and root privileges
- Knowledge of Linux systems and root privileges at installation and runtime is required.
Privilege requirements
Posit’s professional products are designed to run R and Python code safely. The products take advantage of sandboxing and user impersonation. To seamlessly ensure safe execution for many uses, the products themselves have certain privilege requirements.
When run on server, Posit’s professional products typically install and run as root. When used in containers, some of Posit’s professional products require container privileges. The table below summarizes permission requirements for Workbench.
Recommended system requirements
- 4+ CPUs
- 8+ GB of RAM
- 100+ GB of disk storage
Information provided from our licensing vendor, Linux hardware should be from within the past 8-10 years. Hardware outside of that range may not be supported and therefore, none of the RStudio/Posit licensed products will work on older CPUs.
Network
By default, Posit Workbench accepts connections on port 8787 for HTTP and 443 for HTTPS.
Browser requirements
- Microsoft Edge
- Chrome
- Safari
- Firefox
R & Python
R
- Workbench requires an installation of R version 3.3.0, or higher.
- We recommend installing multiple versions of R:
- Review the Installing R for information about installing R and why we recommend installing multiple versions of R.
Python
- We recommend installing Python under all configurations.
- We recommend installing multiple versions of Python:
- Review the Installing Python for information about installing R and why we recommend installing multiple versions of Python.
- If you choose to enable JupyterLab and Jupyter Notebook, Python is required.
Note
RStudio Pro and VS Code do not require Python. However, we recommend installing Python to provide users with the most choice.
Posit Connect
For data products worth sharing
Data scientists use Posit Connect to securely share data products with decision-makers and automate time-consuming tasks with code.
Publish the things you create in both R & Python, including interactive applications, documents, notebooks, and dashboards. Deploy models as APIs, and configure reports to run on a custom schedule.