[Seqinr-commits] r1865 - www/src/appendix

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 1 17:59:08 CEST 2016


Author: jeanlobry
Date: 2016-06-01 17:59:08 +0200 (Wed, 01 Jun 2016)
New Revision: 1865

Modified:
   www/src/appendix/gencodes.rnw
   www/src/appendix/gencodes.tex
Log:
compilation check

Modified: www/src/appendix/gencodes.rnw
===================================================================
--- www/src/appendix/gencodes.rnw	2016-06-01 15:26:53 UTC (rev 1864)
+++ www/src/appendix/gencodes.rnw	2016-06-01 15:59:08 UTC (rev 1865)
@@ -5,6 +5,7 @@
 \author{Lobry, J.R.}
 
 \begin{document}
+\SweaveOpts{concordance=TRUE}
 \SweaveInput{../config/commonrnw.rnw}
 \maketitle
 % BEGIN - DO NOT REMOVE THIS LINE

Modified: www/src/appendix/gencodes.tex
===================================================================
--- www/src/appendix/gencodes.tex	2016-06-01 15:26:53 UTC (rev 1864)
+++ www/src/appendix/gencodes.tex	2016-06-01 15:59:08 UTC (rev 1865)
@@ -4,8 +4,9 @@
 \title{Genetic codes}
 \author{Lobry, J.R.}
 
-\usepackage{/Library/Frameworks/R.framework/Resources/share/texmf/Sweave}
+\usepackage{Sweave}
 \begin{document}
+\input{gencodes-concordance}
 %
 % To change the R input/output style:
 %
@@ -54,8 +55,8 @@
 
 \begin{Schunk}
 \begin{Sinput}
- tablecode(latexfile = "../tables/stdcode.tex", label = "stdcode", 
-     size = "small")
+ tablecode( latexfile = "../tables/stdcode.tex",
+ label = "stdcode", size = "small")
 \end{Sinput}
 \end{Schunk}
 
@@ -74,7 +75,7 @@
 \begin{Sinput}
  codes <- SEQINR.UTIL$CODES.NCBI
  availablecodes <- which(codes$CODES != "deleted")
- codes[availablecodes, "ORGANISMES", drop = FALSE]
+ codes[availablecodes,"ORGANISMES", drop = FALSE]
 \end{Sinput}
 \begin{Soutput}
                            ORGANISMES
@@ -103,20 +104,17 @@
 
 \begin{Schunk}
 \begin{Sinput}
- cdorder <- paste(paste(rep(s2c("tcag"), each = 16), s2c("tcag"), 
-     sep = ""), rep(s2c("tcag"), each = 4), sep = "")
- stdcode <- sapply(lapply(cdorder, s2c), translate, numcode = 1)
- for (cd in availablecodes[-1]) {
-     Tfile <- paste("../tables/codnum", cd, ".tex", sep = "")
-     preemph <- "\\textcolor{red}{\\textbf{"
-     postemph <- "}}"
-     stcodon <- (stdcode == sapply(lapply(cdorder, s2c), translate, 
-         numcode = cd))
-     pre <- ifelse(stcodon, "", preemph)
-     post <- ifelse(stcodon, "", postemph)
-     tablecode(numcode = cd, latexfile = Tfile, size = "small", 
-         preaa = pre, postaa = post)
-     cat(paste("\\input{", Tfile, "}", sep = ""), sep = "\n")
+ cdorder <- paste(paste(rep(s2c("tcag"), each =16), s2c("tcag"), sep = ""), rep(s2c("tcag"), each = 4), sep = "")
+ stdcode <- sapply(lapply(cdorder,s2c),translate, numcode = 1)
+ for(cd in availablecodes[-1]){
+   Tfile <- paste("../tables/codnum", cd, ".tex", sep = "")
+   preemph <- "\\textcolor{red}{\\textbf{"
+   postemph <- "}}"
+   stcodon <- (stdcode ==  sapply(lapply(cdorder,s2c),translate, numcode = cd))
+   pre <- ifelse(stcodon, "", preemph)
+   post <- ifelse(stcodon, "", postemph)
+   tablecode(numcode = cd, latexfile = Tfile, size = "small", preaa = pre, postaa = post)
+   cat(paste("\\input{", Tfile, "}", sep = ""), sep = "\n")
  }
 \end{Sinput}
 \input{../tables/codnum2.tex}
@@ -139,26 +137,30 @@
 
 \section*{Session Informations}
 
+\begin{scriptsize}
+
 This part was compiled under the following \Rlogo{}~environment:
 
-\begin{itemize}
-  \item R version 2.8.0 (2008-10-20), \verb|i386-apple-darwin8.8.2|
-  \item Locale: \verb|fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/C/C|
-  \item Base packages: base, datasets, grDevices, graphics, methods,
-    stats, utils
-  \item Other packages: MASS~7.2-44, ade4~1.4-9, ape~2.2-2,
-    nlme~3.1-89, quadprog~1.4-11, seqinr~2.0-0, tseries~0.10-16,
-    xtable~1.5-4, zoo~1.5-4
-  \item Loaded via a namespace (and not attached): grid~2.8.0,
-    lattice~0.17-15
+\begin{itemize}\raggedright
+  \item R version 3.2.4 (2016-03-10), \verb|x86_64-apple-darwin13.4.0|
+  \item Locale: \verb|fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8|
+  \item Base packages: base, datasets, graphics, grDevices, grid,
+    methods, stats, utils
+  \item Other packages: ade4~1.7-4, ape~3.5, grImport~0.9-0,
+    MASS~7.3-45, seqinr~3.1-5, tseries~0.10-35, XML~3.98-1.4,
+    xtable~1.8-2
+  \item Loaded via a namespace (and not attached): lattice~0.20-33,
+    nlme~3.1-125, quadprog~1.5-5, tools~3.2.4, zoo~1.7-12
 \end{itemize}
 There were two compilation steps:
 
 \begin{itemize}
-  \item \Rlogo{} compilation time was: Sun Oct 26 18:37:37 2008
+  \item \Rlogo{} compilation time was: Wed Jun  1 17:53:09 2016
   \item \LaTeX{} compilation time was: \today
 \end{itemize}
 
+\end{scriptsize}
+
 %
 % END - DO NOT REMOVE THIS LINE
 %



More information about the Seqinr-commits mailing list