[Rprotobuf-commits] r837 - papers/jss
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Jan 23 04:17:07 CET 2014
Author: murray
Date: 2014-01-23 04:17:06 +0100 (Thu, 23 Jan 2014)
New Revision: 837
Modified:
papers/jss/article.Rnw
Log:
Standardize on no space before ':' in the text. Use tbp instead of h
for the Message table float placement, and correct a typo in the type
coercion section.
Modified: papers/jss/article.Rnw
===================================================================
--- papers/jss/article.Rnw 2014-01-23 03:09:10 UTC (rev 836)
+++ papers/jss/article.Rnw 2014-01-23 03:17:06 UTC (rev 837)
@@ -551,7 +551,7 @@
As opposed to \proglang{R} lists, no partial matching is performed
and the name must be given entirely.
The \verb|[[| operator can also be used to query and set fields
-of a messages, supplying either their name or their tag number :
+of a messages, supplying either their name or their tag number:
<<>>=
p[["name"]] <- "Murray Stokely"
@@ -569,7 +569,7 @@
\subsection{Display messages}
Protocol Buffer messages and descriptors implement \texttt{show}
-methods that provide basic information about the message :
+methods that provide basic information about the message:
<<>>=
p
@@ -597,7 +597,7 @@
serialize(p, NULL)
@
-The same method can be used to serialize messages to files :
+The same method can be used to serialize messages to files:
<<>>=
tf1 <- tempfile()
@@ -640,7 +640,7 @@
The binary representation of the message
does not contain information that can be used to dynamically
infer the message type, so we have to provide this information
-to the \texttt{read} function in the form of a descriptor :
+to the \texttt{read} function in the form of a descriptor:
<<>>=
msg <- read(tutorial.Person, tf1)
@@ -657,7 +657,7 @@
writeLines(as.character(message))
@
-Finally, the payload of the message can be used :
+Finally, the payload of the message can be used:
<<>>=
# reading the raw vector payload of the message
@@ -667,7 +667,7 @@
\texttt{read} can also be used as a pseudo-method of the descriptor
-object :
+object:
<<>>=
# reading from a file
@@ -723,7 +723,7 @@
The \CRANpkg{Rcpp} package
\citep{eddelbuettel2011rcpp,eddelbuettel2013seamless} is used to
facilitate this integration of the \proglang{R} and \proglang{C++} code for these objects.
-Each method is wrapped individually which alllows us to add user
+Each method is wrapped individually which allows us to add user
friendly custom error handling, type coercion, and performance
improvements at the cost of a more verbose implementation.
The \pkg{RProtoBuf} package in many ways motivated
@@ -765,7 +765,7 @@
complete list of the slots and methods for \texttt{Messages}
is available in Table~\ref{Message-methods-table}.
-\begin{table}[h]
+\begin{table}[tbp]
\centering
\begin{small}
\begin{tabular}{lp{10cm}}
@@ -1155,7 +1155,7 @@
\subsection{Unsigned Integers}
\proglang{R} lacks a native unsigned integer type. Values between $2^{31}$ and
-$2^{32} - 1$ read from unsigned into Protocol Buffer fields must be
+$2^{32} - 1$ read from unsigned integer Protocol Buffer fields must be
stored as doubles in \proglang{R}.
<<>>=
More information about the Rprotobuf-commits
mailing list