Displaying 20 results from an estimated 11000 matches similar to: "What's "latex" for?"
2003 Oct 12
7
Integration between R & latex
As an R absolute beginner and an expert (very old) statistician and latex user,
I'm interested in using R to produce AUTOMAGICALLY tables in latex format. I
mean I would like to have the means to build an R procedure generating **FROM
INSIDE** a table or a graph to be inserted directly into latex.
I've read http://hesweb1.med.virginia.edu/biostat/s/doc/summary.pdf where the
author speaks
2003 Oct 22
2
High frequency time-series
Having to collect hourly electricity loads and quarter-of-an-hour electricity production data for some years I think that the tidiest way of doing it is to resort to ts but I don't know how to define such a frequency starting from a set date.
Leafing through r-help mail archives I've found this *ALMOST* satisfactory message:
==========================================================
2003 Dec 07
5
A hint to start ESS-xemacs
I'm trying to use ESS & xemacs under debian linux testing and KDE.
My problem is that I didn't find any document in the internet explaining a
**step by step** session with R and xemacs.
The (wrong) procedure I follow (to no avail!) is:
1) I start R in a terminal window;
2) I start xemacs and open a file with the extension .R (test.R);
3) I issue M-x R RET and I can see an Rd new
2003 Dec 30
1
Mistake with contour...
I'm reading Ripley-Venables "Modern Applied Statistics with S - Fourth edition" , at the same time trying the examples proposed in the book using R 1.8.1 under linux.
Now I'm trying the following code from the book (example code of spatial statistics at page 76) with R :
| data(topo) library("spatial") topo.loess<-loess(z ~ x * y, topo,
| degree= 2,span=0.25)
|
2004 Jan 19
4
Some more help needed...
As an absolute beginner, still reading "Modern Applied Statistics with S" and exercising with its examples, I'm frequently stopped by what it looks to be R poor help system (or is it my gigantic ignorance?). I mean that using help many arguments of a command seems to be given for granted like for instance:
...............................
?lines
lines(x, ...)
## Default S3
2003 Oct 14
5
Organized examples for newbyes
I'm learning R from scratch on my linux box, being deeply biased at work by those graphical programs, nice to look but often poor in content and almost generally limited, running under M$ Windows.
I wonder if someone out there can suggest to an absolute beginner as I am where to find a collection of examples of R-code (or Splus, as I understand) to play with in order to learn R quicker.
The
2003 Oct 17
3
Strange behaviour
As an absolute beginner I'm reading and practicing with the Verzani doc to learn R.
Now, being an expert latex user who wants to integrate graphical capabilities if R and latex, using the "Simple" library and the simple.scatterplot examples I had a go at:
1) Including the resulting graph into a doc.snw then compiled through sweave & latex;
2) Produce the graph in pdf format
2004 Jan 01
1
Barplot errors in MASS script
Reading "Modern Applied Statististics with S" and trying the corresponding
examples both in the book and in ../lib/R/library/MASS/script, I'm now trying
chapter 4 plotting bars with the following code on a linux box with R 1.8.1:
----------------------
library(MASS)
library(lattice)
options(echo=T, width=65, digits=5)
lung.deaths <- aggregate(ts.union(mdeaths, fdeaths), 1)
2010 Feb 20
3
LaTeX/R/Sweave Problems
Dear All:
For a few days now I have struggled with recreating a stable LaTeX/R/Sweave
environment on a new Windows XP SP3 machine. Unfortunately it seems that I
ran out of good ideas and I would like your expert opinion on how I should
approach this task and be successful. In essence, I installed (several
times) in this order the following: R2.10.1 (and then R 2.9.2), Adobe
Acrobat Reader 9
2004 Dec 20
3
Sweave and LaTeX beamer class
Hi,
has anyonne experienced problems between the LaTeX beamer class and
Sweave? The following code does not work properly:
#################################
\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ngerman}
\begin{document}
\frame{
\frametitle{test}
test
<<>>=
1+1
@
}
\end{document}
#################################
Below is the
2005 Sep 06
1
bash help please
I'd like to make MikTeX the default TeX package in 2.2.0, but we still
need to let people use other packages. The problem is that MikTeX wants
a command line option --include-directory $R_HOME/share/texmf, while
other packages specify includes via environment variables, and barf when
they see the unexpected option.
The choice should be controlled by the user's settings in the MkRules
2016 May 13
1
LaTeX errors new with R 3.3.0
Hello:
I could use help understanding an error reported by "R CMD build
sos" that's new with R 3.3.0:
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'sos.tex' failed.
LaTeX errors:
! Undefined control sequence.
l.1 \Sconcordance
{concordance:sos.tex:sos.Rnw:%
The control sequence at
2008 Oct 28
1
Sweave Error
dear R users,
I am using sweave to generate report for my data analysis.
I recently updated R ro 2.8.0, and now I have the following results when compile the the tex file generated from R.
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./Lajos.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english,
2012 May 25
2
How to set symbolic link correctly so that LaTeX finds Sweave?
Hi,
I recently switched from Mac OS X (after 7 years) to Xubuntu 12.04 and I am
quite happy with it so far. I first installed R from source but I was somehow
missing certain things and I thus decided (after a new Xubuntu installation
which I had to make due to other reasons) to install R the "Ubuntu way":
,----[ R installation: ]
| 1) sudo emacs /etc/apt/sources.list
| 2) add:
| deb
2010 Jun 16
5
Latex and r
Dear R?ers
I?m trying to get a summary table using latex and summary in the rms package to no avail. I?m running R 2.10.1, Mac OS X snow leopard and I have the mactex 2009 distribution installed. Any obvious things I?m missing?
//M
options(digits=3)
set.seed(173)
sex <- factor(sample(c("m","f"), 500, rep=TRUE))
age <- rnorm(500, 50, 5)
treatment <-
2011 Sep 30
2
Understanding the workflow between sweave, R and Latex
Let's say I have written the following tiny .Rnw file:
_________________________________________
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{Sweave}
\usepackage{tikz}
\usepackage{pgf}
\begin{document}
<<>>=
sessionInfo()
@
\end{document}
_________________________________________
I then can go to R and use sweave to translate the .Rnw file into a .tex
2015 Jan 08
2
latex warning
Dear all,
I am getting an R CMD check warning about the PDF manual. I am having a
hard time finding out what is wrong, here is the log of the Rd2pdf call.
The full check (and other) log is at
https://api.travis-ci.org/jobs/46373922/log.txt?deansi=true if anybody is
interested, and the package itself is here:
https://github.com/metacran/r-builder/tree/bintex/rbuildertest
Thanks, Best,
Gabor
2004 Jul 01
1
\middle in Rd.sty conflicts with newer LaTeX?
Rd.sty defines
\newlength{\middle}
which seems to be in conflict with the my latex installation.
Here is a minimal example:
\documentclass{article}
\newlength{\middle}
\begin{document}
\end{document}
It runs fine on a Linux box:
carp:136% latex test.tex
This is TeX, Version 3.14159 (Web2C 7.3.1)
(test.tex
LaTeX2e <2000/06/01>
Babel <v3.7h> and hyphenation patterns for american,
2012 May 08
2
Installing LaTeX class files not available in Debian packages
I apologize for abusing the list somewhat but there is some connection
to R. Several of the example files in the knitr package for R use the
tufte-handout class, which, AFAICS, is not available in Ubuntu or
Debian packages (please correct me if I am wrong).
The source files are available at tufte-latex.googlecode.com (a.k.a.
code.google.com/p/tufte-latex) and I presume they should end up in a
2005 Oct 11
1
Hmisc latex function
I'm using R 2.2.0 on an up-to-date version of Fedora Core 4 with the
latest version of Hmisc. When I run an example from the latex function I
get the following:
> x <- matrix(1:6, nrow=2, dimnames=list(c('a','b'),c('c','d','enLine
2')))
> x
c d enLine 2
a 1 3 5
b 2 4 6
> latex(x) # creates x.tex in working directory
sh: