Displaying 20 results from an estimated 100 matches similar to: "R reference card"
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
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"))
2010 Apr 02
1
Problems with PDF/Latex when building a package
Dear R People:
I'm building a packages on an Ubuntu Karmic Koala 9.10 system and am
getting the following errors:
* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not found
.
<to be read again>
relax
l.7
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
2010 Mar 13
2
Un poco de ayuda con xtable
Hola, buenas tardes:
Necesitaba un poco de socorro con xtable, si fuese posible.
Mi problema es que quiero 'formatear' específicamente algunas celdas de
una tabla generada con xtable y no soy capaz.
Detallo el problema de ejemplo:
vv<-rbind(c(1,1,0,1),c(0,0,1,1))
vv[2,3]<-<-paste("\\textbf{",vv[2,3],"}",sep="")
xtable(vv)
> xtable(vv)
% latex
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
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:
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
2008 Oct 24
0
Problem with "plflatex wrapper.tex"
Hi, All:
I encountered problems running "pdflatex wrapper.tex", as
suggested on "www.r-project.org" -> Newsletter -> (near the bottom of
the page). After 220 lines of seemingly successful processing, I got an
error copied below. I hit <enter> a few times, and the "pdflatex"
finished, apparently successfully.
Comments?
Thanks,
2009 Feb 06
0
Tinn-R 2.2.0.1 released with a new and complete User Guide
Dears Tinn-R users,
We want to announce that a new version of Tinn-R Gui/Editor (Windows
OS) was released.
It now has a complete User Guide, a old request of the users.
The news of this version are below:
2.2.0.1 (Feb/05/2009)
* Bugs fixed:
1. Latex font Enphase was fixed. It was inserting \textbf{}
instead of \emph{}.
2. Save and load workspace is now enabled only if
1997 Sep 11
1
R-alpha: Mathematical Annotation in R (plots)
[[ this has first bounced to me as 'list-manager', because the
subject said ``Returned mail: User unknown''
Paul, I assume you'd approve the subject I've chosen...
-- Martin M
]]
hi
for those who are interested ...
the following is a LaTeX document which describes the current state of
mathematical expression syntax in R
paul
------CUT
2006 Dec 26
1
Colored Dendrogram
Hi all,
I am a real novice to R. :)
I am struggling with a problem for generating colored dendrogram. I have
searched the R list and complied/collected a R code which can generated a
colored dendrogram based on the rainbow color and 4x4 similarity matrix (say
matrix:m).
In this dendrogram, each leaf is colored differently. But, I do not want the
leaf colored on a random basis. I want to assign
2007 Dec 03
0
scrollbars and dragable
Hello,
I am new at script.aculo.us and it seem''s to be a very poverfull
animation framework.
I need to move a div around on the screen with javascript. So far I
see the solution with script.aculo.us is to use a dragable object.
Now I have a problem. My div contains scrollbars with css: overflow:
auto. When I use the IE6 the scrollbar hangs often :-)
My div looks like this:
<div
2012 Sep 24
1
Question lattice SplomT
Dear Deepayan Sarkar,
I have (again) a question concerning "panel" and my function "SplomT",
see attachments. Some time ago you helped me to write this function,
thanks again. I have used it to great advantage in my statistics
instructions. Now the problem I encounter is that the .pdf figure
generated in Sweave consists of
one extra empty page at the start.
This prevents
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
2012 May 25
1
knitr customization
I am trying to transition from Sweave to knitr, but there are a few
things about customization of the appearence of R input and output that
I did not get yet. Maybe somebody on the list can help me.
In my Sweave presentations I used a slanted font for the R input and a
normal font for the output, both in a small font. I also indented
everything by an extra 2em. All this was achieved by the
1997 Sep 01
1
R-alpha: old Rdoc 2 new Rdoc
--xk+LtGr+JJ
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Attached is a conversion script for converting current R doc files to
the proposed new format ... I'm not sure if it handles everything
correctly, as I made just some random checks. The main purpose for
posting the thing to the list is such that those interested can get a
look at the new format.
Of