search for: optionscmds

Displaying 3 results from an estimated 3 matches for "optionscmds".

2008 Dec 17
1
using dvi with latex object: directory not correctly set, maybe due to error in shQuote()
...: extra args ignored after 'cd' H:\PROJECTS\data warning: extra args ignored after 'yap' When I have a look at the function dvi.latex I find the following line which, I guess, is meant to set the new directory and to run latex. sys(paste("cd", shQuote(tempdir()), sc, optionsCmds("latex"), "-interaction=scrollmode", shQuote(tmp)), output = FALSE) Running just the piece shQuote(tempdir()) returns > shQuote(tempdir()) [1] "\"C:\\DOKUME~1\\ferimawi\\LOKALE~1\\Temp\\Rtmpr4CG3A\"" > tempdir() [1] "C:\\DOKUME~1\\ferimaw...
2010 Dec 07
1
latex() hangs R console
...i (1 page, 372 bytes). Transcript written on file311f289a.log. At this point, I have to press ESC after a few minutes to regain the console, and no .dvi (yap) window appears. If I go to the temp directory, C:/WINDOWS/TEMP/Rtmpz0QkT8/, the .dvi file is there and double-click launches yap. > optionsCmds("xdvi") [1] "yap" Reading the code of print.latex -> show.latex -> show.dvi, I tried executing system() directly, in the forms > system(paste("yap", "C:/WINDOWS/TEMP/Rtmpz0QkT8/file311f289a.dvi"), intern=TRUE) > system(paste("yap&quot...
2003 Nov 23
1
dvips function gives "Documents not found" error
I'm new to R, and using version 1.8.0 on Windows XP, under emacs/ess. I'm trying to test some simple output flow using functions in the Hmisc package and hit an error that may be a more general problem than just my specific situation. If I issue the command latex(describe(mtcars), file = ??) I get what looks like good TeX code output to the console. However, if I issue the command