Displaying 20 results from an estimated 600 matches similar to: "Un poco de ayuda con xtable"
2008 Sep 24
1
paste in xtable
Dear R help:
I am trying to use paste(), within an ifelse() statement to insert latex
commands into an object that has been created using xtable(). I cannot
make the strings behave as I would like, the '\t' is creating a tab, the
usual method of '\\t' is not working either - nor is any series of
backslashes. The xtable object, I think, automatically alters the
strings. How
2007 Apr 27
1
Problem with formatted xtable in R 2.5.0
Dear R-Devel subscriber,
I encountered the following problem for tex-formatted table with xtable(). Suppose I do want the following matrix as a table in LaTeX:
library(xtable)
a11 <- "\\color{green}\\textbf{big green}"
a21 <- "\\color{red}\\textbf{big red}"
a12 <- "\\color{green}green"
a22 <- "\\color{red}red"
A <- matrix(c(a11, a21, a12,
2011 Aug 21
1
Multiple R linear models into one Latex table
Dear community,
I had been looking for an easy way to produce latex tables from R
output. xtable() and the package apsrtable produce good outputs but they are not
exactly what I was looking for.
I wrote this code that generates regression tables from multiple R
linear models. I want to share it because it might be
useful for someone else, and because I would appreciate comments on how to
2012 Apr 26
6
print table on plot
Hello,
I would like to be able to plot an array on a plot, something like:
|arg1 | arg2 | arg3
val1| 0.9 | 1.1 | 2.4
val2| 0.33 | 0.23 | -1.4
val3| hello| stop | test
I know Rwave is good to report but don't want to use it.
? Is there a package that allow quick and dirty plot of dataframes like this
?
Thanks a lot
--
View this message in context:
2013 May 17
2
formatting column names of data frame
Is there any way to format the headers of data frames, for printing?
I am using Sweave to generate formatted reports. In Sweave, I read in a
data.frame:
result <- read.table(path.to.table);
then display it:
print.data.frame(result);
This gives me what I expect in the eventual final output:
Record Average Maximum
1 34
2017 Mar 22
3
R - Markdown
Estimados todos, quizas la pregunta es simple pero no puedo arreglarlo.
Cuando trato de exportar mi archivo a PDf usando el R Markdown me arroja
este error:
pandoc.exe: pdflatex not found. pdflatex is needed for pdf output.Error:
pandoc document conversion failed with error 41Además: Warning message:comando
ejecutado '"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS
2012 Mar 20
3
R (Bold font) and Latex
Hi,
I am using R and latex for generating report. I need R result to be in bold
face.
For instance.
x<-c(1,0,2,4)
I need to print its output in bold face.
x
*1
2
3
4*
I attempted to use textbf{} but can not write R output inside it. How can i
implement it. Thanks in advance.
Regards
--
View this message in context:
2007 Sep 17
1
longtable and Sweave
Dear Sweave-users,
I want to print listing using sweave. Because my tables are very big, I use
the longtable option. But, is it possible to recall the first line of the
table (e.g the colnames line) on each new page ?
Thanks for your help.
Delphine
2017 Aug 04
7
[RFC] virtio-iommu version 0.4
This is the continuation of my proposal for virtio-iommu, the para-
virtualized IOMMU. Here is a summary of the changes since last time [1]:
* The virtio-iommu document now resembles an actual specification. It is
split into a formal description of the virtio device, and implementation
notes. Please find sources and binaries at [2].
* Added a probe request to describe to the guest different
2017 Aug 04
7
[RFC] virtio-iommu version 0.4
This is the continuation of my proposal for virtio-iommu, the para-
virtualized IOMMU. Here is a summary of the changes since last time [1]:
* The virtio-iommu document now resembles an actual specification. It is
split into a formal description of the virtio device, and implementation
notes. Please find sources and binaries at [2].
* Added a probe request to describe to the guest different
2009 Dec 09
2
Recent TeX changes and R/package manuals
As some of you will be aware, TeXLive 2009 was released last month
having blocked updates on earlier versions since May. This has lead
to a flood of updates of LaTeX packages, as a result of which the
PDF manuals of R 2.10.0 and earlier will no longer build, for two
separate reasons.
For MiKTeX users: at least version 2.8 (the current one) has the same
updates (a week or so later) and has
2006 Dec 25
1
Hmisc - some latex problems
If I use latex with describe:
(faithful is the Old faithful data)
latex(describe(faithful),file="describe.tex")
then the first few lines of describe.tex are
\begin{spacing}{0.7}
\begin{center} \bf faithful \\ 2 Variables~~~~~ 272 ~Observations
\end{center}
I have two problems. First, I don't know what package
the environment "spacing" comes from. (There is also a
2002 Nov 13
1
Package documentation and rd.sty
Hi all,
I've got a basic question regarding package documentation and rd.sty. I
wrote my first own package, and now I would like to place the documentation
into the appendix of another LaTex document. Seemingly I cannot simply
\usepackage{Rd}, as this will modify the page-settings of my document. Is
there a minimum style file which will just define the environments and
commands needed for
2010 Aug 04
1
Problem using R and Beamer...
Dear [R] and beamer community,
I am trying to build a presentation using beamer and [R]. I can Sweave the file; however, when I run pdflatex on the file i get the following error:
! FancyVerb Error:
Extraneous input `> a = 123450 > b = -0.69 \end {Sinput} \end {Schunk} \end {
beamer at frameslide}\ifbeamer at twoscreenstext \beamer at dosecondscreennow {{fragile}
\frametitle
2010 Jul 22
1
pagebreak in xtable and columns'width
Dear list,
I'm using the Sweave function in order to get some report.
Here one chunk:
<<echo=F,results=tex>>=
report<-lapply(repor, function(x) {
(print(xtable(data.frame(x[1:2,]), align="|l|rrr|"),floating=FALSE,tabular.
environment="longtable",include.colnames=FALSE,size="\\small"))
2005 May 03
1
Rd.sty error
I had written a vignette and included a
\usepackage{Rd} command to make it possible to include
latex'ed Rd files in the vignette. However, when loading
Rd.sty texShop produces the following error:
l. 180 ...d}[1]{\ifmmode\bm{#1}\else\textbf{#1}\fi}
This is on Max OS X 3.9 and R 2.0.1
Has anyone seen this before and/or is it problematic? I'm not sure whether
the output suffers from this
2017 May 24
4
Interfaz gráfica para docencia
Si puedo dar mi opinión es que no uséis rcomander. Al final el alumno cree que usa R pero no lo usa!!!
Depende del tiempo pero si es para psicología yo usaría excell o spss. Rcomander les va a liar mas de lo debido y deja el ordenador inutilizable... Soy profe de estadistic pero aparte estoy en segundo de psicologia y la estadistica que se da es muy muy basica como para usar R.
Salutis.
Renaud
2024 Jun 27
2
Ayuda para hacer una lista
Muchas fracias por la rapida contastacion Javier.
Si, ya me he dado cuenta que a veces es mas limpiar y formatear que
calcular.
Lo que yo necesito hacer no es crear un data.frame, es crear una lista por
cada grupo/condicion de muestras. Y queria hacerlo en un for loop, para que
no tuviese que indicar cuantas listas necesito si no que cogiese esa
informacion del usuario (y)
Creo que no me
2012 Oct 10
6
Exporting summary plm results to latex
Dear all,
I am trying to export my fixed effect results to Latex. I am using the plm package with the summary function. However, it does not look like apsrtable, stargazer, or any other package can accompany using the plm package.
I am interested in a classic table with the coefficient in one row followed by the standard error in paranthesis in the next row and stars by the coefficient to show
2008 Mar 28
1
Sweave - print \n ?
Hi,
this is probably quite stupid but I have no clue
what's wrong. Let's say I write the function
hline <- function() {
cat("\\hline \n")
}
and call hline() from within a Sweave chunk. Why is
there no carriage return after the \hline in the
resulting tex file?
if I call hline() hline() in the chunk, then I get
\hline \hline
in the tex code without a linebreak in