[Rprotobuf-commits] r463 - in pkg/vignettes: . RProtoBuf

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Aug 9 03:51:29 CEST 2012


Author: edd
Date: 2012-08-09 03:51:29 +0200 (Thu, 09 Aug 2012)
New Revision: 463

Modified:
   pkg/vignettes/Makefile
   pkg/vignettes/RProtoBuf/RProtoBuf.Rnw
Log:
build the intro vignette as RProtoBuf-intro.pdf to avoid clashing with the package reference manual RProtoBuf.pdf


Modified: pkg/vignettes/Makefile
===================================================================
--- pkg/vignettes/Makefile	2012-08-09 01:36:03 UTC (rev 462)
+++ pkg/vignettes/Makefile	2012-08-09 01:51:29 UTC (rev 463)
@@ -1,13 +1,14 @@
 
-all: RProtoBuf-unitTests.pdf RProtoBuf.pdf RProtoBuf-quickref.pdf
+all: 	RProtoBuf-unitTests.pdf RProtoBuf-intro.pdf RProtoBuf-quickref.pdf
 
 pdfclean:
 	rm -fr *.pdf
 
 clean:
-	rm -f RProtoBuf.tex RProtoBuf.aux RProtoBuf.logRProtoBuf.out
+	rm -f RProtoBuf-intro.Rnw RProtoBuf-intro.tex RProtoBuf-intro.aux RProtoBuf-intro.log RProtoBuf-intro.out
 	rm -f RProtoBuf-quickref.tex RProtoBuf-quickref.Rnw RProtoBuf-quickref.aux RProtoBuf-quickref.log RProtoBuf-quickref.out
 	rm -f RProtoBuf-unitTests.texRProtoBuf-unitTests.Rnw RProtoBuf-unitTests.aux RProtoBuf-unitTests.log RProtoBuf-unitTests.out
+	rm -rf auto/
 
 setvars:
 ifeq (${R_HOME},)
@@ -19,10 +20,10 @@
 RProtoBuf-unitTests.pdf: unitTests/RProtoBuf-unitTests.R
 	$(RSCRIPT) --default-packages="RProtoBuf,Rcpp,brew,RUnit,tools,utils" unitTests/RProtoBuf-unitTests.R
 
-RProtoBuf.pdf: RProtoBuf/RProtoBuf.Rnw
-	cp -f RProtoBuf/RProtoBuf.Rnw RProtoBuf.Rnw
-	$(RSCRIPT) -e "require( 'highlight' ); require('tools'); Sweave('RProtoBuf.Rnw', driver = HighlightWeaveLatex() ) ; texi2dvi('RProtoBuf.tex', pdf = TRUE, clean = TRUE)"
-	cp -f RProtoBuf/RProtoBuf-fake.Rnw RProtoBuf.Rnw
+RProtoBuf-intro.pdf: RProtoBuf/RProtoBuf.Rnw
+	cp -f RProtoBuf/RProtoBuf.Rnw RProtoBuf-intro.Rnw
+	$(RSCRIPT) -e "require( 'highlight' ); require('tools'); Sweave('RProtoBuf-intro.Rnw', driver = HighlightWeaveLatex() ) ; texi2dvi('RProtoBuf-intro.tex', pdf = TRUE, clean = TRUE)"
+	cp -f RProtoBuf/RProtoBuf-fake.Rnw RProtoBuf-intro.Rnw
 
 RProtoBuf-quickref.pdf: RProtoBuf-quickref/RProtoBuf-quickref.Rnw
 	touch RProtoBuf-quickref.Rnw

Modified: pkg/vignettes/RProtoBuf/RProtoBuf.Rnw
===================================================================
--- pkg/vignettes/RProtoBuf/RProtoBuf.Rnw	2012-08-09 01:36:03 UTC (rev 462)
+++ pkg/vignettes/RProtoBuf/RProtoBuf.Rnw	2012-08-09 01:51:29 UTC (rev 463)
@@ -1,5 +1,5 @@
 \documentclass[11pt]{article}
-%\VignetteIndexEntry{RProtoBuf}
+%\VignetteIndexEntry{RProtoBuf-intro}
 
 \usepackage{url}
 \usepackage[colorlinks]{hyperref}
@@ -105,10 +105,10 @@
 Using the \texttt{file} argument, one can specify one or several file
 paths that ought to be proto files.
 
-<<>>=     
+<<>>=
 proto.dir <- system.file( "proto", package = "RProtoBuf" )
 proto.file <- file.path( proto.dir, "addressbook.proto" )
-<<eval=FALSE>>=     
+<<eval=FALSE>>=
 readProtoFiles( proto.file )
 @
 
@@ -1124,7 +1124,7 @@
 \url{http://ml.stat.purdue.edu/rhipe/doc/html/ProtoBuffers.html}
 
 Protocol buffers have a mechanism for remote procedure calls (rpc)
-that is not yet used by \texttt{RProtoBuf}, but we plan to
+that is not yet used by \texttt{RProtoBuf}, but we may one day
 take advantage of this by writing a protocol buffer message R server,
 and client code as well, probably based on the functionality
 of the \texttt{Rserve} package.



More information about the Rprotobuf-commits mailing list