[Rprotobuf-commits] r352 - papers/user2010
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Jul 22 20:59:43 CEST 2010
Author: edd
Date: 2010-07-22 20:59:42 +0200 (Thu, 22 Jul 2010)
New Revision: 352
Modified:
papers/user2010/slides.Rnw
Log:
small polishing edit
Modified: papers/user2010/slides.Rnw
===================================================================
--- papers/user2010/slides.Rnw 2010-07-22 18:01:14 UTC (rev 351)
+++ papers/user2010/slides.Rnw 2010-07-22 18:59:42 UTC (rev 352)
@@ -114,7 +114,8 @@
\item Google's Protocol Buffers are a flexible, efficient, automated mechanism for
serializing structured data---think XML, but smaller, faster, and simpler.
\item Users define the data structures in a \texttt{proto} file, and then
- use special generated source code.
+ use special generated source code. Code is forwards- and
+ backwards-compatible to \texttt{proto} changes.
\item This permits to easily write and read structured data to and from a
variety of data streams, and using a variety of officially supported
languages--- \proglang{Java}, \proglang{C++}, or \proglang{Python}.
@@ -477,7 +478,8 @@
% <FOOT>
\begin{footnotesize}
<<eval=FALSE>>=
-betterUse <- function(verbose=TRUE, file = "trades.pb") {
+betterUse <- function(verbose=TRUE,
+ file="trades.pb") {
readProtoFiles("TradeData.proto")
x <- read( TradeData.Trades, "trades.pb")
xl <- lapply( x$fill, as.list )
@@ -589,8 +591,8 @@
means to generating efficient data interfacing code: fast, auto-generated
and extensible.
\item We illustrated its use via our nascent \pkg{RProtoBuf} package.
- \item \pkg{RProtoBuf} brings autogenerated accessors to \proglang{R},
- albeit at a (currently) less-than-glamorous performance (mainly due to overheads within \proglang{R}).
+ \item \pkg{RProtoBuf} brings autogenerated accessors to
+ \proglang{R}---which may however not be the fastest access.
\item The \pkg{Rcpp} package makes it easy to \textsl{manually} add Protocol
Buffers capabilities to our \proglang{R} analyses.
\end{itemize}
More information about the Rprotobuf-commits
mailing list