search for: ifcase

Displaying 6 results from an estimated 6 matches for "ifcase".

Did you mean: icase
2000 Jun 14
1
pdf documentation from a package and date format
Dear All, When generating pdf documentation for a package (using R CMD Rd2dvi --pdf), is there a way to get the date to use the typical international standard of day month year instead of the US one of month day, year? Thanks, Ramon -- Ramón Díaz-Uriarte Dept. Zoology and Statistics University of Wisconsin-Madison Madison, WI 53706-1381 email: rdiazuri at students.wisc.edu (NOTE: starting
2012 Apr 04
3
Rgui maintains open file handles after Sweave error
...nput}{Verbatim}{fontshape=sl} \DefineVerbatimEnvironment{Soutput}{Verbatim}{} \DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl} \newenvironment{Schunk}{}{} \newcommand{\Sconcordance}[1]{% \ifx\pdfoutput\undefined% \csname newcount\endcsname\pdfoutput\fi% \ifcase\pdfoutput\special{#1}% \else\immediate\pdfobj{#1}\fi}
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
2009 Jun 26
0
Modifying Sweave.sty to allow escapes with fancyvrb package in LaTeX
...{formatcom=\lstset{fancyvrb=true},commandchars=\\\{\}} \DefineVerbatimEnvironment{Soutput}{Verbatim}{} \DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl} \newenvironment{Schunk}{}{} \newcommand{\Sconcordance}[1]{% \ifx\pdfoutput\undefined% \csname newcount\endcsname\pdfoutput\fi% \ifcase\pdfoutput\special{#1}% \else\immediate\pdfobj{#1}\fi} -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University -------------- next part -------------- A non-text attachment was scrubbed... Name: test3.tex...
2008 Aug 05
0
patchDVI update: SyncTex support
...he concordance info into a .pdf needs a patch to Sweave, and to Sweave.sty: Sweave should wrap the concordance in \Sconcordance{}, instead of \special{}. Sweave.sty should have this macro added: \newcommand{\Sconcordance}[1]{% \ifx\pdfoutput\undefined% \csname newcount\endcsname\pdfoutput\fi% \ifcase\pdfoutput\special{#1}% \else\immediate\pdfobj{#1}\fi} Improvements to this macro would also be appreciated. Duncan Murdoch
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",