search for: stylepath

Displaying 10 results from an estimated 10 matches for "stylepath".

Did you mean: statepath
2012 Aug 21
1
patchDVI: how to pass encoding of the .Rnw file?
...ou can't put that line in the secondary file. The solution is the same as when using Sweave: put a default encoding into the call to SweavePDF (or the similar functions). For example, my editor always executes this command when asked to process a .Rnw file: patchDVI::SweavePDF('%2', stylepath=FALSE, preview="f:/SumatraPDF/SumatraPDF \x25s", encoding="utf8") The %2 is a place holder for the filename to process. The preview argument invokes the PDF previewer that knows Synctex; the stylepath and encoding arguments are passed to Sweave. Because I chose enco...
2002 Oct 10
3
Sweave (PR#2142)
In the 'RWeaveLatexSetup' function in the 'tools' package in R 1.6.0 , the code below does not work (pdflatex can't find 'Sweave.sty'): if (stylepath) styfile <- file.path(R.home(), "share", "texmf", "Sweave") else styfile <- "Sweave" In R 1.5.1, that was: if(stylepath) styfile <- file.path(.path.package("tools"), "Sweave", &qu...
2004 Mar 30
2
Sweave and graphic output locations
...ng to have Sweave write files to a different directory via: testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "tools") ## create a LaTeX file Sweave( testfile, output = "C:/temp/Sweave-test-1.tex", stylepath = FALSE ) but it places the graphics files in the working directory. Does anyone have any ideas on getting all of the files in one place (automatically)? The include option says: include: logical (TRUE), indicating whether input statements for text output and includegraphics statements for...
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
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 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
2008 Oct 20
2
R 2.8.0 is released
...arning. o unserialize() no longer accepts character strings as input. o The C macro 'allocString' has been removed -- use 'mkChar' and variants. o Use of allocVector(CHARSXP ...) is deprecated and gives a warning. UTILITIES o The default for 'stylepath' in Sweave's (default) RweaveLatex driver is now FALSE rather than TRUE if SWEAVE_STYLEPATH_DEFAULT is unset : see ?RweaveLatex. To support this, tools::texi2dvi adds the R 'texmf' directory to the input search path. o R CMD Rd2dvi now previews...
2008 Oct 20
2
R 2.8.0 is released
...arning. o unserialize() no longer accepts character strings as input. o The C macro 'allocString' has been removed -- use 'mkChar' and variants. o Use of allocVector(CHARSXP ...) is deprecated and gives a warning. UTILITIES o The default for 'stylepath' in Sweave's (default) RweaveLatex driver is now FALSE rather than TRUE if SWEAVE_STYLEPATH_DEFAULT is unset : see ?RweaveLatex. To support this, tools::texi2dvi adds the R 'texmf' directory to the input search path. o R CMD Rd2dvi now previews...
2008 Apr 22
3
R 2.7.0 is released
...ld, that is used for the default encoding. o available.packages() (and hence install.packages() etc) now supports subdirectories in a repository, and tools::write_PACKAGES() can now produce PACKAGES files including subdirectories. o The default for 'stylepath' in Sweave's (default) RweaveLatex driver can be set by the environment variable SWEAVE_STYLEPATH_DEFAULT: see ?RweaveLatex. C-LEVEL FACILITIES o Both the Unix and Windows interfaces for embedding now make use of 'const char *' declarations where app...
2008 Apr 22
3
R 2.7.0 is released
...ld, that is used for the default encoding. o available.packages() (and hence install.packages() etc) now supports subdirectories in a repository, and tools::write_PACKAGES() can now produce PACKAGES files including subdirectories. o The default for 'stylepath' in Sweave's (default) RweaveLatex driver can be set by the environment variable SWEAVE_STYLEPATH_DEFAULT: see ?RweaveLatex. C-LEVEL FACILITIES o Both the Unix and Windows interfaces for embedding now make use of 'const char *' declarations where app...