R High Performance Programming

Aloysius Lim, William Tjhi

  • 出版商: Packt Publishing
  • 出版日期: 2015-01-31
  • 售價: $1,410
  • 貴賓價: 9.5$1,340
  • 語言: 英文
  • 頁數: 180
  • 裝訂: Paperback
  • ISBN: 1783989262
  • ISBN-13: 9781783989263
  • 相關分類: R 語言
  • 相關翻譯: R高性能程式設計 (簡中版)
  • 海外代購書籍(需單獨結帳)

商品描述

Overcome performance difficulties in R with a range of exciting techniques and solutions

About This Book

  • Benchmark and profile R programs to solve performance bottlenecks
  • Combine the ease of use and flexibility of R with the power of big data tools
  • Filled with practical techniques and useful code examples to process large data sets more efficiently

Who This Book Is For

This book is for programmers and developers who want to improve the performance of their R programs by making them run faster with large data sets or who are trying to solve a pesky performance problem.

What You Will Learn

  • Benchmark and profile R programs to solve performance bottlenecks
  • Understand how CPU, memory, and disk input/output constraints can limit the performance of R programs
  • Optimize R code to run faster and use less memory
  • Use compiled code in R and other languages such as C to speed up computations
  • Harness the power of GPUs for computational speed
  • Process data sets that are larger than memory using disk-based memory and chunking
  • Tap into the capacity of multiple CPUs using parallel computing
  • Leverage the power of advanced database systems and Big Data tools from within R

In Detail

With the increasing use of information in all areas of business and science, R provides an easy and powerful way to analyze and process the vast amounts of data involved. It is one of the most popular tools today for faster data exploration, statistical analysis, and statistical modeling and can generate useful insights and discoveries from large amounts of data.

Through this practical and varied guide, you will become equipped to solve a range of performance problems in R programming. You will learn how to profile and benchmark R programs, identify bottlenecks, assess and identify performance limitations from the CPU, identify memory or disk input/output constraints, and optimize the computational speed of your R programs using great tricks, such as vectorizing computations. You will then move on to more advanced techniques, such as compiling code and tapping into the computing power of GPUs, optimizing memory consumption, and handling larger-than-memory data sets using disk-based memory and chunking.

商品描述(中文翻譯)

克服 R 語言中的性能困難:一系列令人興奮的技巧和解決方案

關於本書
- 透過基準測試和分析 R 程式,解決性能瓶頸
- 結合 R 的易用性和靈活性,發揮大數據工具的威力
- 提供實用技巧和有用的程式碼範例,更高效地處理大型資料集

本書適合對 R 程式進行性能優化有興趣的程式設計師和開發人員,他們希望在處理大型資料集時使程式運行更快,或者正在解決性能問題。

你將學到什麼
- 透過基準測試和分析 R 程式,解決性能瓶頸
- 了解 CPU、記憶體和磁碟輸入/輸出限制如何影響 R 程式的性能
- 優化 R 程式碼,使其運行更快並使用更少的記憶體
- 使用編譯的程式碼在 R 和其他語言(如 C)中加速計算
- 利用 GPU 的計算能力提高計算速度
- 使用基於磁碟的記憶體和分塊處理大於記憶體的資料集
- 使用並行計算利用多個 CPU 的能力
- 在 R 內部利用先進的資料庫系統和大數據工具的威力

詳細內容
隨著信息在商業和科學各個領域的不斷應用,R 提供了一種簡單而強大的方式來分析和處理大量的數據。它是當今最受歡迎的工具之一,用於更快的數據探索、統計分析和統計建模,並能從大量數據中獲得有用的洞察和發現。

通過這本實用而多樣化的指南,您將能夠解決 R 程式中的各種性能問題。您將學習如何對 R 程式進行分析和基準測試,識別瓶頸,評估和識別來自 CPU 的性能限制,識別記憶體或磁碟輸入/輸出限制,並使用一些技巧(如向量化計算)優化 R 程式的計算速度。然後,您將進一步學習更高級的技術,如編譯程式碼和利用 GPU 的計算能力,優化記憶體消耗,以及使用基於磁碟的記憶體和分塊處理大於記憶體的資料集。