From 9eb06facb7c2f7eb78f357ec6ccbbe84c8b18bb8 Mon Sep 17 00:00:00 2001 From: hadley Date: Sun, 5 Oct 2008 08:35:35 -0500 Subject: [PATCH] Final tweaks --- ANNOUNCE | 8 ++++++-- R/progress.r | 8 ++++---- man/progress-win-b6.rd | 4 ++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index fec18e04..46fbaf78 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -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 @@ -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. \ No newline at end of file +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 diff --git a/R/progress.r b/R/progress.r index 874b8def..48d0d0a4 100644 --- a/R/progress.r +++ b/R/progress.r @@ -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="")) @@ -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...")) diff --git a/man/progress-win-b6.rd b/man/progress-win-b6.rd index 236f6847..6ce2d7a9 100644 --- a/man/progress-win-b6.rd +++ b/man/progress-win-b6.rd @@ -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..."))