{"id":528,"date":"2012-09-07T12:37:22","date_gmt":"2012-09-07T12:37:22","guid":{"rendered":"http:\/\/garysieling.com\/blog\/?p=528"},"modified":"2012-09-07T12:37:22","modified_gmt":"2012-09-07T12:37:22","slug":"book-review-r-cookbook","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/","title":{"rendered":"Book Review: R Cookbook"},"content":{"rendered":"<p>The <a  href=\"http:\/\/www.amazon.com\/gp\/product\/0596809158\/ref=as_li_ss_tl?ie=UTF8&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596809158&#038;linkCode=as2&#038;tag=thesecrelifeo-20\" rel=\"nofollow\">R Cookbook<\/a> is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O&#8217;Reilly cookbook format, this book is written in a pleasant, conversational format, easy to leaf through or read in depth as needed.<\/p>\n<p>For a developer accustomed to procedural or object oriented programming, R is a unique programming language, although not difficult to pick up. Data types are centered around mathematical objects- vectors, matrices, and data tables resembling SQL tables. The IDE is a REPL style command line editor, with sophisticated built in graphing, used at least as much for debugging as displaying output. It&#8217;s a very pragmatic language, not heavy on extraneous detail, and has functional language features like closures (although these types of programming language concepts are not the focus of the language or this book)<\/p>\n<p>The author uses personal examples from the finance field, which added an interesting angle for me, being unfamiliar with the types of problems involved. As each chapter is a series of &#8220;I have this problem, how do I solve it&#8221; examples, one can read the parts that are most interesting. I have an interest in signal processing and AI, and read the last few chapters first, to get an idea of where R shines, and what is considered difficult- this resolved to specialized statistical models (ANOVA\/ARIMA), and time series analysis &#8211; just what I wanted.<\/p>\n<p>The first few chapters give the just enough syntax examples to get you coding quickly, allowing me to translate a program I&#8217;d previously written in Java to R in a few hours (See <a href=\"http:\/\/garysieling.com\/blog\/detecting-pitches-in-music-with-r\">Detecting pitches in music with R<\/a><br \/>\n). Once you get beyond basic programming, several chapters cover common problems encountered in real programs- type conversion, creating different types of graphs, and common stumbling blocks.<\/p>\n<p>The author is clearly well-qualified to teach this language, and the book is written in a pleasant style, as if he were present discussing R with you. I&#8217;m a big fan of  the <a target=\"_blank\" href=\"http:\/\/www.amazon.com\/mn\/search\/?_encoding=UTF8&#038;camp=1789&#038;creative=390957&#038;field-keywords=r%20cookbook&#038;linkCode=ur2&#038;tag=thesecrelifeo-20&#038;url=search-alias%3Daps\" rel=\"noopener noreferrer\">O&#8217;Reilly Cookbooks series<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.assoc-amazon.com\/e\/ir?t=thesecrelifeo-20&#038;l=ur2&#038;o=1\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" \/> for this reason, as is side-steps the typically mind-numbing boredom induced by most technical literature. <\/p>\n<p>If you have any interest in statistics programming, data analysis, or want a survey of different database programming technologies, the <a  href=\"http:\/\/www.amazon.com\/gp\/product\/0596809158\/ref=as_li_ss_tl?ie=UTF8&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596809158&#038;linkCode=as2&#038;tag=thesecrelifeo-20\" rel=\"nofollow\">R Cookbook<\/a><br \/>\n is a great book to have.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The R Cookbook is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O&#8217;Reilly cookbook format, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Book Review: R Cookbook&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[2,5,6,27],"tags":[178,385,440,450,532,547],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"The R Cookbook is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O&#039;Reilly cookbook format,\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"gary\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Gary Sieling - Software Engineer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Book Review: R Cookbook - Gary Sieling\" \/>\n\t\t<meta property=\"og:description\" content=\"The R Cookbook is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O&#039;Reilly cookbook format,\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-09-07T12:37:22+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-09-07T12:37:22+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Book Review: R Cookbook - Gary Sieling\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The R Cookbook is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O&#039;Reilly cookbook format,\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#blogposting\",\"name\":\"Book Review: R Cookbook - Gary Sieling\",\"headline\":\"Book Review: R Cookbook\",\"author\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.assoc-amazon.com\\\/e\\\/ir?t=thesecrelifeo-20&l=ur2&o=1\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#articleImage\"},\"datePublished\":\"2012-09-07T12:37:22+00:00\",\"dateModified\":\"2012-09-07T12:37:22+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#webpage\"},\"articleSection\":\"Book Reviews, Data Mining, Data Science, Statistics, dsp, nlp, programming techniques, R, statistics, time series\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.garysieling.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/book-reviews\\\/#listItem\",\"name\":\"Book Reviews\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/book-reviews\\\/#listItem\",\"position\":2,\"name\":\"Book Reviews\",\"item\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/book-reviews\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#listItem\",\"name\":\"Book Review: R Cookbook\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#listItem\",\"position\":3,\"name\":\"Book Review: R Cookbook\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/book-reviews\\\/#listItem\",\"name\":\"Book Reviews\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#organization\",\"name\":\"Gary Sieling\",\"description\":\"Software Engineer\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/\",\"name\":\"gary\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0be925276d848ffe98a6a9dc8cf33e67?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"gary\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#webpage\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/\",\"name\":\"Book Review: R Cookbook - Gary Sieling\",\"description\":\"The R Cookbook is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O'Reilly cookbook format,\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/book-review-r-cookbook\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\"},\"datePublished\":\"2012-09-07T12:37:22+00:00\",\"dateModified\":\"2012-09-07T12:37:22+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/\",\"name\":\"Gary Sieling\",\"description\":\"Software Engineer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Book Review: R Cookbook - Gary Sieling","description":"The R Cookbook is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O'Reilly cookbook format,","canonical_url":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#blogposting","name":"Book Review: R Cookbook - Gary Sieling","headline":"Book Review: R Cookbook","author":{"@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author"},"publisher":{"@id":"https:\/\/www.garysieling.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.assoc-amazon.com\/e\/ir?t=thesecrelifeo-20&l=ur2&o=1","@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#articleImage"},"datePublished":"2012-09-07T12:37:22+00:00","dateModified":"2012-09-07T12:37:22+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#webpage"},"isPartOf":{"@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#webpage"},"articleSection":"Book Reviews, Data Mining, Data Science, Statistics, dsp, nlp, programming techniques, R, statistics, time series"},{"@type":"BreadcrumbList","@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.garysieling.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/category\/book-reviews\/#listItem","name":"Book Reviews"}},{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/category\/book-reviews\/#listItem","position":2,"name":"Book Reviews","item":"https:\/\/www.garysieling.com\/blog\/category\/book-reviews\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#listItem","name":"Book Review: R Cookbook"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#listItem","position":3,"name":"Book Review: R Cookbook","previousItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/category\/book-reviews\/#listItem","name":"Book Reviews"}}]},{"@type":"Organization","@id":"https:\/\/www.garysieling.com\/blog\/#organization","name":"Gary Sieling","description":"Software Engineer","url":"https:\/\/www.garysieling.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author","url":"https:\/\/www.garysieling.com\/blog\/author\/gary\/","name":"gary","image":{"@type":"ImageObject","@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0be925276d848ffe98a6a9dc8cf33e67?s=96&d=identicon&r=g","width":96,"height":96,"caption":"gary"}},{"@type":"WebPage","@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#webpage","url":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/","name":"Book Review: R Cookbook - Gary Sieling","description":"The R Cookbook is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O'Reilly cookbook format,","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.garysieling.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/#breadcrumblist"},"author":{"@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author"},"creator":{"@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author"},"datePublished":"2012-09-07T12:37:22+00:00","dateModified":"2012-09-07T12:37:22+00:00"},{"@type":"WebSite","@id":"https:\/\/www.garysieling.com\/blog\/#website","url":"https:\/\/www.garysieling.com\/blog\/","name":"Gary Sieling","description":"Software Engineer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.garysieling.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Gary Sieling - Software Engineer","og:type":"article","og:title":"Book Review: R Cookbook - Gary Sieling","og:description":"The R Cookbook is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O'Reilly cookbook format,","og:url":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/","article:published_time":"2012-09-07T12:37:22+00:00","article:modified_time":"2012-09-07T12:37:22+00:00","twitter:card":"summary_large_image","twitter:title":"Book Review: R Cookbook - Gary Sieling","twitter:description":"The R Cookbook is written by Paul Teetor, a developer with degrees in statistics and computer science, specializing in finance. The programming language R is a specialized language designed for deep statistical research, although it has some support for other mathematical fields, such as matrix algebra and signal processing. True to the O'Reilly cookbook format,"},"aioseo_meta_data":{"post_id":"528","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2023-02-04 16:08:26","updated":"2026-07-06 00:47:32","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.garysieling.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.garysieling.com\/blog\/category\/book-reviews\/\" title=\"Book Reviews\">Book Reviews<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBook Review: R Cookbook\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.garysieling.com\/blog"},{"label":"Book Reviews","link":"https:\/\/www.garysieling.com\/blog\/category\/book-reviews\/"},{"label":"Book Review: R Cookbook","link":"https:\/\/www.garysieling.com\/blog\/book-review-r-cookbook\/"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/528"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=528"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/528\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}