Displaying 20 results from an estimated 1000 matches similar to: "lyx knitr y toLatex"
2009 Aug 26
2
faulty formatting of toLatex(sessionInfo())
Dear all
I am writing an Sweave document and have encountered formatting issues
with the "locale" part of toLatex(sessionInfo()). The fact that there
is no spaces between the various "locale" variables means that LaTeX
cannot easily find an appropriate place to break the lines, and some
will get printed off screen.
Below is the text output, and this .pdf document [1] shows the
2006 Oct 28
1
(kein Betreff)
Frank Harrell rote in a message dating from Oct 8th:
> n.group is an argument to latex.default in the Hmisc package
I must admit that I can't find it in the function head,
which reads on my installation:
function (object, title = first.word(deparse(substitute(object))),
file = paste(title, ".tex", sep = ""), append = FALSE, label = title,
rowlabel = title,
2006 Feb 12
1
Mathematical typesetting of column heads using the latex (Hmisc) function
Dear r-helpers,
I would very much appreciate help with the following problem:
The following command (in a .Rnw file)
latex(anova(e7.lmer3, e7.lmer4), file = 'e7lmer34.tex', rowname = c
('nonlinear', 'linear'), longtable = FALSE, dcolumn = T, booktabs =
T, table.env = F)
produces the following output after running Sweave:
% latex.default(anova(e7.lmer1, e7.lmer2),
2006 Mar 13
1
Formatting an anova table using latex
Hi r-helpers,
When I issue the command
latex(anova(raw1.lmer0, raw1.lmer, raw1.lmerI), file = 'raw1.tex',
rownamesTexCmd = c('baR', 'addit', 'multip'), longtable = F, dcolumn
= T, booktabs = T, t able.env = F, colheads = NULL, colnamesTexCmd = c
('', 'df', 'aic', 'bic', 'logl', 'chisq', 'chisqdf',
2015 Jul 07
1
[ on call
I'm rather puzzled by this behavior:
e
export("caption<-", "caption", "label", "label<-", "align<-",
"align", "digits<-", "digits", "display<-", "display", "xtable",
"print.xtable", "toLatex.xtable")
> e[[1L]]
e[[1L]]
export
>
2010 Dec 30
1
latex() etc.: How to nicely format a matrix for a LaTeX document?
Dear (T)eXpeRts,
I try to create a LaTeX table from an R matrix for the first time. I am not sure what the "best" approach is, I just read about latex() from Hmisc (toLatex() didn't work).
Consider the following minimal example:
library(Hmisc)
mat <- matrix(c(1,NA,3,100,10000,4), ncol = 3, byrow = TRUE)
latex(mat, file = "", booktabs = TRUE, numeric.dollar = FALSE,
2012 Feb 07
1
xtable "beta" testing wanted
Dear R-users,
I've enhanced the "xtable" package, adding numerous features that have been requested by users. The changes are listed below.
The objective throughout has been to avoid any breaking changes. However, as "xtable" is widely used and is a dependency of many packages I'd like to have others try it out before I post it to CRAN. Both bug reports and design
2009 Apr 22
1
RFC: Ability to suppress 'locale' from sessionInfo
The printing of the locale information from sessionInfo is not very tidy.
Using toLatex(sessionInfo) pretty much guarantees "badness" from breaking
the margin boundary (though my version of TeX no longer reports such
errors). A random example is here:
http://cran.r-project.org/web/packages/Matrix/vignettes/Design-issues.pdf
I find the locale information unnecessary and right now I hack
2010 Dec 13
2
Integration with LaTex and LyX
Hello,
Are there any packages which allow for a good integration between R and
LaTex / LyX? I'm interested mainly in automatic (automagic?) imports of
plots/graphics.
Thanks in advance and best regards,
Eduardo de Oliveira Horta
[[alternative HTML version deleted]]
2005 Jul 27
4
LyX and Sweave
>>>>> On Mon, 25 Jul 2005 14:12:41 +0200,
>>>>> Gorjanc Gregor (GG) wrote:
> Hello R-users!
> I have tried to use Sweave within LyX* and found two ways to accomplish
> this. I have attached LyX source file for both ways as well as generated
> PDFs.
I have copied Gregor's files at
http://www.ci.tuwien.ac.at/~leisch/Sweave/LyX
for those who
2009 Jun 12
2
Sweave recode(car) and Lyx, compiling but not executing on Mac
I am just beginning to use Sweave with Lyx on a Mac (R2.8.1). I have
12 chunks of Sweave code that work fine, but this piece:
<<>>=
library(car)
2020 Jan 25
1
Centos 7 Lyx - installing templates and class files
On Fri, 24 Jan 2020 17:02:20 -0500
Noam Bernstein via CentOS wrote:
> Can you use
> yum whatprovides FILE_GLOB
> to figure out which package provides the particular class files that seem
> relevant?
It appears that most of the class files don't exist in the form of a rpm. In fact, some of this stuff doesn't seem to be downloadable as a .cls file (which is the format that lyx
2007 Feb 03
1
LyX 1.4.3-5 problem generating PDF documents
I just changed machines and, at first, could not get
LyX 1.4.3-4 to even load. I tried 1.5 which loaded
nicely but would not give me PDF output. Removed 1.5
tried using 1.4.3-5.exe. Result : On loading LyX :
lyx: Disabling socket
cont class std::basic_string<char struct std:
char::char_traits ...
Removed and installed from LyXWin143Complete-2-9.exe.
Loads okay but no PDF generation. My
2005 Jul 25
1
FW: LyX and Sweave
Hello R-users!
I have tried to use Sweave within LyX* and found two ways to accomplish
this. I have attached LyX source file for both ways.
*<http://www.lyx.org>
Lep pozdrav / With regards,
Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana
Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical
1999 Oct 06
1
R graphics & lyx
hello all,
I get problems including graphics from R (0.64) into lyx (1.0.2).
I don't understand the difference between .eps and .ps but I think the
problem must be here. Does anyone can help ?
thanks,
Mathieu
--
-----------------------------------------------------------------------
Mathieu Ros - 13 rue beviere - 38000 GRENOBLE - 04 76 491 370
2020 Jan 24
2
Centos 7 Lyx - installing templates and class files
I'm not kind of an expert using Lyx, but I occasionally do some "structured writing" and on those occasions I've really enjoyed using Lyx; the workflow and the output just can't be beat.
I'm enough of a novice with it that I've never used anything other than the "Article (Standard Class)" document class.
I wrote a short paper using Lyx and the
2003 Jun 13
1
problem with latex of object summary reverse
Hi,
I have the following problem (library Hmisc loaded,
iris data loaded, R Version 1.7.0 (2003-04-16), packages
updated, running on a linux Debian i386):
> summary(Species~Sepal.Length,method="reverse")->a
> a
Descriptive Statistics by Species
+------------+-----------------+-----------------+-----------------+
| |setosa |versicolor |virginica
2006 Apr 16
1
dcolumn
Does anyone out there use dcolumn=TRUE in the latex() function in the
Hmisc library?
I would like to line up the data in a latex table I'm making using
latex(), but I'm having some issues with this feature. Since there is
no description of it in the help, I thought that it might be
incomplete or something like that.
On a related note, if anyone knows how to get the end result I want
2023 Nov 17
1
Can someone please have a look at this query on stackoverflow?
Dear Ashim,
I don't think the aspectratio is appropriate in this context because
it would imply that the beamer (LaTeX) class is used but you're actually
using the article (LaTeX) class.
You may use specifications of the geometry package rather than
specifying options to the class:
e.g. replace your current header:
---
title: "Testing landscape and aspect ratio"
output:
2010 Dec 07
5
LaTeX, MiKTeX, LyX: A Guide for the Perplexed
Hello Everyone,
Been learning R over the past several months. Read several books and have learned a great deal about data manipulation, statistical analysis, and graphics.
Now I want to learn how to make nice looking documents and about "literate programming." My understanding is that R users normally do this using LaTeX, MiKTeX, LyX, etc. in conjuction with Sweave. An alternative