<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/pinp-0-0-1-pinp-is-not-pnas/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2017/09/16#pinp_0.0.1"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>A brandnew and very exciting (to us, at least) package called <code>pinp</code> just arrived on <a rel="nofollow" href="http://cran.r-project.org/" target="_blank">CRAN</a>, following a somewhat unnecessarily long passage out of incoming. It is based on the <a rel="nofollow" href="http://www.pnas.org/site/authors/latex.xhtml" target="_blank">PNAS LaTeX Style</a> offered by the <a rel="nofollow" href="http://www.pnas.org/" target="_blank">Proceeding of the National Academy of Sciences of the United States of America</a>, or PNAS for short. And there is already a Markdown version in the wonderful <a rel="nofollow" href="https://cran.r-project.org/package=rticles" target="_blank">rticles</a> packages.</p>
<p>But <a rel="nofollow" href="http://thecoatlessprofessor.com/" target="_blank">James Balamuta</a> and I thought we could do one better when we were looking to typeset our recent <a rel="nofollow" href="https://peerj.com/preprints/3188/" target="_blank">PeerJ Prepint</a> as an attractive looking vignette for use within the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a> package.</p>
<p>And so we did by changing a few things (font, color, use of <a rel="nofollow" href="http://merkel.texture.rocks/Latex/natbib.php" target="_blank">natbib</a> and <code>Chicago.bst</code> for references, removal of a bunch of extra PNAS-specific formalities from the frontpage) and customized a number of other things for easier use by vignettes directly from the YAML header (draft mode watermark, doi or url for packages, easier author naming in footer, bibtex file and more).</p>
<p>We are quite pleased with the result which seems ready for the next <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a> release—see <em>e.g.,</em> these two teasers:</p>
<div>
<img src="https://i2.wp.com/eddelbuettel.github.io/pinp/Rcpp-introduction-p1+2.png?w=456&ssl=1" data-recalc-dims="1">
</div>
<p>and</p>
<div>
<img src="https://i0.wp.com/eddelbuettel.github.io/pinp/Rcpp-introduction-p3+4.png?w=456&ssl=1" data-recalc-dims="1">
</div>
<p>and the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/pinp.html" target="_blank">pinp package page</a> or the <a rel="nofollow" href="https://github.com/eddelbuettel/pinp" target="_blank">GitHub repo</a> have the full (four double-)pages of what turned a more dull looking 27 page manuscript into eight crisp two-column pages.</p>
<p>We have few more things planned (<em>i.e.</em>, switching to single column mode, turning on linenumbers at least in one-column mode).</p>
<p>For questions or comments use the <a rel="nofollow" href="https://github.com/eddelbuettel/pinp/issues" target="_blank">issue tracker</a> off the <a rel="nofollow" href="https://github.com/eddelbuettel/pinp" target="_blank">GitHub repo</a>.</p>
<p>
This post by <a rel="nofollow" href="http://dirk.eddelbuettel.com/" target="_blank">Dirk Eddelbuettel</a> originated on his <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/" target="_blank">Thinking inside the box</a> blog. Please report excessive re-aggregation in third-party for-profit settings.</p>
<p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://dirk.eddelbuettel.com/blog/2017/09/16#pinp_0.0.1"> Thinking inside the box </a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/5DtW9m2nh7A" height="1"></a></div>