The R Project SVN R

Rev

Rev 74891 | Rev 79189 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 74891 Rev 75445
Line 121... Line 121...
121
 
121
 
122
\section{Parallel compression}{
122
\section{Parallel compression}{
123
  That \code{file} can be a connection can be exploited to make use of
123
  That \code{file} can be a connection can be exploited to make use of
124
  an external parallel compression utility such as \command{pigz}
124
  an external parallel compression utility such as \command{pigz}
125
  (\url{http://zlib.net/pigz/}) or \command{pbzip2}
125
  (\url{http://zlib.net/pigz/}) or \command{pbzip2}
126
  (\url{http://compression.ca/pbzip2/}) \emph{via} a \code{\link{pipe}}
126
  (\url{https://launchpad.net/pbzip2}) \emph{via} a \code{\link{pipe}}
127
  connection.  For example, using 8 threads,
127
  connection.  For example, using 8 threads,
128
\preformatted{    con <- pipe("pigz -p8 > fname.gz", "wb")
128
\preformatted{    con <- pipe("pigz -p8 > fname.gz", "wb")
129
    save(myObj, file = con); close(con)
129
    save(myObj, file = con); close(con)
130
 
130
 
131
    con <- pipe("pbzip2 -p8 -9 > fname.bz2", "wb")
131
    con <- pipe("pbzip2 -p8 -9 > fname.bz2", "wb")