Seamless R and C++ Integration with Rcpp
Rcpp is the glue that binds the power and versatility of R with the speed and efficiency of C++. With Rcpp, the transfer of data between R and C++ is nearly seamless, and high-performance statistical computing is finally accessible to most R users.&
- PDF / 3,533,488 Bytes
- 236 Pages / 439.43 x 666.14 pts Page_size
- 4 Downloads / 183 Views
Dirk Eddelbuettel
Seamless R and C++ Integration with Rcpp
Use R! Series Editors: Robert Gentleman Kurt Hornik Giovanni G. Parmigiani
For further volumes: http://www.springer.com/series/6991
Dirk Eddelbuettel
Seamless R and C++ Integration with Rcpp
123
Dirk Eddelbuettel River Forest Illinois, USA
ISBN 978-1-4614-6867-7 ISBN 978-1-4614-6868-4 (eBook) DOI 10.1007/978-1-4614-6868-4 Springer New York Heidelberg Dordrecht London Library of Congress Control Number: 2013933242 © The Author 2013 This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law. The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Printed on acid-free paper Springer is part of Springer Science+Business Media (www.springer.com)
To Lisa, Anna and Julia
Preface
Rcpp is an R add-on package which facilitates extending R with C++ functions. It is being used for anything from small and quickly constructed add-on functions written either to fluidly experiment with something new or to accelerate computing by replacing an R function with its C++ equivalent to large-scale bindings for existing libraries, or as a building block in entirely new research computing environments. While still relatively new as a project, Rcpp has already become widely deployed among users and developers in the R community. Rcpp is now the most popular language extension for the R system and used by over 100 CRAN packages as well as ten BioConductor packages. This books aims
Data Loading...