Wolfgang Raffelsberger
2012-Oct-04 13:30 UTC
[R] (minor) R syntax error in help page to the function makeCluster of library(snow)
Dear list, I just realized that one of the examples given in the help page to the function makeCluster of the library(snow) has a small syntax error : ## to get started library(snow) ?makeCluster .. will open a halp page containing the command towards the end of the examples : cl <- makeCluster(c(rep(list(macOptions), 2), rep(list(lnxOptions), 2), rep(list(winOptions), 2), type = "SOCK") .. which is missing a closing parenthesis. For the rest I'd like to congratulate the developpers of this library for the great job they have done !! Best regards, Wolfgang For completness (according to the posing guide):> sessionInfo()R version 2.15.1 (2012-06-22) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1] LC_CTYPE=fr_FR.UTF-8 LC_NUMERIC=C [3] LC_TIME=fr_FR.UTF-8 LC_COLLATE=fr_FR.UTF-8 [5] LC_MONETARY=fr_FR.UTF-8 LC_MESSAGES=fr_FR.UTF-8 [7] LC_PAPER=C LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] parallel stats graphics grDevices utils datasets methods [8] base loaded via a namespace (and not attached): [1] snow_0.3-10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wolfgang Raffelsberger, PhD IGBMC, 1 rue Laurent Fries, 67404 Illkirch Strasbourg, France wolfgang.raffelsberger (a t) igbmc.fr [[alternative HTML version deleted]]
R. Michael Weylandt
2012-Oct-04 14:53 UTC
[R] (minor) R syntax error in help page to the function makeCluster of library(snow)
On Thu, Oct 4, 2012 at 2:30 PM, Wolfgang Raffelsberger <wolfgang.raffelsberger at gmail.com> wrote:> Dear list, > > I just realized that one of the examples given in the help page to the > function makeCluster of the library(snow) has a small syntax error : > > ## to get started > library(snow) > ?makeCluster > > .. will open a halp page containing the command towards the end of the > examples : > > cl <- makeCluster(c(rep(list(macOptions), 2), rep(list(lnxOptions), 2), > rep(list(winOptions), 2), type = "SOCK") > > .. which is missing a closing parenthesis.You should report this to the maintainer of snow (the completely awesome and altogether remarkable Luke Tierney) who I don't believe reads R-help regularly. Use the maintainer() function to get his email. Cheers, Michael
Maybe Matching Threads
- alternatives to traditional least squares method in linear regression ?
- how to make a function recognize the name of an object/vector given as argument
- how to define PKG_CONFIG_PATH ?
- require() is not giving TRUE / FALSE statements ?
- optimizing speed of calculation (recursive product)