Re: [R] Sweave vs. R CMD Rd2pdf --no-clean --force
On 04/07/2016 7:42 AM, Christian Hoffmann wrote: Hi, I have a *.Rnw which I can Sweave with no problem, but which cannot be processed by R CMD Rd2pdf --no-clean --force. That's not the command you're using. (It would give a "no inputs" error, not a vignette error. If you actually gave the name of a vignette on the command line, it would get very confused, because it's for processing *.Rd files, not *.Rnw files.) I'm guessing you're doing a "build" or "INSTALL". Th latter stops with creating vignettes ... ERROR Error: processing vignette 'cwhmisc.Rnw' failed with diagnostics: at cwhmisc.Rnw:31, could not find function "cformat" Execution halted Before dissecting my *.Rnw systematically , I wanted to ask, if R CMD Rd2pdf has changed since the last R version. I don't think that is relevant. sessionInfo() R version 3.2.1 (2015-06-18) That's not the latest version. Duncan Murdoch Platform: x86_64-apple-darwin10.8.0 (64-bit) Running under: OS X 10.7.5 (Lion) locale: [1] C attached base packages: [1] tools stats4splines parallel datasets [6] compiler graphics grDevices stats grid [11] utils methods base other attached packages: [1] survival_2.38-3spatial_7.3-11 .. Any ideas ? C. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Sweave vs. R CMD Rd2pdf --no-clean --force
Perhaps this is just my ignorance speaking, but it seems counterintuitive to me to try to process a *.Rnw file by means of Rd2pdf which would appear to be designed to process *.Rd files. I would have thought that "R CMD Sweave ..." would be the appropriate call. I find that R CMD Sweave --pdf .Rnw works for me. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 On 04/07/16 23:42, Christian Hoffmann wrote: Hi, I have a *.Rnw which I can Sweave with no problem, but which cannot be processed by R CMD Rd2pdf --no-clean --force. Th latter stops with creating vignettes ... ERROR Error: processing vignette 'cwhmisc.Rnw' failed with diagnostics: at cwhmisc.Rnw:31, could not find function "cformat" Execution halted Before dissecting my *.Rnw systematically , I wanted to ask, if R CMD Rd2pdf has changed since the last R version. sessionInfo() R version 3.2.1 (2015-06-18) Platform: x86_64-apple-darwin10.8.0 (64-bit) Running under: OS X 10.7.5 (Lion) locale: [1] C attached base packages: [1] tools stats4splines parallel datasets [6] compiler graphics grDevices stats grid [11] utils methods base other attached packages: [1] survival_2.38-3spatial_7.3-11 .. Any ideas ? C. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Sweave vs. R CMD Rd2pdf --no-clean --force
Hi, I have a *.Rnw which I can Sweave with no problem, but which cannot be processed by R CMD Rd2pdf --no-clean --force. Th latter stops with creating vignettes ... ERROR Error: processing vignette 'cwhmisc.Rnw' failed with diagnostics: at cwhmisc.Rnw:31, could not find function "cformat" Execution halted Before dissecting my *.Rnw systematically , I wanted to ask, if R CMD Rd2pdf has changed since the last R version. sessionInfo() R version 3.2.1 (2015-06-18) Platform: x86_64-apple-darwin10.8.0 (64-bit) Running under: OS X 10.7.5 (Lion) locale: [1] C attached base packages: [1] tools stats4splines parallel datasets [6] compiler graphics grDevices stats grid [11] utils methods base other attached packages: [1] survival_2.38-3spatial_7.3-11 .. Any ideas ? C. -- Christian W. Hoffmann CH - 8915 Hausen am Albis, Schweiz Rigiblickstrasse 15 b, Tel.+41-44-7640853 mailto: christ...@echoffmann.ch home: www.echoffmann.ch __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.