similar to: patchDVI update: SyncTex support

Displaying 20 results from an estimated 200 matches similar to: "patchDVI update: SyncTex support"

2009 Jun 26
0
Modifying Sweave.sty to allow escapes with fancyvrb package in LaTeX
Dear Colleagues: In an attempt to have things like # See page \pageref{this} inside comments in R code chunks I have modified Sweave.sty as below. I have followed fancyvrb's manual with regard to the use of the commandchars argument. But when compiling with LaTeX (using attached test file) I get a LaTeX error (/usr/share/texmf-texlive/tex/latex/ae/t1aett.fd) ! Missing \endcsname
2012 Apr 04
3
Rgui maintains open file handles after Sweave error
Hello Folks, When I run the document below through sweave, rgui.exe/rsession.exe leaves a file handle open to the sweave-001.pdf graphic (as verified by process explorer). Pdflatex.exe then crashes (with a Permission Denied error) because the graphic file is locked. This only seems to happen when there is an error in the sweave document. When there are no errors, no file handles are left open.
2012 Aug 21
1
patchDVI: how to pass encoding of the .Rnw file?
On 12-08-19 3:47 PM, Marius Hofert wrote: > Dear Duncan, > > I recently asked a question concerning patchDVI on r-help, see > > ,---- > | https://stat.ethz.ch/pipermail/r-help/2012-August/321780.html > `---- > > Unfortunately, no one could help. I was wondering if you know a solution to the > above problem. Any hint is highly appreciated. Sorry, I'm writing this
2013 Mar 13
0
sync+Rnw+TeXShop, again
Hi All -- I'm not sure this is the natural place for this question, but this list is the place with the best Sweave-TeXShop-sync discussion so far. My problem is that sync+Sweave+TeXShop works sometimes and not others, and it's not consistent. The failure, in which sync from PDF opens the .tex file instead of the .Rnw file, always comes after a code chunk. If I start from a simple
2012 Aug 16
0
How to call patchDVI::SweavePDF on an .Rnw which is not the master file?
Dear expeRts, I have a master file master.tex containing the preamble and which inputs (via \input{chapter01}, \input{chapter02}, ...) chapters. The chapters are .Rnw files. My goal is to use patchDVI::SweavePDF to compile the chapters (say, chapter.Rnw) individually (each chapter starts with sourcing Sweave preliminary settings). The first problem is the following. If I execute (in the shell)
2011 Mar 26
1
Sweave and Textwrangler
Hi, I am trying to get TextWrangler to work with LaTeX and Sweave. Ideally I would call a script from TextWrangler that would run Sweave on a document, then LaTeX (using SyncTeX), and finally open the corresponding pdf in Skim. Of course I don't always need to run Sweave and would be looking for the option of LaTeX -> Open. I found this http://www.xs4all.nl/~msneep/latex/ but it
2013 Jan 09
3
Sweave, Texshop, and sync with included Rnw file
Hello everyone. I am in the process of writing a book in Latex with Texshop, on Mac. This book contains a lot of R code, hence the need to use Sweave. I was able to compile Rnw files, and to sync back and forth from the pdf to the source Rnw. My problem now is that the book is divided in Chapters, and every chapter is in its own Rnw file. I can compile them from the main one (book.Rnw) using the
2006 Aug 04
1
Questions about sweave...
Evening all: I'm taking a little time to experiment with R, Sweave, and Miktex/LaTex but I've run up against some problems and -well- I hope that there are some on the list who might have some suggestions. This will be kind of wordy as I will include the complete files involved as I'm just not sure what I'm looking for. Apologies at the outset. I created the source file
2004 Mar 28
2
Build problems on Windows with fpTeX and MiKTeX
Recently, I upgraded MiKTeX to the latest versions, and since then there are problems when I try to build R and/or R packages. I tried to build R 1.9.0 beta and R 1.8.1 patched I am running Windows XP Pro, SP 1 MikTeX version is This is e-TeX, Version 3.141592-2.1 (MiKTeX 2.4) (preloaded format=latex 2004.3.27) fpTeX version is This is e-TeXk, Version 3.141592-2.1 (Web2c 7.5.2) (format=latex
2016 May 13
1
LaTeX errors new with R 3.3.0
Hello: I could use help understanding an error reported by "R CMD build sos" that's new with R 3.3.0: Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : Running 'texi2dvi' on 'sos.tex' failed. LaTeX errors: ! Undefined control sequence. l.1 \Sconcordance {concordance:sos.tex:sos.Rnw:% The control sequence at
2004 Jan 29
2
Finding Sweave.sty and other problems
Hi, I've just tried to run example-3 from Friedrich Leish. I'm using R 1.8.1 and MiKTeX 2.2 on Windows XP. I go === > library(tools) > Sweave("example-3.Snw") Writing to file example-3.tex Processing code chunks ... 1 : term hide 2 : echo term verbatim 3 : term tex 4 : term verbatim eps pdf You can now run LaTeX on example-3.tex === The file example-3.tex
2010 Feb 11
1
Sweve/cacheSweave
Hi there I have a problem with using Sweave in combination with the option driver = cacheSweave. Whichever code I try to run - when it comes to converting the tex file into pdf it comes up with the same errors (\csname \endcsname errors). Does anybody have an idea what it going wrong? > Sweave("pgfSweave-example.Rnw",driver = cacheSweaveDriver) Writing to file
2015 Nov 05
2
PDFs and SVGs containing rasterGrobs don't display correctly in some other software
I've just been trying to post-process some R-created heatmaps using Inkscape, but I can't get them to display correctly in that software. To reproduce: library(grid) r <- as.raster(matrix(runif(25), 5, 5)) pdf("test.pdf") grid.newpage() grid.raster(r, interpolate = FALSE) dev.off() This figure should be a five by five block of grey squares. This is what I see in the R GUI
2016 Jun 18
5
Error in texi2dvi
Hello: Changes in R seem to have broken the sos vignette, and I don't know how to fix it. The build on R-forge, "https://r-forge.r-project.org/R/?group_id=235&log=build_src&pkg=sos&flavor=patched", ends as follows: Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : Running 'texi2dvi' on 'sos.tex' failed. LaTeX
2008 Nov 07
0
Sweave: How to load available colors from pkg 'color'
Hi: Is there a shorter way to color the abstract,sections subsections and page headings of a document. I am using the code below in my preamble to accomplish some of it: \ifx\pdfoutput\@undefined\usepackage[usenames,dvips]{color} \else\usepackage[usenames,dvipsnames]{color} % and fix pdf colour problems \IfFileExists{pdfcolmk.sty}{\usepackage{pdfcolmk}}{} \fi
2008 Nov 08
0
Sweave:How to load available colors from pkg 'color'--(Resolved)
Hello: I found a solution to my problem here, I just downloaded mystyle.sty to the same directory where my latex file resides. Then I included \usepackage{mystyle} in my preamble and that took care of coloring any section of the document. http://www.sci.usq.edu.au/staff/robertsa/LaTeX/ltxfloats.html Felipe Is there a shorter way to color the abstract,sections subsections and page headings of a
2016 Jun 18
0
Error in texi2dvi
On 17/06/2016 10:21 PM, Spencer Graves wrote: > Hello: > > > Changes in R seem to have broken the sos vignette, and I don't > know how to fix it. The build on R-forge, > "https://r-forge.r-project.org/R/?group_id=235&log=build_src&pkg=sos&flavor=patched", > ends as follows: > > > Error in texi2dvi(file = file, pdf = TRUE, clean =
2011 Jul 31
3
R 2.13.1 can't find package binaries on R-Forge
[Env: Win XP] I've just upgraded from R 2.12.2 to R 2.13.1. As part of my upgrade process, I typically install some in-development packages from R-Forge that are not on cran. But for the first time, it doesn't work. e.g., > install.packages("p3d", repos="http://R-Forge.R-project.org") trying URL
2009 Dec 17
2
Sweave Makefile issue
Dear R-specialists, I am trying to create a Makefile that will first convert all my .Rnw files into .tex files and then, that will run the LaTeX compiler to produce a pdf document. This issue has been discussed before. Hence, I've basically adapted a Makefile I found at http://n4.nabble.com/R-Sweave-R-and-complex-latex-projects-td810020.html#a810023 to make it compatible with a Windows
2012 Mar 25
2
avoiding for loops
I have data that looks like this: > df1 group id 1 red A 2 red B 3 red C 4 blue D 5 blue E 6 blue F I want a list of the groups containing vectors with the ids. I am avoiding subset(), as it is only recommended for interactive use. Here's what I have so far: df1 <- data.frame(group=c("red", "red", "red", "blue",