search for: maketitl

Displaying 20 results from an estimated 69 matches for "maketitl".

Did you mean: maketitle
2017 Sep 06
4
post_processor in rmarkdown not working
...cessor <- function( metadata, input_file, output_file, clean, verbose ) { text <- readLines(output_file, warn = FALSE) # set correct text in fmtext environment end_first_page <- grep("\\\\EndFirstPage", text) #nolint if (length(end_first_page) == 1) { maketitle <- grep("\\\\maketitle", text) #nolint text <- c( text[1:(maketitle - 1)], "\\begin{fmtext}", text[(maketitle + 1):(end_first_page - 1)], "\\end{fmtext}", "\\maketitle", text[(end_first_page + 1):le...
2001 Mar 07
1
Minor bug in maketitle.pl (with bug correction) (PR#864)
Full_Name: Henrik Bengtsson Version: rw1022 OS: Windows Me Submission from: (NULL) (216.175.126.55) When ${R_HOME}/share/perl/maketitle.pl tries to generate a TITLE that is longer than $lc-3 (=13) characters long, it repeats the package name on line two. Example: Now it generates an output like: com.braju.graphics com.braju.graphics Bla bla bla... But, I believe it should generate: com.braju.graphics...
2000 Jul 22
1
maketitle garbles the title in package nnet (PR#613)
The TITLE for the nnet package is garbled: it comes out as nnet Feed-forward neural networks and multinomial log-linear nnet Feed-forward neural networks and multinomial log-linear models The problem is in maketitle: auk% cat DESCRIPTION Bundle: VR Version: 6.1-9 Date: 2000/07/11 Depends: R (>= 1.1) Author: S original by Venables & Ripley. R port by Brian Ripley <ripley@stats.ox.ac.uk>, following earlier work by Kurt Hornik and Albrecht Gebhardt. BundleDescription: Various functions from th...
2017 Sep 07
0
post_processor in rmarkdown not working
...a, input_file, output_file, clean, verbose > ) { > text <- readLines(output_file, warn = FALSE) > > # set correct text in fmtext environment > end_first_page <- grep("\\\\EndFirstPage", text) #nolint > if (length(end_first_page) == 1) { > maketitle <- grep("\\\\maketitle", text) #nolint > text <- c( > text[1:(maketitle - 1)], > "\\begin{fmtext}", > text[(maketitle + 1):(end_first_page - 1)], > "\\end{fmtext}", > "\\maketitle", >...
2017 Sep 07
0
post_processor in rmarkdown not working
...t_file, output_file, clean, verbose > ) { > text <- readLines(output_file, warn = FALSE) > > # set correct text in fmtext environment > end_first_page <- grep("\\\\EndFirstPage", text) #nolint > if (length(end_first_page) == 1) { > maketitle <- grep("\\\\maketitle", text) #nolint > text <- c( > text[1:(maketitle - 1)], > "\\begin{fmtext}", > text[(maketitle + 1):(end_first_page - 1)], > "\\end{fmtext}", > "\\maketitle",...
2017 Sep 07
3
post_processor in rmarkdown not working
...verbose >> ) { >> text <- readLines(output_file, warn = FALSE) >> >> # set correct text in fmtext environment >> end_first_page <- grep("\\\\EndFirstPage", text) #nolint >> if (length(end_first_page) == 1) { >> maketitle <- grep("\\\\maketitle", text) #nolint >> text <- c( >> text[1:(maketitle - 1)], >> "\\begin{fmtext}", >> text[(maketitle + 1):(end_first_page - 1)], >> "\\end{fmtext}", >> &...
2001 Feb 08
0
RE: [R] Re: failed rpm installation of R 1.2-1 (fwd) (PR#841)
I'm forwarding this to R-bugs. In R 1.2.1 the file $R_HOME/bin/maketitle.awk is installed as an executable. It should not be since it is just a set of awk commands, not a script file that can be run from the shell (This is a change from R 1.2.0 in which the file $R_HOME/bin/maketitle was a shell script). This confuses an rpm utility called "find-requires" wh...
2001 Feb 07
1
Re: failed rpm installation of R 1.2-1 (fwd)
...to R. Does anyone have > any idea what? I have no idea. > I guess, there is some executable file (a snippet of some script with mode 755 or similar) which starts with a line "BEGIN". .... Well, I just found it, it is an awk script: find -type f -exec grep -l BEGIN {} \; ... ./bin/maketitle.awk Clearly it doesn't need the executable bits so simply add chmod 644 $RPM_BUILD_ROOT/%{prefix}/R/bin/maketitle.awk to the end of the %install section of my spec file. Albrecht // Albrecht Gebhardt Tel.: (++43 463) 2700/3118 // Institut fuer Mathematik Fax : (++43 463) 2700/...
2002 Aug 24
1
Inconsistent use of Perl? (PR#1937)
....o sdiag.o sstdiag.o -L/usr/local/lib -L/usr/local/share/icon.9.3.1/ilib -L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2 -L/usr/local/i686-pc-linux-gnu/lib -lreadline -ldl -lncurses -lg2c -lm ** R ** data Perl 5.005 required--this is only version 5.00405, stopped at /usr/local/lib/R/share/perl/maketitle.pl line 4. ** help >>> Building/Updating help pages for package `KernSmooth' Formats: text html latex example * DONE (KernSmooth) * Installing *source* package 'MASS' ... ** libs gcc -I/usr/local/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp -fPIC...
2017 Sep 07
0
post_processor in rmarkdown not working
...{ > ? ? ?text <- readLines(output_file, warn = FALSE) > > ? ? ?# set correct text in fmtext environment > ? ? ?end_first_page <- grep("\\\\EndFirstPage", text) #nolint > ? ? ?if (length(end_first_page) == 1) { > ? ? ? ?maketitle <- grep("\\\\maketitle", text) #nolint > ? ? ? ?text <- c( > ? ? ? ? ?text[1:(maketitle - 1)], > ? ? ? ? ?"\\begin{fmtext}", > ? ? ? ? ?text[(maketitle + 1):(end_first_page - 1)], > ? ? ? ? ?"\\end{fmtext}&q...
2012 Aug 21
2
Sweave: R chunk inside caption?
...caption has an extra }. <inserted text> \par l.21 } Any thoughts? Perhaps I'll have to write the "\caption{}" text with R? thanks! Sweave document: \documentclass{article} \title {test} \author {me} \usepackage{Sweave} \begin {document} \maketitle \DeclareGraphicsExtensions{.pdf,.png} \begin {figure} <<label=fig1, echo=FALSE, fig=TRUE, pdf=false, png=true>>= plot(runif(100), runif(100)) @ \caption { This is the caption with some r-code <<>>= 2*2 @ } \label {fig...
2017 Sep 07
2
post_processor in rmarkdown not working
...ext <- readLines(output_file, warn = FALSE) >> >> ? ? ?# set correct text in fmtext environment >> ? ? ?end_first_page <- grep("\\\\EndFirstPage", text) #nolint >> ? ? ?if (length(end_first_page) == 1) { >> ? ? ? ?maketitle <- grep("\\\\maketitle", text) #nolint >> ? ? ? ?text <- c( >> ? ? ? ? ?text[1:(maketitle - 1)], >> ? ? ? ? ?"\\begin{fmtext}", >> ? ? ? ? ?text[(maketitle + 1):(end_first_page - 1)], >> ? ? ?...
2017 Sep 08
0
post_processor in rmarkdown not working
...output_file, warn = FALSE) >>> >>> # set correct text in fmtext environment >>> end_first_page <- grep("\\\\EndFirstPage", text) #nolint >>> if (length(end_first_page) == 1) { >>> maketitle <- grep("\\\\maketitle", text) #nolint >>> text <- c( >>> text[1:(maketitle - 1)], >>> "\\begin{fmtext}", >>> text[(maketitle + 1):(end_first_page - 1)], >>...
2010 Nov 16
1
Sweave: \Sexpr and variables with special chars
...of a Sweave document: \documentclass[a4paper]{article} <<echo=false, results=hide>>= #mytitlevar <- "Stuff" # case 1, everything is find mytitlevar <- "Stuff_first" # case 2, f is turned into sub-text @ \title{MyTitle: \\ \Sexpr{mytitlevar} } \begin{document} \maketitle \end{document} When doing this, the variable seems to be subject to interpretation by LaTeX. The variable in case #2 causes the 'f' of 'Stuff_first' to be printed as sub-text because of the leading underscore. Is there a way to turn the variable value (the text) into a form so tha...
2012 Feb 23
1
Sexpr not getting expanded in Sweave
An Sweave file, 'test.Rnw': \documentclass{article} \title{Sweave minimal} \author{MK} \begin{document} \maketitle We try Sweave: <<1>>= data(airquality) summary(airquality) x <- airquality[1, 1] @ I try Sexpr: \Sexpr{x} We plot: \begin{center} <<2, fig=TRUE, echo=FALSE >>= boxplot(Ozone ~ Month, data = airquality) @ \end{center} \end{document} I check the sessionInfo: > sess...
2008 Mar 24
2
Newbie help with Sweave
...Place, Suite 310 Baltimore, Maryland 21202 410-659-6139 ============================== sweaveexample.tex: ============================== \documentclass[a4paper]{article} \title{Sweave Example 1} \author{Friedrich Leisch} \usepackage{C:/PROGRA~1/R/R-26~1.2/share/texmf/Sweave} \begin{document} \maketitle In this example we embed parts of the examples from the \texttt{kruskal.test} help page into a \LaTeX{} document: \begin{Schunk} \begin{Sinput} > data(airquality) > library(ctest) > kruskal.test(Ozone ~ Month, data = airquality) \end{Sinput} \begin{Soutput} Kruskal-Wallis rank sum test...
2008 Jun 17
3
Sweave: problem with usepackage{C:/PROGRA~1/R/R-27~1.0/share/texmf/Sweave}
...a .tex file: ---------------------------------------------------- % -*- mode: noweb; noweb-default-code-mode: R-mode; -*- \documentclass[a4paper]{article} \title{A Test File} \author{Friedrich Leisch} \usepackage{a4wide} \usepackage{C:/PROGRA~1/R/R-27~1.0/share/texmf/Sweave} \begin{document} \maketitle A simple example that will run in any S engine: The integers from 1 to 10 are \begin{Schunk} \begin{Soutput} [1] 1 2 3 4 5 6 7 8 9 10 \end{Soutput} \end{Schunk} We can also emulate a simple calculator: ?etc. ---------------------------------------------------------- When I run this fi...
2006 Feb 13
2
Sweave, mle and curve
I am trying to write a lesson on maximum likelihood with Sweave. I get a surprising result with the following code, lec4.Snw: \documentclass[a4paper,12pt]{article} \usepackage[latin1]{inputenc} \title{Maximum likelihood} \author{G伱伓ran Brostr伱伓m} \begin{document} \maketitle <<fig=TRUE>>= ## Simulate Y: n <- 25 Y <- sum(rpois(n, lambda = 1)) Y ## Define minusloglik: minusloglik <- function(theta) n * theta - Y * log(theta) curve(minusloglik, 0.2, 2, xlab = "theta") library(stats4) cat("Y is now ", Y, "\n") fit &lt...
2004 Feb 05
2
Sweave problem
Here is the file minimal.Snw: \documentclass[a4paper]{article} \title{R tips and tricks} \author{Murray Jorgensen} \usepackage{Sweave} \begin{document} \maketitle \section*{Entering data from a single variable} The following data are transformed tensile strength measurements on polyester fibres. They may be found on the file \texttt{TENSILE.DAT}. We may enter this data into R using the \texttt{scan} command. <<>>= strength <- scan() 0.023...
2013 Aug 28
1
Error when using buildVignettes()
...1}}} \newcommand{\Rpackage}[1]{{\textsf{#1}}} \newcommand{\Rclass}[1]{{\textit{#1}}} \newcommand{\Cclass}[1]{{\textit{#1}}} \newcommand{\Rexten}[1]{{\textit{#1}}} \newcommand{\xps}{\Rpackage{xps}} \newcommand{\ROOT}{\Robject{ROOT}} \begin{document} \title{@TITLE@} \date{@DATE@} \author{@AUTHOR@} \maketitle \tableofcontents \section{Introduction} This is the quality assessment report for the dataset '@DATASET@'. The dataset consists of @NUMTREES@ Affymetrix @CHIPTYPE@ arrays of type '@CHIPNAME@'. \\ This report was generated using function \Rfunction{xpsQAReport} of packa...