Skip to content

Commit

Permalink
Final tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Oct 5, 2008
1 parent 312bc3a commit 9eb06fa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions ANNOUNCE
Expand Up @@ -5,7 +5,7 @@ plyr is a set of tools that solves a common set of problems: you need to break a
* progress bars to keep track of long running operations
* built-in error recovery
* the choice of passing chunks as rows or as variables

plyr functions are named according to the type of object they input (first letter) and output (second letter):

* llply = from a list to a list
Expand All @@ -24,4 +24,8 @@ plyr also has a number of helper functions that operate on functions, returning
* colwise to turn functions that operate on a single vector of numbers into functions that operate on columns
* each to return a named vector containing the results of multiple functions

The aim of this releases is to provide a consistent and useful set of tools for solving the split-apply-combine problem. It is not particularly fast or memory efficient, but there is much potential for optimisation, particularly by rewriting important bits in C.
You can find out more at http://had.co.nz/plyr/, including a 20 page introductory guide, http://had.co.nz/plyr/plyr-intro.pdf.

Regards,

Hadley
8 changes: 4 additions & 4 deletions R/progress.r
Expand Up @@ -82,8 +82,8 @@ progress_text <- function(style = 3, ...) {
#
# @arguments window title
# @arguments progress bar label (inside window)
# @arguments other arguments passed on to \code{\link{tkProgressBar}}
# @seealso \code{\link{tkProgressBar}} for the function that powers this progress bar
# @arguments other arguments passed on to \code{\link[tcltk]{tkProgressBar}}
# @seealso \code{\link[tcltk]{tkProgressBar}} for the function that powers this progress bar
#X l_ply(1:1000, identity, progress. = "tk")
#X l_ply(1:1000, identity, progress. = progress_tk(width=400))
#X l_ply(1:1000, identity, progress. = progress_tk(label=""))
Expand Down Expand Up @@ -111,8 +111,8 @@ progress_tk <- function(title = "plyr progress", label = "Working...", ...) {
# This graphical progress only works on Windows.
#
# @arguments window title
# @arguments other arguments passed on to \code{\link{winProgressBar}}
# @seealso \code{\link{winProgressBar}} for the function that powers this progress bar
# @arguments other arguments passed on to \code{\link[utils]{winProgressBar}}
# @seealso \code{\link[utils]{winProgressBar}} for the function that powers this progress bar
#X if(exists("winProgressBar")) {
#X l_ply(1:1000, identity, progress. = "win")
#X l_ply(1:1000, identity, progress. = progress_win(title="Working..."))
Expand Down
4 changes: 2 additions & 2 deletions man/progress-win-b6.rd
Expand Up @@ -9,11 +9,11 @@ A graphical progress bar displayed in a separate window
\usage{progress_win(title = "plyr progress", ...)}
\arguments{
\item{title}{window title}
\item{...}{other arguments passed on to \code{\link{winProgressBar}}}
\item{...}{other arguments passed on to \code{\link[utils]{winProgressBar}}}
}

\details{This graphical progress only works on Windows.}
\seealso{\code{\link{winProgressBar}} for the function that powers this progress bar}
\seealso{\code{\link[utils]{winProgressBar}} for the function that powers this progress bar}
\examples{if(exists("winProgressBar")) {
l_ply(1:1000, identity, progress. = "win")
l_ply(1:1000, identity, progress. = progress_win(title="Working..."))
Expand Down

0 comments on commit 9eb06fa

Please sign in to comment.