Displaying 20 results from an estimated 3000 matches similar to: "Sweave: controlling pointsize (pdf)"
2009 Apr 16
2
there are fontencoding problem in Sweave
I want write article by russian language using Sweave. For cyrillic text
LaTeX use T2A encoding
\usepackage[T2A]{fontenc}
But in Sweave.sty we find:
\RequirePackage[T1]{fontenc}
It is source of critical problem.
For example Rnw file
$ cat estimation.Rnw
\documentclass[A4paper]{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian,english]{babel}
2009 Sep 03
1
Sweavelistingutil: Encoding problems
Hello,
I am not sure whether this is a bug or lack of R experience.
However, I am using your Sweavelistingutil package, which is very
nice. Obviously I use it to create LaTeX files. These are encoded in
utf8.
However, when I use the Sweavelistingutil is uses some funky
character for "`" and "'" that is not recognized.
Here is an example from my tex-file:
,----
|
2005 Oct 31
2
Sweave (R?) font encoding problems
Dear R list,
I'm having some problems with font encodings when using R+Sweave+Latex in my
native language: Portuguese.
My environment:
Kubuntu 5.10 Linux
$> uname -a
Linux nassa 2.6.12-9-686 #1 Mon Oct 10 13:25:32 BST 2005 i686 GNU/Linux
R> R.version
_
platform i486-pc-linux-gnu
arch i486
os linux-gnu
system i486, linux-gnu
2009 Apr 16
0
there are fontencoding problem in Sweave
On 4/16/2009 10:29 AM, ?????? n/a wrote:
> I want write article by russian language using Sweave. For cyrillic text
> LaTeX use T2A encoding
>
> \usepackage[T2A]{fontenc}
>
> But in Sweave.sty we find:
>
> \RequirePackage[T1]{fontenc}
>
> It is source of critical problem.
>
> For example Rnw file
>
> $ cat estimation.Rnw
>
>
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
2008 Oct 31
1
Problems with Sweave and pdf.options(encoding="ISOLatin7") (PR#13234)
Hi,
Sweave for some reason does not respect encoding setting in pdf.options.
Everything is OK with ps.options. Thus when using non-default encoding
for graphs, resulting graphics eps file is correct, but pdf file is
not. Workaround is very simple, just use latex->dvips->ps2pdf chain to
get the intended pdf document. I tried to find the explanation for this,
but I did not find anything. If
2010 Dec 23
1
Running sweave automatically using cygwin
Hi all,
Hope someone could help me.
I am trying to run automatically the conversion of an Rwn file to a tex
file.
I am using windows 7, and cygwin.
I tried to run automatically the Sweave.sh script, in its the most
recent version available at R webpage:
http://cran.r-project.org/contrib/extra/scripts/Sweave.sh
Unfortunately, I got this error message:
===========================
Raquel at
2011 Apr 09
1
Trouble with Sweave and Beamer
Dear All,
I am running Debian testing on my box and I installed latex and R from
the standard repositories.
I am trying my hands at sweave, but somehow I am experiencing problems
(I am trying to use beamer and Sweave). Please see the snippet at the
end of the email and saved as report.Rnw.
When I run the command
$ R CMD Sweave report.Rnw
Writing to file report.tex
Processing code chunks ...
2008 Jun 17
3
Sweave: problem with usepackage{C:/PROGRA~1/R/R-27~1.0/share/texmf/Sweave}
R users,
I'm at a loss with a problem considering running .tex files produced
by Sweave. When I run (R 2.7.0):
---------------------------------------------------
#Taken from ?Sweave
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
## enforce par(ask=FALSE)
options(device.ask.default=FALSE)
## create a LaTeX file
Sweave(testfile)
2010 Jun 29
1
Sweave, xtable plus/minus sign
Dear R-users,
please consider the following minimal example:
\documentclass[a4paper,titlepage,onecolumn,12pt]{article}
\usepackage[italian]{babel}
\usepackage{amssymb}
\usepackage[utf8x]{inputenc}
\usepackage[pdftex]{graphicx}
\begin{document}
<<label=test, echo=FALSE, results=tex>>=
df.data1 <-
cbind.data.frame(A = rnorm(18),
B =factor(rep(LETTERS[1:6],
2009 Jan 28
0
Sweave problem with greek text
Dear Sweave and R aficionados,
I am using R and Latex for many years, writing texts in greek. I tried
to combine them with Sweave, but without any success.
Could you provide me with any help?
Usually my LaTeX files are like this iso-8859-7 encoded .tex file:
http://costis.name/0various/lists/R/sweave/successful.greek.tex ,
which happily produces
2010 Aug 19
1
texi2dvi: option "clean" also deletes the generated pdf file
Dear expeRts,
below are two examples of using texi2dvi. The problem becomes clear from the
second example: on cleaning, texi2dvi also deletes the generated .pdf file.
Is there a solution?
Cheers,
Marius
## Example 1: texi2dvi cleans fine, without deleting the generated .pdf
require(tools)
sink(file="myLaTeXFile1.tex")
cat("\\documentclass{article}\n")
2012 Aug 08
2
sweave problem with special danish characters
Dear all,
I use Sweave to create my reports. my pdf output contains only NA's whenever my text contains special Danish characters like ø, ø and å. I have upgraded R from 2.13 to 2.15 and the scripts worked fine under R 2.13.
Sweave("Test.Rnw", encoding = "utf8")
texi2dvi("Test.tex", pdf = TRUE)
%"Test.Rnw"
\documentclass{article}
\usepackage
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:
2009 Aug 28
1
Plotmath, sweave and lattice graphics interaction problem
Dear List,
I have hit this problem with using a plotmath expression in an axis
label on a lattice plot I'm including in a Sweave document. The actual
document is far too long and boring (unless you are interested in the
hydrochemistry of upland lakes) to include here, but the following
minimal example reproduces the problem; basically, the PDF produced by
Sweave has missing characters in the
2012 Nov 01
1
How to nicely display R code with the LaTeX package 'listings'?
Dear expeRts,
What's a 'good' (nice-looking, easy-to-read) setup for the LaTeX package
'listings' to display R code?
The two versions below are partly inspired by the settings of the package
SweaveListingUtils and
http://r.789695.n4.nabble.com/R-How-to-format-R-code-in-LaTex-documents-td816055.html
Any suggestions, comments, or improvements are welcome.
Cheers,
Marius
###
2005 Jun 16
1
Sweave and sideways
Hi there,
I'm rying to 'turn' an Schunk in an .Rnw file(Xemacs-21.4.13, ESS-5.2.8,
R-2.1, miktex-2.4.1705).
Has anyone got the isorot package to work with Sweave?
JC
example test.Rnw:
\documentclass[a4paper]{article}
\usepackage{Sweave}
\usepackage{isorot}
\rotdriver{dvips}
\clockwise
\title{Sweave Example 1}
\author{apologies to Friedrich Leisch }
\begin{document}
\maketitle
2010 May 28
1
Does Sweave run in the global environment ?
Hello
It seems that sweave always runs in the global environment. I want to
run sweave from within a function, and pass a variable into sweave,
however when I do this, sweave doesn't see the variable.
Here's my example test_sweave.Rnw file
|%
\documentclass[a4paper]{article}
\usepackage[OT1]{fontenc}
\usepackage{Sweave}
\begin{document}
\title{Test Sweave Document}
\author{Paul
2012 Apr 12
1
Encoding of Sweave file error message
Hi
I ran the following sweave file in R2.14.1 and upgraded to R2.15
yesterday with the same setup
I got the following error message when I rand the following Sweave file
> setwd("D:/Cic/Sweave/Parasite/Comb/12")
> Sweave("D:/Cic/Sweave/Parasite/Comb/12/ParasiteComb12.Rnw")
Error: c("'ParasiteComb12DS.Rnw'", "'ParasiteComb12.Rnw'")
2018 May 29
2
CentOS 7 issues with pdf manual / tex conversion
On a CentOS 7 machine, I am at a loss with respect to an inability to run a
full R CMD check as anything involving tex files ends in tears.
We followed the README at CRAN and installed a large number of tex-live
packages on this machine. But when a manual is created, we end up with what
follows below. Here, I chopped some of the error messages, the key seems to
be 'Insufficient extension