[Rprotobuf-commits] r940 - papers/jss

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 13 02:08:37 CEST 2015


Author: edd
Date: 2015-04-13 02:08:37 +0200 (Mon, 13 Apr 2015)
New Revision: 940

Modified:
   papers/jss/article.R
   papers/jss/article.Rnw
   papers/jss/article.bib
Log:
today's changes


Modified: papers/jss/article.R
===================================================================
--- papers/jss/article.R	2015-04-13 00:07:19 UTC (rev 939)
+++ papers/jss/article.R	2015-04-13 00:08:37 UTC (rev 940)
@@ -108,23 +108,15 @@
 
 
 ###################################################
-### code chunk number 14: article.Rnw:719-722
+### code chunk number 14: article.Rnw:805-808
 ###################################################
-f <- tutorial.Person$fileDescriptor()
-f
-f$Person
-
-
-###################################################
-### code chunk number 15: article.Rnw:785-788
-###################################################
 if (!exists("JSSPaper.Example1", "RProtoBuf:DescriptorPool")) {
     readProtoFiles(file="int64.proto")
 }
 
 
 ###################################################
-### code chunk number 16: article.Rnw:810-814
+### code chunk number 15: article.Rnw:830-834
 ###################################################
 as.integer(2^31-1)
 as.integer(2^31 - 1) + as.integer(1)
@@ -133,20 +125,20 @@
 
 
 ###################################################
-### code chunk number 17: article.Rnw:826-827
+### code chunk number 16: article.Rnw:846-847
 ###################################################
 2^53 == (2^53 + 1)
 
 
 ###################################################
-### code chunk number 18: article.Rnw:878-880
+### code chunk number 17: article.Rnw:898-900
 ###################################################
 msg <- serialize_pb(iris, NULL)
 identical(iris, unserialize_pb(msg))
 
 
 ###################################################
-### code chunk number 19: article.Rnw:908-911
+### code chunk number 18: article.Rnw:928-931
 ###################################################
 datasets <- as.data.frame(data(package="datasets")$results)
 datasets$name <- sub("\\s+.*$", "", datasets$Item)
@@ -154,7 +146,7 @@
 
 
 ###################################################
-### code chunk number 20: article.Rnw:929-972
+### code chunk number 19: article.Rnw:949-992
 ###################################################
 datasets$object.size <- unname(sapply(datasets$name, function(x) object.size(eval(as.name(x)))))
 
@@ -202,7 +194,7 @@
 
 
 ###################################################
-### code chunk number 21: SER
+### code chunk number 20: SER
 ###################################################
 old.mar<-par("mar")
 new.mar<-old.mar
@@ -254,7 +246,7 @@
 
 
 ###################################################
-### code chunk number 22: article.Rnw:1211-1215
+### code chunk number 21: article.Rnw:1231-1235
 ###################################################
 require(HistogramTools)
 readProtoFiles(package="HistogramTools")
@@ -263,7 +255,7 @@
 
 
 ###################################################
-### code chunk number 23: article.Rnw:1303-1310 (eval = FALSE)
+### code chunk number 22: article.Rnw:1323-1330 (eval = FALSE)
 ###################################################
 ## library("RProtoBuf")
 ## library("httr")
@@ -275,7 +267,7 @@
 
 
 ###################################################
-### code chunk number 24: article.Rnw:1360-1376 (eval = FALSE)
+### code chunk number 23: article.Rnw:1380-1396 (eval = FALSE)
 ###################################################
 ## library("httr")
 ## library("RProtoBuf")
@@ -296,7 +288,7 @@
 
 
 ###################################################
-### code chunk number 25: article.Rnw:1380-1383 (eval = FALSE)
+### code chunk number 24: article.Rnw:1400-1403 (eval = FALSE)
 ###################################################
 ## fnargs <- unserialize_pb(inputmsg)
 ## val <- do.call(stats::rnorm, fnargs)

Modified: papers/jss/article.Rnw
===================================================================
--- papers/jss/article.Rnw	2015-04-13 00:07:19 UTC (rev 939)
+++ papers/jss/article.Rnw	2015-04-13 00:08:37 UTC (rev 940)
@@ -612,7 +612,7 @@
 
 \begin{itemize}
 \item The functional dispatch mechanism of the the form
-  \verb|method(object, arguments)| (common to \proglang{R}), and
+  \verb|method(object, arguments)| (common to \proglang{R}).
 \item The message passing object-oriented notation of the form
   \verb|object$method(arguments)|.
 \end{itemize}
@@ -716,12 +716,30 @@
 The \verb|$| operator can be used to retrieve named fields defined in
 the FileDescriptor, or to invoke methods.
 
-<<>>=
-f <- tutorial.Person$fileDescriptor()
-f
-f$Person
-@
+% < < > > =
+% f <- tutorial.Person$fileDescriptor()
+% f
+% f$Person
+% @
 
+\begin{Schunk}
+\begin{Sinput}
+R> f <- tutorial.Person$fileDescriptor()
+R> f
+\end{Sinput}
+\begin{Soutput}
+file descriptor for package tutorial \
+    (/usr/local/lib/R/site-library/RProtoBuf/proto/addressbook.proto)
+\end{Soutput}
+\begin{Sinput}
+R> f$Person
+\end{Sinput}
+\begin{Soutput}
+descriptor for type 'tutorial.Person' 
+\end{Soutput}
+\end{Schunk}
+
+
 \section{Type coercion}
 \label{sec:types}
 
@@ -739,7 +757,7 @@
 \begin{table}[h]
 \centering
 \begin{small}
-\begin{tabular}{lp{5cm}p{5cm}}
+\begin{tabular}{lp{5cm}p{5.5cm}}
 \toprule
 Field type & \proglang{R} type (non repeated) & \proglang{R} type (repeated) \\
 \cmidrule(r){2-3}
@@ -765,10 +783,12 @@
 \end{tabular}
 \end{small}
 \caption{\label{table-get-types}Correspondence between field type and
-  \proglang{R} type retrieved by the extractors. Note that \proglang{R} lacks native
+  \proglang{R} type retrieved by the extractors. \proglang{R} lacks native
   64-bit integers, so the \code{RProtoBuf.int64AsString} option is
   available to return large integers as characters to avoid losing
-  precision.  This option is described in Section~\ref{sec:int64}.}
+  precision; see Section~\ref{sec:int64} below. 
+  All but the \code{Message} type can be represented in vectors of one or
+  more elements; for the latter a list is used.}
 \end{table}
 
 \subsection{Booleans}
@@ -1067,8 +1087,8 @@
 %\begin{center}
 \begin{tabular}{rlrrrrr}
   \toprule
-  Data Set & object.size & \multicolumn{2}{c}{\proglang{R} Serialization} &
-  \multicolumn{2}{c}{RProtoBuf Serialization} \\
+  Data set & object.size & \multicolumn{2}{c}{\proglang{R} serialization} &
+  \multicolumn{2}{c}{RProtoBuf serialization} \\
   & & default & gzipped & default & gzipped \\
   \cmidrule(r){2-6}
  crimtab & 7,936 & 4,641 (41.5\%) & 713 (91.0\%) & 1,655 (79.2\%) & 576 (92.7\%)\\

Modified: papers/jss/article.bib
===================================================================
--- papers/jss/article.bib	2015-04-13 00:07:19 UTC (rev 939)
+++ papers/jss/article.bib	2015-04-13 00:08:37 UTC (rev 940)
@@ -7,7 +7,7 @@
   publisher={JSTOR}
 }
 @article{azzalini1990look,
-  title={A look at some data on the Old Faithful geyser},
+  title={A Look at Some Data on the Old Faithful Geyser},
   author={Azzalini, A and Bowman, AW},
   journal={Applied Statistics},
   pages={357--365},
@@ -15,7 +15,7 @@
   publisher={JSTOR}
 }
 @article{dean2009designs,
-  title={Designs, lessons and advice from building large distributed systems},
+  title={Designs, Lessons and Advice from Building Large Distributed Systems},
   author={Dean, Jeff},
   journal={Keynote from LADIS},
   year={2009}
@@ -92,11 +92,10 @@
   year =         2013
 }
 
- at article{clinec++,
+ at Manual{clinec++,
   title =        {C++ FAQ},
   author =       {Marshall Cline},
-  journal =      {Also available as
-                  http://www. parashift. com/c++-faq-lite/index. html},
+  url =          {http://www.parashift.com/c++-faq-lite/index.html},
   year =         2013
 }
 
@@ -104,16 +103,16 @@
   title =        {RJSONIO: Serialize R objects to JSON, JavaScript
                   Object Notation},
   author =       {Duncan {Temple Lang}},
-  year =         2011,
-  note =         {R package version 0.96-0},
+  year =         2014,
+  note =         {R package version 1.3-0},
   url =          {http://CRAN.R-project.org/package=RJSONIO},
 }
 
 @Manual{rjson,
   title =        {rjson: JSON for R},
   author =       {Alex Couture-Beil},
-  year =         2012,
-  note =         {R package version 0.2.10},
+  year =         2014,
+  note =         {R package version 0.2.15},
   url =          {http://CRAN.R-project.org/package=rjson},
 }
 
@@ -137,15 +136,15 @@
   title =        {int64: 64 Bit Integer Types},
   author =       {Romain Fran{\c{c}}ois},
   year =         2011,
-  note =         {R package version 1.1.2},
-  url =          {http://CRAN.R-project.org/package=int64},
+  note =         {Archived R package version 1.1.2},
+  url =          {http://cran.r-project.org/src/contrib/Archive/int64/},
 }
 
 @Manual{bit64,
-  title =        {bit64: A S3 class for Vectors of 64bit Integers},
+  title =        {bit64: A S3 Class for Vectors of 64bit Integers},
   author =       {Jens Oehlschl\"{a}gel},
-  year =         2012,
-  note =         {R package version 0.9-3},
+  year =         2014,
+  note =         {R package version 0.9-4},
   url =          {http://CRAN.R-project.org/package=bit64},
 }
 
@@ -446,14 +445,14 @@
   author =       {David W Scott},
   volume =       383,
   year =         2009,
-  publisher =    {Wiley. com}
+  publisher =    {Wiley}
 }
 
 @Manual{httr,
   title =        {httr: Tools for Working with URLs and HTTP},
   author =       {Hadley Wickham},
-  year =         2014,
-  note =         {R package version 0.3},
+  year =         2015,
+  note =         {R package version 0.6.1},
   url =          {http://CRAN.R-project.org/package=httr},
 }
 
@@ -512,7 +511,7 @@
   author =       {{Apache Software Foundation}},
   title =        {Apache Avro},
   url =          {http://avro.apache.org},
-  note =         {Data Serialization System, Version 1.7.6},
+  note =         {Data Serialization System, Version 1.7.7},
   year =         2014
 }
 
@@ -520,7 +519,7 @@
   author =       {{Apache Software Foundation}},
   title =        {Apache Thrift},
   url =          {http://thrift.apache.org},
-  note =         {Software Framework for Scalable Cross-Language Services, Version 0.9.1},
-  year =         2013
+  note =         {Software Framework for Scalable Cross-Language Services, Version 0.9.2},
+  year =         2014
 }
 



More information about the Rprotobuf-commits mailing list