Displaying 20 results from an estimated 900 matches similar to: "Sweave file generation"
2008 Nov 18
1
Sweave
Dear All,
I have both R 2.80 and Scientific Workplace 5.5 installed on my computer.
I copied the following commands from HTML help provided by R:
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
Sweave(testfile)
I then compile Sweave-test-1.tex file using Scientific Workplace 5.5. Apparently, Scienfic Workplace 5.5 does not recognize
2006 Mar 24
1
Sweaving in png
Hello list,
despite I already posted a mail on this topic on R help, I guess this place may be more appropriate.
I'll make it shorter this time. Sorry for posting twice.
I found that using pixmap pictures in a Sweave document was sometimes almost impossible, due to the huge size of the pdf pictures produced.
The first solution I found was to save pictures in png, when too heavy in pdf.
2020 Jul 08
1
Adding RtangleRuncode and RtangleFinish to exports of utils
Hi,
Could R-Core consider adding 'RtangleRuncode' and 'RtangleFinish' to the exports of utils. Their weave equivalent 'makeRweaveLatexCodeRunner' and ?'RweaveLatexFinish' are exported, as well as the other tangle utility functions 'RtangleSetup' and 'RtangleWritedoc'.
The rationale is not just symmetry. ;-)
I'm finishing a small package that
2011 Mar 23
3
Sweave: multiple graphic formats, e.g. win.metafile
Dear R devel,
being constrained to a windows environment at work and having colleagues being accustomed to the Microsoft Office Suite, I was looking for a way to have the RweaveLatex driver for Sweave automatically generating 'win.metafile's in addition to the pdf graphics.
Without this functionalilty, the generation of emf-graphics is quite laborious, I think:
<<>>=
plotit
2008 Sep 08
2
New bie Q
Hello All,
I have a doubt regarding the fault tolerance of the rsync tool.
What happens if the network goes down for some time and comes back after
few seconds?
Will rsync retry ? If yes, how many times/ how much time it will keep
retrying ?
How to ensure the completion of the rsync operation when there are network
break ups?
thanks for any help.
--
Regards,
Ravi.Thati
-------------- next
2009 Aug 22
1
improving ?RweaveLatex
Dear developers
Please read below.
On 6/25/09, Marc Schwartz <marc_schwartz at me.com> wrote:
> You can use the following *after* the \begin{document} directive:
> \setkeys{Gin}{width=0.8\textwidth}
>
> The above is the default. Reset it to what you would like.
>
> Note, as per that manual page, that the Sweave options 'height' and 'width'
> affect
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
2011 Apr 14
1
trouble with \SweaveOpts{grdevice=...}
Dear all
I've just tried the brand new 'grdevice' option in Sweave but couldn't
make it work. When I declare
\SweaveOpts{grdevice=pdf}
or
\SweaveOpts{grdevice=cairo_pdf}
trying to plot something simple
<<fig=T, echo=T>>=
plot(1:10,1:10,main='Some title')
@
would result in an Sweave error:
18:16:47.299: 1 : term verbatim
18:16:47.308: 2 : echo term verbatim
2010 Apr 08
1
texi2dvi runs but produces no output
I am working on a Windows XP machine with R 2.10.1 and a recent
installation of MiKTeX 2.8. I use LyX (www.lyx.org) to write documents
and have it set up to run Sweave, Stangle, and make the PDF through R
using a batch script and a MakeSweave.R file. This system worked just
fine until I ran some MiKTeX updates yesterday. This is a bit
embarrassing as I helped produce a "How-to" guide to
2008 Nov 29
3
including Sweave tangled code in '.Rnw' document
Hello List,
I have been using Sweave for my homework this last quarter and have been
very impressed at how much time and effort it saves me. I, however, have
run up against a problem which I have not been able to solve using any of
the Sweave/LaTeX tricks I know. I work through my homework one problem at a
time, typesetting equations and writing R code, etc. and occasionally use
2010 Dec 10
1
Sweave: Setting options with SweaveOpts{} when using driver=RweaveHTML
When using Sweave in connection with the driver RweaveLatex(), global options can be set with \SweaveOpts{}, e.g.
\SweaveOpts{keep.source=T}.
Does anybody know if it is possible to set global options in the same way when using Sweave with the driver RweaveHTML().
Regards
Søren
[[alternative HTML version deleted]]
2012 Jan 14
1
Converting .Rout file to pdf via Sweave automatically
The R documentation mentions to create a PDF or DVI file from an Rnw template, the Sweave command can be used used.
However, is there any way to go from a .Rout file straight to pdf with an Rnw template ?
What I'm trying to avoid is adding the Sweave markup to the .tex file manually.
What I think I'm missing is the exact arguments to the Sweave command.
I tried numerous forms of:
2020 Jun 26
1
"R CMD Sweave --driver=..." woes
In trying to change the driver used by Sweave on the command line using
R CMD Sweave --driver=foo
I consistently get the "directory 'foo' does not exist' error. (For any value of 'foo', even the default 'RweaveLatex'.)
Looking up the source code for function .Sweave that is called by 'R CMD Sweave', I notice that the argument 'driver', if
2003 Apr 22
2
Handling of upper/lowercase in package names (PR#2816)
Hi,
This is (presumably?) a bug in R 1.7.0 under Windows. I have not tested it
on other systems. Attachment of packages is case sensitive but not
library(), resulting in multiple loadings of the same package if the library
name is spelled differently. The following example loads the `tools'
package, once as `tools' and once as `Tools'. This behavior is the same with
all packages and
2003 Oct 02
2
Patches
As the freeze for Debian sarge slowly approaches I want to make sure
the Dovecot packages are in as good condition as possible. I see there
have been a number of patches since 0.99.10. I have added the following
patches:
* segfault when user home directory is empty
* Proper PAM service name
* Make suid work on 2.6 kernels
Any other patches thatI ought to add. Or better yet, will there be a
2010 Dec 14
1
embed Sweave driver in .Rnw file
Hello,
Sweave lets you use alternative drivers through the driver argument, and
several packages take advantage of that and define custom Sweave driver
for various purposes. Most of them are listed on the Reproducible
Research CTV:
(http://cran.r-project.org/web/views/ReproducibleResearch.html)
The next natural step is for package developpers to take advantage of
this in their vignettes. In
2008 Sep 29
1
rsync hangs after counting some file list
Hi All,
I have written script to download a directory from remote machine which
contains the always the updated data. I want to download that directory
onto my local machine periodically with --link-dest option to my old
download directory.
I have automated the script using " expect scripting"
Following script I have written:
$> cat ravi.ex
#!/usr/bin/expect --
set LDEST
2006 Jul 31
2
if function and apply
Runninn R.2.3.1 Windows XP
I have a dataset just imported from SPSS. It has any
number of 99's as missing data and it looks like the
next dataset will have custom missing codes. I have
abouat 120 variables and an N of 2000.
"I think" thatI would like to apply a function to the
data.frame (or to a matrix of the data if needed) to
recode all the 99's to NA. I thought that I
2011 Sep 22
4
How to turn a LaTeX Sweave file (Rnw) into .HTML/.odf/.docx? (under windows)
Hello dear R help members,
I have found several references on how to do this, my question is if anyone
is actually using them - and if there are some strong points on what to use,
and how well it is working out.
My goal is to be able to easily create docs from R, but to be able to share
it with other researchers (who do not use LaTeX) so they could easily
copy/paste the tables and edit them for
2015 May 14
1
Creating a vignette which depends on a non-distributable file
On 05/14/2015 04:33 PM, Henrik Bengtsson wrote:
> On May 14, 2015 15:04, "January Weiner" <january.weiner at gmail.com> wrote:
>>
>> Dear all,
>>
>> I am writing a vignette that requires a file which I am not allowed to
>> distribute, but which the user can easily download manually. Moreover, it
>> is not possible to download this file