[Rd] Vignette using parallel's makeCluster function has trouble building on Windows 7

From: Rich Calaway <richcalaway_at_revolutionanalytics.com>
Date: Mon, 05 Dec 2011 16:19:36 -0800

Hi, all--

I've been working on a doParallel package to provide a foreach parallel backend for the new parallel package, but I am having trouble building the vignette. On my system, if I use the following minimal vignette (call it buggyVignette.Rnw):


   \title{Sweave Example 1}
   \author{Rich Calaway}



   In this example I try to run code using library parallel in a vignette:

   cl <- makeCluster(3)

   and find that I get an error.


I get the following error when I try to build the package:

   C:\Users\richcalaway\RforgeDev\doparallel>C:\R\R-2.14.0\bin\R CMD build pkg

If I simply comment out the line with the call to makeCluster, the package (complete with vignette) builds. Also, I can use R CMD Sweave/pdflatex together to produce a PDF without error. Has anyone else encountered this problem, and if so, how did you fix it? I can work around the problem if need be by converting the code chunk to a LaTeX verbatim, but that doesn't seem very vignette-friendly.

Any help would be greatly appreciated. Below is my sessionInfo and my current path
> sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: i386-pc-mingw32/i386 (32-bit)

[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

PATH=c:\Rtools214\bin;c:\Rtools214\MinGW\bin;c:\Rtools214\MinGW64\bin;C:\Ruby\bin;C:\Program Files (x86)\MiKTeX 2.9\miktex\bin;C;\Windows\system32;


Rich Calaway

Rich Calaway
Documentation Manager
Revolution Analytics, Inc.
1505 Westlake Ave North Suite 300
Seattle, WA 98109
206-456-6086 (Direct Phone)
855-GET-REVO x6086 (Toll-free)

R-devel_at_r-project.org mailing list
Received on Tue 06 Dec 2011 - 00:22:57 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 06 Dec 2011 - 01:30:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive