Displaying 20 results from an estimated 2000 matches similar to: "dynamic reports with sweave: error when compiling the tex-file"
2016 Apr 07
0
dynamic reports with sweave: error when compiling the tex-file
Definitely yes I just tried a one line latex document and it bombed with \begin{ document } but is fine with \begin{document} .
I think the spaces within the {} must all be removed. Latex does not like spaces
John Kane
Kingston ON Canada
> -----Original Message-----
> From: jdnewmil at dcn.davis.ca.us
> Sent: Thu, 07 Apr 2016 05:42:57 -0700
> To: paladini at trustindata.de, r-help
2013 Oct 14
1
Transform plot3d grafics in to executable files
Hello,
I did some nice grafics using plot 3d and scatter3d. Is there a,
hopefully not too complicated way, to transform these dynamic,
three-dimensional and interactive grafics in a kind of
executable file? I want to show and send them via e-mail to projekt
partners who don`t use GNU R and who are not used to do programming.
So the result should be quite comfortable to execute for them in
2023 Apr 09
1
simultaneous confidence intervals for multinomial proportions: sample size
Hello!
I want to calculate simultaneous confidence intervals for a nominal variable with three categories: "yes", "no", "partially" and I expect that far more than 5 samples fall into each category.
I have read that Glaz & Sison's method is only appropriate for variables with 7 or more categories. Therefore, the Goodman method seems like a good idea.
I have
2010 Dec 22
1
Error in generating sweave-tex -> pdf file
Hi,
I created a Sweave file (see below). when I want to convert tex
file generated from it into pdf, I get error message as follows:
> texi2dvi("test.tex", pdf=TRUE)
Error in texi2dvi("test.tex", pdf = TRUE) :
Running 'texi2dvi' on 'test.tex' failed.
LaTeX errors:
! Undefined control sequence.
l.8 \begin
{Schunk}
?
! Interruption.
!
2013 Oct 27
2
Heteroscedasticity and mgcv.
I have a two part question one about statistical theory and the other
about implementations in R. Thank you for all help in advance.
(1) Am I correct in understanding that Heteroscedasticity is a problem for
Generalized Additive Models as it is for standard linear models? I am
asking particularly about the GAMs as implemented in the mgcv package.
Based upon my online search it seems that some
2012 Oct 30
3
subtract a time period from a date
Hello everybody,
how can I reduce e.g. 30 days from a date?
When I do the following "2011-05-01 CEST" -"2011-04-01 CEST" I get:
"Time difference of 30 days"
an thats fine.
But when I try "2011-05-01 CEST" - 30 I get nonsense.
So how can I subtract some days, month or years from a date?
thanking you in anticipation
Claudia Paladini
2006 Mar 21
5
How to use: library lattice: barchart
Dear ladies and gentlemen!
In the help text for the xyplot (library(lattice), help(xyplot)) is an example
given how one can use barchart:
barchart(yield ~ variety | site, data = barley,
groups = year, layout = c(1,6),
ylab = "Barley Yield (bushels/acre)",
scales = list(x = list(abbreviate = TRUE,
minlength = 5)))
2012 Jul 23
2
date conversation
Hello,
when I convert a factor like this a=01.10.2009
into a date using b=strptime(a, format="%d. %m. %Y").
It works very well.
But when I try to convert c = 2009/10 into a date using
d=strptime(c, format="%Y/%m")
it doesnt work at all. I get d=NA.
What did I do wrong?
Thank you very much for your help!
best regards
Claudia
2004 Feb 24
7
<no subject>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hypatia.math.ethz.ch
X-Spam-Status: No, hits=3.5 required=5.0 tests=BAYES_44,RCVD_IN_BL_SPAMCOP_NET autolearn=no version=2.63
X-Spam-Level: ***
Dear ladies and gentlmen,
I want to import a directory with about 400 files (.dat) in R. I know how to
2008 Mar 24
2
Newbie help with Sweave
I think I've gotten my Emacs/Sweave/R system set up correctly, thanks to
Vincent and Jim, but I haven't been successful getting my first document
produced. I'm trying to use one of Friedrich Leisch's examples,
http://www.ci.tuwien.ac.at/~leisch/Sweave/example-1.Snw. I cut and
pasted the text into a document sweaveexample.Rnw in Emacs. It seemed to
be processed successfully with R:
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)
2008 Apr 09
3
help with model relationship for Product/Bill of Materials
I am struggling to find the best way to set up relationships to
achieve this so that it fits the rails idioms.
I have a table of products and I want to be able to create a bill of
materials for a product..
So a product can either be a single item, or a package consisting of
several other products.
I have created a table:
----
class BomItem < ActiveRecord::Base
belongs_to :product
2006 Feb 01
3
plot-function: How to change the font of the titles
Hello!
I want to create a plot with x- and y-labels writen in times or arial.
How can I change the font?
Thank you very much. Best regards
Claudia
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 Oct 13
2
Sweave output encoding in R-2.10.0beta on Windows (Rgui <-> Rterm)
Dear developers,
I have come across a (somewhat strange) change in the encoding of Sweave
output from R-2.9.2pat to R-2.10.0beta (apparently specific to Rgui) on
Windows installations. Of course, the NEWS file contains quite a few
changes concerning encoding, but I was not able to locate an entry which
explains the observed behaviour. I am not very familiar with
encodings/locales/codepages,
2010 Nov 11
4
Troubleshooting sweave
Hi All,
I've reproduced the example from Prof. Friedrich Leisch's webpage. When I
write sweave("Example-1.Snw") OR sweave("Example-1.Rnw"), (yes, I renamed
them). I get the following error:
Writing to file example-1.tex
Processing code chunks ...
1 : echo term verbatim
Error: chunk 1
Error in library(ctest) : there is no package called 'ctest'
Also while
2004 Nov 23
1
Batch
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Received-SPF: none (hypatia: domain of claudiapaladini at web.de does not designate permitted sender hosts)
X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on hypatia.math.ethz.ch
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0
2007 Nov 26
0
14 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_file_reference.c libswfdec/swfdec_load_object.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_system_security.c test/trace
libswfdec/swfdec_as_object.c | 64
libswfdec/swfdec_file_reference.c | 2
libswfdec/swfdec_load_object.c | 81
libswfdec/swfdec_sprite_movie_as.c | 19
libswfdec/swfdec_system_security.c | 1
test/trace/Makefile.am | 72
2006 Jan 10
2
(no subject)
Dear ladies and gentlemen!
When I use the plot funtion how can I change the size of the title for the x and
y axes (xlab, ylab)and the size of the axes label ?
Thank you very much.
With best regards
Claudia
2006 Feb 01
2
How to save R-grafics in eps format
Hello!
I used to save R-Grafics like this: postscript("file.ps").
Is there alsoa way to save them as eps?
Thank you very much
Claudia