Displaying 20 results from an estimated 7000 matches similar to: "Creating vignette pdf on Windows"
2003 Sep 02
2
FW: Creating a Package with Windows XP.
> Hi there fellow R-Users,
>
> I am trying to use the "package.skeleton" to create my own package with
> R.1.7.1 on Windows XP Professional.
> I have followed the package.skeleton example and have downloaded the
> necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip.
>
> and perl5, available via
2003 Sep 02
0
: Creating a Package with Windows XP.
> Hi there fellow R-Users,
>
> I am trying to use the "package.skeleton" to create my own package with
> R.1.7.1 on Windows XP Professional.
> I have followed the package.skeleton example and have downloaded the
> necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip.
>
> and perl5, available via
2004 Sep 28
2
(no subject)
******************************
Could you perhaps describe exactly what "can't compile" means, please?
It's hard to know what you've tried without a little more information.
******************************
1). I type these command:
f <- function(x,y) x+y
g <- function(x,y) x-y
d <- data.frame(a=1,b=2)
e <- rnorm(1000)
2014 Nov 03
0
Pkg creation: Sweave: multiple files vignette: Error in R CMD check
Hello R-developers!
I am creating a package (using devtools and RStudio) and I would like to split
my vignette into multiple Rnw-files.
As an example I tried the code from:
https://support.rstudio.com/hc/en-us/articles/200486298
(--> Working with multiple Rnw files)
The Rnw-files work fine with "Complie pdf" in RStudio as well as with
Sweave("Master.Rnw").
But, if I try
2004 Nov 28
1
Version names
I have Windows XP build scripts that look for R in a variety
of folders and if multiple ones are found, takes the last
one. For example, I currently have the following
in \Program Files\R :
rw1060
rw1062
rw1071
rw1071beta
rw1081
rw1090
rw1090dev
rw1091
rw1091pat
rw2000
rw2001beta
Note that it currently correctly gets rw2001beta but if I
add rw2001 then it will not pick it up since
2015 Feb 27
2
static pdf vignette
Dear all,
In my package I have a computational expensive Rnw file which can't pass R CMD check. Therefore I set eval=FALSE in the Rnw file. But I would like to have the pdf vignette generated by the Rnw file with eval=TRUE. It seems to me a static pdf vignette is an option. Any suggestions on this?
Thanks,
Zhu Wang
**Connecticut Children's Confidentiality Notice**
This e-mail
2004 Jul 12
1
Creating a minimal package
> From: Gabor Grothendieck
>
[snip]
>
> The objective should be that creating a package is as easy as this:
>
> f <- function()1; g <- function()2; d <- 3; e <- 4:5
> package.skeleton(list=c("f","g","d","e"), name="AnExample")
> library(AnExample)
> f()
>
> which means that the package
2011 Apr 23
4
How to create vignette.pdf for R-2.13.0?
Dear all,
While R CMD check and R CMD INSTALL have always created the vignettes on
R-2.12.1 or any earlier versions of R, I am no longer able to build the
vignettes on R-2.13.0.
Instead R CMD check gives me the following output:
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... WARNING
Package vignette(s) without corresponding PDF:
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:
2011 Mar 30
1
R CMD build processes inst/doc/Makefile only if there are vignette files?
Hi,
in Section 'Writing package vignettes' of 'Writing R Extensions' it says:
"Whenever a Makefile is found, then R CMD build will try to run make
after the Sweave runs, so PDF manuals can be created from arbitrary
source formats (plain LaTeX files, ...). [...] Note that the make step
is executed even if there are no files in Sweave format, [...]".
In my package,
2011 Oct 20
0
StatET & Sweave cannot compile pdf files
I am new to R, Sweave, and LaTeX. I am running StatET with Eclipse 3.7
on a Windows
7 x64 OS. StatET also includes the Sweave add-on, which I use to try and
compile a PDF document.
I also installed MiKTeX 2.9, because, previously, R could not execute texi2dvi
(presumably, because there was no TeX runner). Basically, no .tex file could
be compiled into PDF file. After I installed MiKTeX, I was
2009 Jan 20
2
Sweave: conflict between setwd and \SweaveOpts{prefix.string=}
Hello
I think there is a conflict between setwd() and
\SweaveOpts{prefix.string=}. In the same document, those both command
get Sweave confuse the files and directories. See:
say my .Rnw document is in File1
If one inserts some setwd() for another file:
-setwd(File2)
then the command \SweaveOpts{prefix.string=graphics/Rplots} will search
the "graphics" folder in File2 because of
2011 Feb 25
0
R 2.12.2 is released
I've rolled up R-2.12.2.tar.gz a short while ago. This is an update release, which fixes a number of mostly minor issues, and one major issue in which complex arithmetic was being messed up on some compiler platform.
You can get it from
http://cran.r-project.org/src/base/R-2/R-2.12.2.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you.
Binaries for various platforms will
2011 Feb 25
0
R 2.12.2 is released
I've rolled up R-2.12.2.tar.gz a short while ago. This is an update release, which fixes a number of mostly minor issues, and one major issue in which complex arithmetic was being messed up on some compiler platform.
You can get it from
http://cran.r-project.org/src/base/R-2/R-2.12.2.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you.
Binaries for various platforms will
2012 Sep 10
1
problem building vignette
Hi,
I'm trying to get a package to pass through "R CMD check --as-cran" and
have run into a problem that gives me no idea where to look to fix it.
I'm running R version 15.1 on a Windows 7 64-bit machine, with the
current set of Rtools. An attempt to check the package dies at the
following step:
* checking running R code from vignettes ...
'SIBER.Rnw'
2012 Sep 14
1
Printing localized pdf file from Sweave snippets
Hello!
I am struggling for quite some time with proper printing of local
characters in pdf plot, via Sweave snippets in Rnw file.
When I am working directly within R, all is fine and I can get local
character properly, like:
pdf('figs/fig-relativeEntropy0.pdf', h=6, w=6, encoding='CP1250')
matplot(par[, c(3)], type='b', ylim=c(0,0.5), xaxt='n', pch=c(21),
2015 Mar 25
2
vignette checking woes
I'm having trouble with R CMD check of my quantreg package. All is well
until I get to:
checking running R code from vignettes ...
?rq.Rnw? ... failed
ERROR
Errors in running code in vignettes:
when running code in ?rq.Rnw?
when I see a snippet from the vignette code and then:
Loading required namespace: MatrixModels
When sourcing ?rq.R?:
Error: could not find function
2014 Mar 05
1
Sweave provides a misleading error when vignette engine not fully specified
Trying to Stangle / Sweave a file
$ cat vignette.Rnw
%\VignetteEngine{knitr}
\documentclass{article}
\begin{document}
\end{document}
results in a misleading error message:
~/tmp$ R CMD Stangle vignette.Rnw
Error: Vignette engine package not specified
Execution halted
when what is missing is the full specification knitr::knitr; 'vignette engine
package and function not specified' ?
2013 Aug 23
2
packages with Sweave and knitr vignettes?
Now that R 3.0.0+ supports non-Sweave vignettes, R-exts \S 1.4.2 seems
to imply that
it is possible to include both Sweave and knitr vignettes in a single
package.
I'm wondering
if anyone has tried this and/or if there are some hidden gotchas putting
this into practice,
and concerned about creating problems with CRAN checks if I try this.
Consider two vignettes:
pkg/vignettes/vign1.Rnw,
2013 Mar 13
1
Failed to locate 'weave' output file / vignette product does not have a known filename extension
Hello,
I'm seeing three different vignette-related errors with recent
versions of R-3.0.0 alpha.
First, with the package BitSeq
(http://bioconductor.org/packages/2.12/bioc/html/BitSeq.html), I get
the following when trying to build the package:
Error: processing vignette ?BitSeq.Rnw' failed with diagnostics:
Failed to locate the ?weave? output file (by engine ?utils::Sweave?)
for