[Swift-commit] r4386 - SwiftApps/SwiftR/Swift/man

tga at ci.uchicago.edu tga at ci.uchicago.edu
Mon Apr 18 12:57:45 CDT 2011


Author: tga
Date: 2011-04-18 12:57:44 -0500 (Mon, 18 Apr 2011)
New Revision: 4386

Modified:
   SwiftApps/SwiftR/Swift/man/swiftapply.Rd
Log:
Fixed missing docs for swiftLapply/swiftSapply.


Modified: SwiftApps/SwiftR/Swift/man/swiftapply.Rd
===================================================================
--- SwiftApps/SwiftR/Swift/man/swiftapply.Rd	2011-04-18 16:20:07 UTC (rev 4385)
+++ SwiftApps/SwiftR/Swift/man/swiftapply.Rd	2011-04-18 17:57:44 UTC (rev 4386)
@@ -24,6 +24,8 @@
 swiftapply(func, arglists, server = NULL, callsperbatch = NULL, runmode = NULL, initialexpr = NULL, workerhosts = NULL, keepwork = NULL, tmpdir = NULL, timeout = NULL, quiet = FALSE)
 
 swiftLapply(tlist, func, ...) 
+
+swiftSapply(tlist, func, ...) 
 }
 \arguments{
   The first two arguments are required for all variations of the
@@ -37,13 +39,22 @@
   swiftLapply and other variations also respect arguments
   set through the R options mechanism.
 
-
   \item{func}{
     The function to apply.
 }
   \item{arglists}{
     A list of argument lists to be given to the function. 
 }
+  \item{tlists}{
+    For swiftLapply and swiftSapply, a list which contains the first
+    argument for each function invocation.
+}
+  \item{...}{
+    For swiftLapply and swiftSapply, the second, third, etc arguments
+    for each function invocation.  For example, 
+    \verb{swiftLapply(list(1,2), f, "x", 20)} results in the function 
+    invocations \verb{f(1, "x", 20)} and \verb{f(2, "x", 20)}.
+}
   \item{server}{
     The swift server type to use to run.  The possible values are
     "local", "ssh", "pbs", "sge" and "pbsf", the same as swiftInit.




More information about the Swift-commit mailing list