Displaying 20 results from an estimated 3000 matches similar to: "Sweave and paths"
2004 Mar 12
4
Sweave and R output: possible to suppress "Schunk" tags in *.tex file output?
Hello,
I would like to fill the rows of a Latex tabular environment with output from
R, as in
\begin{table}
\caption{Table caption.}
\label{tab:events}
\begin{tabular}{c r r r r r}
\hline
<<echo=false,results=tex>>=
fill.my.table.rows()
@
\end{tabular}
\end{table}
Sweave produces the output inside \begin{Schunk} and \end{Schunk} commands,
which latex doesn't
2005 Feb 22
6
Run Sweave and LaTeX directly from command line
Hello!
Those of you, who use Sweave a lot, will probably find my shell script
usable. You can get it at:
http://www.bfro.uni-lj.si/MR/ggorjan/programs/shell/Sweave.sh
No warranty, however don't hesitate to contact me if you find an error or
have a patch!
--
Lep pozdrav / With regards,
Gregor GORJANC
---------------------------------------------------------------
University of
2003 Jan 12
1
Loops Sweave and Many Figures
Is it any way?
This code doesn''t work:
%%%%%%%%%%%%%%%
\multido{}{10}{
<<fig=T>>=
...
@
}
%%%%%%%%%%%%%%%
Or:
%%%%%%%%%%%%%%%
<<1, fig=T>>=
...
@
<<>>=
<<1>>
@
%%%%%%%%%%%%%%%
Serguei Baranov, MSc.
Max-Planck-Institut fur Molekulare Genetik
Abteilung Lehrach, room 2.112
Ihnestrasse 73
14195 Berlin-Dahlem
Germany
Tel. 49-30-8413-1667
Fax.
2003 Dec 04
2
passing par() options to pdf under Sweave
I'm using Sweave to generate LaTeX output from R. Thank-you
very much for this capability. It is very useful.
Could someone please tell me how to pass non-default
graphics parameters from par() to the pdf driver when it is
called by Sweave?
(I need to change some of the margin defaults. )
Hoping there is an easy solution to this question,
Anne York
2005 Dec 02
1
Sweave: How can I include S input in paragraph mode
Sweavers
As the title suggests I would appreciate any help to include S code in
ordinary paragraph mode. I can use the textsl font but is isn't the
same.
Thanks
Ross Darnell
2005 Feb 07
1
Sweave and connections
I'm learning to use Sweave (it's really great!) and everything works fine,
except that occasionally I get, after having sweaved many times,
----------------------------------------------------------
> Sweave("report.Snw")
Writing to file report.tex
Processing code chunks ...
1 : term hide
Error: chunk 1
Error in file(file, encoding = encoding) :
All connections
2005 May 04
1
Avoiding Sweave formula cut's?
Hi,
anybody know a possibilities how i could avoid less nicely cut's in
function calls with sweave like:
randomForest(x = RELSHIP ~ ., data = R_RELSHIP[splitR_RELSHIP == 1,
], importance = T, n(*here is the cut in the pdf*)
tree = 1000, na.action = na.omit)
Until now i add expost linebreaks in the *.tex file, but with dozend of
models it might be painfuel for my hands.
Many
2004 Jan 07
1
Sweave and X11 on OSX 10.3
Hi -
I'm running R 1.8.1 (compiled from source) on Mac OS X 10.3 (Panther). I
find that, if Apple's X11 application is not running, Sweave gives an
error when it wants to create a pdf or eps figure. E.g., in the package's
own example-1.Snw file a boxplot is created at chunk 2:
<<fig=TRUE,echo=FALSE>>=
boxplot(Ozone ~ Month, data = airquality)
@
Normally this will create
2002 Jul 10
2
incorrect URL (PR#1764)
Hi -
a tiny bug report:
the list of mirror sites given at www.r-project.org/
mentions
http://cran.mirror.aarnet.edu.au/
This domain does not exist (well, from Western Australia
netscape says the domain doesn't exist) but I found
the mirror at
http://mirror.aarnet.edu.au/pub/CRAN/
regards
Adrian Baddeley
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2002 Jul 10
2
incorrect URL (PR#1764)
Hi -
a tiny bug report:
the list of mirror sites given at www.r-project.org/
mentions
http://cran.mirror.aarnet.edu.au/
This domain does not exist (well, from Western Australia
netscape says the domain doesn't exist) but I found
the mirror at
http://mirror.aarnet.edu.au/pub/CRAN/
regards
Adrian Baddeley
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2005 Sep 16
1
setkeys and Sweave
Hi there:
Using
\setkeys{Gin}{width=1.0\textwidth}
\setkeys{Gin}{height=10cm}
\setkeys{Gin}{height=0.8\textwidth}
all seem to work under R-2.1.1 under sparc, solaris2.9, but
\setkeys{Gin}{scale=0.3}
\setkeys{Gin}{angle=90}
do not work. I have not been able to find relevant information, googling
on setkeys proved confusing, at best.
http://cnlart.web.cern.ch/cnlart/218/node85.html states:
2005 May 18
0
SV: Sweave and paths
Don't think it is possible. To overcome the problem I wrote a small R-program which replaced foo with foo\bar in the Sweave file. Clumpsy, sure, but...
Best
S??ren
________________________________
Fra: r-help-bounces at stat.math.ethz.ch p?? vegne af Bill Rising
Sendt: ti 17-05-2005 20:31
Til: rhelp
Emne: [R] Sweave and paths
Is there some way to encourage \SweaveInput{foo} to find foo
2002 Mar 07
5
mailing list archive
Dear R help users:
I have set up a r help mailing list archive based on mysql which support
full text search and auto-update.
Please visit http://www.baidao.net/r/maillist/index.cgi . I hope you could
provide me bug reports and suggestions.
I will add r_dev and r_announce mailing list as soon as possible.
Thanks in advance!
eLan
2005 Apr 07
4
sweave bwplot error
Hi
I use sweave and have a problem with the following figure, but not with
other figures:
tt <- data.frame(c("a", "b", "c"), c(1.2, 3, 4.5))
names(tt) <- c("x1", "x2")
bwplot(x2 ~x1, data = tt)
ok now in sweave:
\begin{figure}[H]
\begin{center}
<<echo=FALSE, fig=TRUE, height=5, width=10>>=
lset(col.whitebg())
bwplot(x2 ~x1,
2005 Jan 06
2
autoscaling plot font size in Sweave output possible?
Hi,
I was wondering if it's possible to have fonts in plots to be
autoscaled to the same font size used by LaTeX in a surrounding
Sweave document.
Here's a short example in which the fonts of the first plot are
barely readable:
--8<------------------------schnipp------------------------->8---
\documentclass{article}
\usepackage{graphicx}
\newcommand{\mytext}{Some normal sized
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:
2002 Oct 10
1
problem with Sweave on 1.6 on NT4
Hi,
I recently compiled 1.6 on NT4 but
I am having a problem with Sweave.
Using the inbuilt 'Sweave-test-1.Rnw' file as an example:
-------
> library(tools)
> testfile <- file.path(.path.package("tools"),
"Sweave", "Sweave-test-1.Rnw")
## create a LaTeX file
Sweave(testfile)
testfile <-
2012 Sep 20
2
Sweave - if \Sexpr{} than \SweaveInput{"my.Rnw"}
Depending on an R computation I would like to include an Sweave documents
in the main Sweave document.
How can I do it?
So I was thinking .... to use Latex features :
\newif\ifpaper
\ifpaper
\SweaveInput{"my1.Rnw"}
\else
\SweaveInput{"my2.Rnw"}
\fi
But how do I set paper to true or false given an \Sexpr ??
\papertrue % or
\paperfalse
Any ideas?
cheers
--
Witold
2011 Oct 29
1
Sweave absolute path versus relative path
Sorry, I should have really started a new thread with this because really it
is a new question only loosely related to the first Q.
Thanks for the assist.
As suggested I switched over to sweave. I have a lot of .tex tables that I
> have already created that I was previously inserting into my tex document
> (using \input). The journal I plan on submitting to eventually wants the
>
1999 Feb 25
1
HTML-documentaion on NT
Once you hae in stalled Guido's NT port of R it
is nice and easy to install the add-on packages too.
However, it would be nice to have links to the documentation
of the functions in all the packages from the "All Installed
Functions" html-page, and not have to go through each of
the packages.
Is there a utility somewhere to do this?
Bendix
\\\|///