351 search results for "sweave"

Exporting R output to MS-Word with R2wd (an example session)

May 6, 2010
By

Creating reports is one of the basic tasks in data analysis. R provides numerous functions and packages to export it’s (beautiful) output and help compile it into a report. In this post I will present one such (basic) solution for Windows OS users for exporting R output into Microsoft Word using the R2wd (package). There are more ways and...

Read more »

Saving the world with R

April 15, 2010
By

Tuesday's meeting of the Bay Area R UseR Group at the LinkedIn offices was a great event. The headline speaker was Joe Adler, author of the excellent R reference manual, R in a Nutshell. Joe's presentation was an in-depth look at the relative speed of various options in R for looking up values from a key in a key-value...

Read more »

R is an Epic Fail?

April 15, 2010
By

I came across this blog post just now: The Next Big Thing, and of course these words caught my attention: However, for me personally and for most users, both individual and organizational, the much greater cost of software is the time it takes to install it, maintain it, learn it and document it. On

Read more »

In case you missed it: March Roundup

April 13, 2010
By

In case you missed them, here are some articles from last month of particular interest to R users. We reviewed a special report in The Economist on the "Data Deluge" and the growing importance of statistical analysis in business. One section mentioned R specifically. We announced that Zack Urlocker, formerly responsible for engineering and marketing for the open-source database...

Read more »

Looking for Software Paths in Windows Registry

March 28, 2010
By
Looking for Software Paths in Windows Registry

hen we want to call external programs in R under Windows, we often need to know the paths of these programs. For instance, we may want to know where ImageMagick is installed, as we need the convert (convert.exe) utility to convert images to other formats, or where OpenBUGS is installed because we need this path

Read more »

Font Families for the R PDF Device

March 24, 2010
By

otivated by the excellent R package pgfSweave, I begin to notice the font families in my graphs when writing Sweave documents. The default font family for PDF graphs is Helvetica, which is, in most cases (I think), inconsistent with the LaTeX font styles. Some common font families are listed in ?postscript, and we can take

Read more »

Updated Site Map for Jeromy Anglim’s Blog Psychology and Statistics

March 23, 2010
By

Every Six months or so I like to update the Site Mapfor my blog jeromyanglim.blogspot.com. Thus, if you're new to the blog, The Site Map provides an overview of previous blog content organised by topic. RSS Feed: http://feeds.feedburner.com/jeromyang...

Read more »

Updated Site Map for Jeromy Anglim’s Blog Psychology and Statistics

March 23, 2010
By

Every Six months or so I like to update the Site Mapfor my blog jeromyanglim.blogspot.com. Thus, if you're new to the blog, The Site Map provides an overview of previous blog content organised by topic. RSS Feed: http://feeds.feedburner.com/jeromyang...

Read more »

Using Regular Expressions in R: Case Study in Cleaning a BibTeX Database

March 9, 2010
By
Using Regular Expressions in R: Case Study in Cleaning a BibTeX Database

I recently had to clean up a BibTeX database containing around 1,000 references. One of the clean up tasks was to ensure that page numbers were separated with en-dashes as opposed to hyphens. This post sets out how I used regular expressions in R to co...

Read more »

principal components and image reconstruction

March 9, 2010
By
principal components and image reconstruction

Jeff Lewis at UCLA told me he teaches principal components with an image reconstruction example. This got me inspired to try it myself. A snapshot appears below, showing how the image quality improves quickly with a relatively small number of principal components. A full, Sweaved write up is here, making use of the biOps package

Read more »