Erster commit: Manuskript mit Sweave erstellt
This commit is contained in:
+53
@@ -0,0 +1,53 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{Sweave}{}
|
||||
|
||||
\RequirePackage{ifthen}
|
||||
\newboolean{Sweave@gin}
|
||||
\setboolean{Sweave@gin}{true}
|
||||
\newboolean{Sweave@ae}
|
||||
\setboolean{Sweave@ae}{true}
|
||||
\newboolean{Sweave@inconsolata}
|
||||
\setboolean{Sweave@inconsolata}{false}
|
||||
|
||||
\DeclareOption{nogin}{\setboolean{Sweave@gin}{false}}
|
||||
\DeclareOption{noae}{\setboolean{Sweave@ae}{false}}
|
||||
\DeclareOption{inconsolata}{\setboolean{Sweave@ae}{false}\setboolean{Sweave@inconsolata}{true}}
|
||||
\ProcessOptions
|
||||
|
||||
\RequirePackage{graphicx,fancyvrb,textcomp}
|
||||
%% inspired by an earlier version of upquote.sty
|
||||
\begingroup
|
||||
\catcode`'=\active \catcode``=\active
|
||||
\g@addto@macro\@noligs{\let`\textasciigrave \let'\textquotesingle}
|
||||
\endgroup
|
||||
|
||||
\ifthenelse{\boolean{Sweave@gin}}{\setkeys{Gin}{width=0.8\textwidth}}{}%
|
||||
\ifthenelse{\boolean{Sweave@ae}}{%
|
||||
\RequirePackage[T1]{fontenc}
|
||||
\RequirePackage{ae}
|
||||
}{}%
|
||||
%% see comment in Rd.sty
|
||||
\ifthenelse{\boolean{Sweave@inconsolata}}{%
|
||||
\IfFileExists{zi4.sty}{\usepackage[noupquote]{zi4}}{\usepackage{inconsolata}}}{}
|
||||
|
||||
\DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl}
|
||||
\DefineVerbatimEnvironment{Soutput}{Verbatim}{}
|
||||
\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl}
|
||||
|
||||
\ifdefined\Schunk%
|
||||
\message{\string Environment Schunk is already defined, stay with former definition}%
|
||||
\else
|
||||
\newenvironment{Schunk}{}{}%
|
||||
\fi
|
||||
|
||||
\newcommand{\Sconcordance}[1]{%
|
||||
\ifx\pdfoutput\undefined%
|
||||
\csname newcount\endcsname\pdfoutput\fi%
|
||||
\ifcase\pdfoutput\special{#1}%
|
||||
\else%
|
||||
\begingroup%
|
||||
\pdfcompresslevel=0%
|
||||
\immediate\pdfobj stream{#1}%
|
||||
\pdfcatalog{/SweaveConcordance \the\pdflastobj\space 0 R}%
|
||||
\endgroup%
|
||||
\fi}
|
||||
@@ -0,0 +1,2 @@
|
||||
\Sconcordance{concordance:manuscript.tex:manuscript.Rnw:1 12 1 1 2 1 0 1 1 7 0 1 2 1 %
|
||||
1}
|
||||
@@ -0,0 +1,19 @@
|
||||
\documentclass{article}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{Sweave}
|
||||
|
||||
\begin{document}
|
||||
\SweaveOpts{concordance=TRUE}
|
||||
|
||||
\title{Mein Sweave-Test}
|
||||
\author{Angelica Henestrosa}
|
||||
\maketitle
|
||||
|
||||
Hier ist ein R-Chunk:
|
||||
|
||||
<<>>=
|
||||
x <- rnorm(100)
|
||||
summary(x)
|
||||
@
|
||||
|
||||
\end{document}
|
||||
+235
@@ -0,0 +1,235 @@
|
||||
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (MiKTeX 24.3.31) (preloaded format=pdflatex 2025.7.23) 23 JUL 2025 15:45
|
||||
entering extended mode
|
||||
restricted \write18 enabled.
|
||||
%&-line parsing enabled.
|
||||
**./manuscript.tex
|
||||
(manuscript.tex
|
||||
LaTeX2e <2023-11-01> patch level 1
|
||||
L3 programming layer <2024-03-14>
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/base\arti
|
||||
cle.cls
|
||||
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/base\size
|
||||
10.clo
|
||||
File: size10.clo 2023/05/17 v1.4n Standard LaTeX file (size option)
|
||||
)
|
||||
\c@part=\count188
|
||||
\c@section=\count189
|
||||
\c@subsection=\count190
|
||||
\c@subsubsection=\count191
|
||||
\c@paragraph=\count192
|
||||
\c@subparagraph=\count193
|
||||
\c@figure=\count194
|
||||
\c@table=\count195
|
||||
\abovecaptionskip=\skip48
|
||||
\belowcaptionskip=\skip49
|
||||
\bibindent=\dimen140
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/base\inpu
|
||||
tenc.sty
|
||||
Package: inputenc 2021/02/14 v1.3d Input encoding file
|
||||
\inpenc@prehook=\toks17
|
||||
\inpenc@posthook=\toks18
|
||||
) (Sweave.sty
|
||||
Package: Sweave
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/base\ifth
|
||||
en.sty
|
||||
Package: ifthen 2022/04/13 v1.1d Standard LaTeX ifthen package (DPC)
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/graphics\
|
||||
graphicx.sty
|
||||
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/graphics\
|
||||
keyval.sty
|
||||
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
|
||||
\KV@toks@=\toks19
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/graphics\
|
||||
graphics.sty
|
||||
Package: graphics 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR)
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/graphics\
|
||||
trig.sty
|
||||
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/graphics-
|
||||
cfg\graphics.cfg
|
||||
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
|
||||
)
|
||||
Package graphics Info: Driver file: pdftex.def on input line 107.
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/graphics-
|
||||
def\pdftex.def
|
||||
File: pdftex.def 2022/09/22 v1.2b Graphics/color driver for pdftex
|
||||
))
|
||||
\Gin@req@height=\dimen141
|
||||
\Gin@req@width=\dimen142
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/fancyvrb\
|
||||
fancyvrb.sty
|
||||
Package: fancyvrb 2024/01/20 4.5c verbatim text (tvz,hv)
|
||||
\FV@CodeLineNo=\count196
|
||||
\FV@InFile=\read2
|
||||
\FV@TabBox=\box51
|
||||
\c@FancyVerbLine=\count197
|
||||
\FV@StepNumber=\count198
|
||||
\FV@OutFile=\write3
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/base\text
|
||||
comp.sty
|
||||
Package: textcomp 2020/02/02 v2.0n Standard LaTeX package
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/base\font
|
||||
enc.sty
|
||||
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/ae\ae.sty
|
||||
Package: ae 2001/02/12 1.3 Almost European Computer Modern
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/base\font
|
||||
enc.sty
|
||||
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
|
||||
)))
|
||||
LaTeX Font Info: Trying to load font information for T1+aer on input line 5.
|
||||
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/ae\t1aer.
|
||||
fd
|
||||
File: t1aer.fd 1997/11/16 Font definitions for T1/aer.
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/l3backend
|
||||
\l3backend-pdftex.def
|
||||
File: l3backend-pdftex.def 2024-03-14 L3 backend support: PDF output (pdfTeX)
|
||||
\l__color_backend_stack_int=\count199
|
||||
\l__pdf_internal_box=\box52
|
||||
) (manuscript.aux)
|
||||
\openout1 = `manuscript.aux'.
|
||||
|
||||
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/context/base/mk
|
||||
ii\supp-pdf.mkii
|
||||
[Loading MPS to PDF converter (version 2006.09.02).]
|
||||
\scratchcounter=\count266
|
||||
\scratchdimen=\dimen143
|
||||
\scratchbox=\box53
|
||||
\nofMPsegments=\count267
|
||||
\nofMParguments=\count268
|
||||
\everyMPshowfont=\toks20
|
||||
\MPscratchCnt=\count269
|
||||
\MPscratchDim=\dimen144
|
||||
\MPnumerator=\count270
|
||||
\makeMPintoPDFobject=\count271
|
||||
\everyMPtoPDFconversion=\toks21
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/epstopdf-
|
||||
pkg\epstopdf-base.sty
|
||||
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/generic/infware
|
||||
rr\infwarerr.sty
|
||||
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/grfext\gr
|
||||
fext.sty
|
||||
Package: grfext 2019/12/03 v1.3 Manage graphics extensions (HO)
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/generic/kvdefin
|
||||
ekeys\kvdefinekeys.sty
|
||||
Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)
|
||||
))
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/kvoptions
|
||||
\kvoptions.sty
|
||||
Package: kvoptions 2022-06-15 v3.15 Key value format for package options (HO)
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/generic/ltxcmds
|
||||
\ltxcmds.sty
|
||||
Package: ltxcmds 2023-12-04 v1.26 LaTeX kernel commands for general use (HO)
|
||||
)
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/kvsetkeys
|
||||
\kvsetkeys.sty
|
||||
Package: kvsetkeys 2022-10-05 v1.19 Key value parser (HO)
|
||||
))
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/generic/pdftexc
|
||||
mds\pdftexcmds.sty
|
||||
Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO
|
||||
)
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/generic/iftex\i
|
||||
ftex.sty
|
||||
Package: iftex 2022/02/03 v1.0f TeX engine tests
|
||||
)
|
||||
Package pdftexcmds Info: \pdf@primitive is available.
|
||||
Package pdftexcmds Info: \pdf@ifprimitive is available.
|
||||
Package pdftexcmds Info: \pdfdraftmode found.
|
||||
)
|
||||
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
|
||||
85.
|
||||
Package grfext Info: Graphics extension search list:
|
||||
(grfext) [.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPE
|
||||
G,.JBIG2,.JB2,.eps]
|
||||
(grfext) \AppendGraphicsExtensions on input line 504.
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/00miktex\
|
||||
epstopdf-sys.cfg
|
||||
File: epstopdf-sys.cfg 2021/03/18 v2.0 Configuration of epstopdf for MiKTeX
|
||||
)) (manuscript-concordance.tex)
|
||||
LaTeX Font Info: External font `cmex10' loaded for size
|
||||
(Font) <12> on input line 10.
|
||||
LaTeX Font Info: External font `cmex10' loaded for size
|
||||
(Font) <8> on input line 10.
|
||||
LaTeX Font Info: External font `cmex10' loaded for size
|
||||
(Font) <6> on input line 10.
|
||||
LaTeX Font Info: Trying to load font information for T1+aett on input line 1
|
||||
5.
|
||||
|
||||
(C:\Users\alermann-henestrosa\AppData\Local\Programs\MiKTeX\tex/latex/ae\t1aett
|
||||
.fd
|
||||
File: t1aett.fd 1997/11/16 Font definitions for T1/aett.
|
||||
) [1
|
||||
|
||||
{C:/Users/alermann-henestrosa/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map}
|
||||
] (manuscript.aux)
|
||||
***********
|
||||
LaTeX2e <2023-11-01> patch level 1
|
||||
L3 programming layer <2024-03-14>
|
||||
***********
|
||||
)
|
||||
Here is how much of TeX's memory you used:
|
||||
2757 strings out of 474424
|
||||
47552 string characters out of 5735131
|
||||
1927496 words of memory out of 5000000
|
||||
25060 multiletter control sequences out of 15000+600000
|
||||
570573 words of font info for 64 fonts, out of 8000000 for 9000
|
||||
1141 hyphenation exceptions out of 8191
|
||||
72i,6n,79p,203b,238s stack positions out of 10000i,1000n,20000p,200000b,200000s
|
||||
<C:/Users/alermann-henestrosa/AppData/Local/Programs/MiKTeX/fonts/type1/publi
|
||||
c/amsfonts/cm/cmr10.pfb><C:/Users/alermann-henestrosa/AppData/Local/Programs/Mi
|
||||
KTeX/fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Users/alermann-henestrosa/App
|
||||
Data/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr17.pfb><C:/Users/a
|
||||
lermann-henestrosa/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm
|
||||
/cmsltt10.pfb><C:/Users/alermann-henestrosa/AppData/Local/Programs/MiKTeX/fonts
|
||||
/type1/public/amsfonts/cm/cmtt10.pfb>
|
||||
Output written on manuscript.pdf (1 page, 63342 bytes).
|
||||
PDF statistics:
|
||||
32 PDF objects out of 1000 (max. 8388607)
|
||||
0 named destinations out of 1000 (max. 500000)
|
||||
5 words of extra memory for PDF output out of 10000 (max. 10000000)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,25 @@
|
||||
\documentclass{article}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{Sweave}
|
||||
|
||||
\begin{document}
|
||||
\input{manuscript-concordance}
|
||||
|
||||
\title{Mein Sweave-Test}
|
||||
\author{Angelica Henestrosa}
|
||||
\maketitle
|
||||
|
||||
Hier ist ein R-Chunk:
|
||||
|
||||
\begin{Schunk}
|
||||
\begin{Sinput}
|
||||
> x <- rnorm(100)
|
||||
> summary(x)
|
||||
\end{Sinput}
|
||||
\begin{Soutput}
|
||||
Min. 1st Qu. Median Mean 3rd Qu. Max.
|
||||
-2.83363 -0.56513 0.02237 -0.05561 0.53426 1.78206
|
||||
\end{Soutput}
|
||||
\end{Schunk}
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user