Saturday, October 26, 2013

Parallel problem and a fix

By default, R only uses one of the 12 cores in my workstation. According to this post, the easiest solution is to put "system(sprintf("taskset -p 0xffffffff %d", Sys.getpid()))" in my .Rprofile.

Even better, one can simply put a line "mcaffinity(1:12)" everytime the "parallel" package is loaded.

Friday, October 11, 2013

The new version (1.0) of the "mixtools" packages looks promising

It's a welcomed addition to the mixture modeling toolkit for R users.

Using Zelig and ggplot2 together

I am not the only person doing that, apparently. Here is an example.

Sunday, October 06, 2013

R packages for statistical exam generation

Looks like both the "exams" and "professR" packages can do that.

Saturday, October 05, 2013

Gmisc package

The "gmisc" package provides a function called "htmlTable" that can produce good-looking tables in markdown files.

With the author's help, I was able to make the reshaped data (using the "reshape2" package) work with the "htmlTable" function to create arbitrary descriptive statistics table with Markdown.

Friday, October 04, 2013

Who's Afraid of Peer Review?

Science, open access, ethics, and peer review: some intriguing results. From this map, India really stands out.

Here is a list of predatory publishers, compiled by Jeffrey Beall. 

Wednesday, October 02, 2013

Trouble publishing on rpubs and solution

On my Windows 7 machine, Rstudio reported an error message when I tried to publish my files on Rpubs. After some digging, I found the solutions here and here.

Knitcitations package

The "knitcitations" package provides some very cool features that makes it much easier to do literature search and review when working with Markdown and LaTeX.

Counter