search for: rd2txt

Displaying 20 results from an estimated 59 matches for "rd2txt".

Did you mean: dmtxt
2019 Oct 08
0
\Sexpr{} within \examples{}
Hi all, I am trying to use \Sexpr{} within \examples{} in the manual, and it all works fine, except that I get an error and then a NOTE from R CMD check when it checks for long lines in the manual. The long line check calls `Rd2txt` with fragment = TRUE, because it only checks the \usage{} and \examples{} sections, but fragment = TRUE does not evaluate \Sexpr{}, and then an unevaluated \Sexpr{} is not allowed in \examples{}. (Well, sometimes, see below.) Apart from the check NOTE, I would think it could be better to evaluate...
2000 Mar 21
3
Use of Rd2txt on .Rd files from rw-1.0.0 (PR#498)
>From e980153 Tue Mar 21 18:50:55 2000 To: bates@stat.wisc.edu Subject: Use of Rd2txt on .Rd files from rw-1.0.0 Files generated using prompt.data.frame() under rw-1.0.0 get scrambled (mildly) when I process them under Rd2txt on Solaris, (using R-devel 1.1.0). Files generated under R-devel 1.1 on Solaris are processed ok. The .Rd files from the two sources look identical. The prob...
1999 Mar 15
0
R 68.3 on OSF V4.0 problems SOLVED
...dopt this scheme?)' : 'Install man pages in RHOME, with symlinks from /usr/local/man/man1' perl -i.bak -pe 's/mandir/rhome/ unless m/cd/; s/^\t.(.cd ..mandir)/\t-$1/; print "\t for f in R.1 Rdconv.1; do rm -f \$\$f; \$(LN_S) \$(rhome)/man1/\$\$f \$\$f; done; \\\n" if m/in Rd2txt/' doc/Makefile : : 'Install with symlinks from /usr/local/bin' perl -i.bak -pe 's:^.*cat .* ..bindir./R$:\techo Not doing /usr/local/bin/R yet:; s: ..bindir./R : : if m/chmod/; s/^.*(for f in )(Rd2txt )/\t-$1R $2/; s:^(.*)..INSTALL. (.*) (..bindir.):$1\$(LN_S) \$(rhome)/$2 $3:;'...
2009 Dec 17
5
?setGeneric garbled (PR#14153)
Full_Name: Ross Boylan Version: 2.10.0 OS: Windows XP Submission from: (NULL) (198.144.201.14) Some of the help for setGeneric seems to have been garbled. In the section "Basic Use", 5th paragraph (where the example counts as a single line 3rd paragraph) it says <quote> Note that calling 'setGeneric()' in this form is not strictly necessary before calling
2005 Jul 24
4
problem building R packages in windows xp
...ersion (fpTeX), since when I go to the recommended webpage, it is said that fpTeX has been discontinued. I have MikTeX in my computer, and I have followed the recommendations in http://www.murdoch-sutherland.com/Rtools/miktex.html. I have followed the so called Workaround 4. After running R CMD Rd2txt and R CMD Rdconv without problems, I have a problem when I run R CMD build <package>. It is always in the .chm file: >>> Building/Updating help pages for package 'test' Formats: text html latex example chm riChisq text html latex example chm hh...
1999 Mar 12
1
R 68.3 on OSF V4.0 problems
...' src/scripts/R.sh : 'Install man pages in RHOME, with symlinks from /usr/local/man/man1' perl -i.bak -pe 's/mandir/rhome/ unless m/cd/; s/^\t.(.cd ..mandir)/\t-$1/; print "\t for f in R.1 Rdconv.1; do rm -f \$\$f; \$(LN_S) \$(rhome)/man1/\$\$f \$\$f; done; \\\n" if m/in Rd2txt/' doc/Makefile : 'Install with symlinks from /usr/local/bin' perl -i.bak -pe 's:^.*cat .* ..bindir./R$:\techo Not doing /usr/local/bin/R yet:; s: ..bindir./R : : if m/chmod/; s/^.*(for f in )(Rd2txt )/\t-$1R $2/; s:^(.*)..INSTALL. (.*) (..bindir.):$1\$(LN_S) \$(rhome)/$2 $3:;'...
2003 Feb 09
2
install error
...ership of `../../bin/Rcmd': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/Rdiff': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/Rd2dvi': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/Rd2txt': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/config': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/pager': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/texi2dvi': Operation...
2023 Nov 17
1
Regenerate news feeds?
The news feeds (e.g. https://developer.r-project.org/blosxom.cgi/R-devel/NEWS) have some stray "\abbr" floating around. Do they need generating with a more recent version of R-devel? I've run tools::Rd2txt on https://svn.r-project.org/R/trunk/doc/NEWS.Rd and r85550 does seem to remove these abberations (compared to the same function calling on an unpatched 4.3.2 where they remain). Tim
2015 Oct 29
2
R CMD BATCH vs R CMD batch
...;> | LINK Front-end for creating executable programs >> | Rprof Post-process R profiling files >> | Rdconv Convert Rd format to various other formats >> | Rd2pdf Convert Rd format to PDF >> | Rd2txt Convert Rd format to pretty text >> | Stangle Extract S/R code from Sweave documentation >> | Sweave Process Sweave documentation >> | Rdiff Diff R output ignoring headers etc >> | config Obtain...
2006 May 25
1
Building Libraries
...ave read extensively the PDF document on Writing R Extensions and the 'Making R Packages Under Windows' tutorial by P. Rossi. All functions are given in R code (no C/C++/Fortran) with two very simple demonstration datasets. My manual pages all seem to work, rendering properly with: R CMD Rd2txt myfun.Rd and R CMD Rdconv -t=html -o=myfun.html myfun.Rd However, when I call the check command (on a unix machine), I get the following: ~/RWork > R CMD check aspace * checking for working latex ...sh: latex: not found NO * using log directory '/students/remmelt/RWork/aspace.Rcheck'...
2002 Feb 01
1
Rcmd Install gives Bad command or file name (PR#1296)
...10,458 01-23-02 4:43p build CHECK 32,895 01-23-02 4:43p check INSTALL 7,040 01-23-02 4:43p INSTALL MASSAG~1 4,045 01-23-02 4:43p massage-Examples RCMD EXE 8,704 01-23-02 4:43p Rcmd.exe RD2DVI SH 8,862 01-23-02 4:43p Rd2dvi.sh RD2TXT 1,012 01-23-02 4:43p Rd2txt RDCONV 3,454 01-23-02 4:43p Rdconv RDIFF SH 811 01-23-02 4:43p Rdiff.sh RDINDEX 4,141 01-23-02 4:43p Rdindex REMOVE 2,352 01-23-02 4:43p REMOVE RPROF 3,085 01-23-02 4:43p Rpro...
2015 Oct 29
2
R CMD BATCH vs R CMD batch
...ges | REMOVE Remove add-on packages | build Build add-on packages | check Check add-on packages | LINK Front-end for creating executable programs | Rprof Post-process R profiling files | Rdconv Convert Rd format to various other formats | Rd2pdf Convert Rd format to PDF | Rd2txt Convert Rd format to pretty text | Stangle Extract S/R code from Sweave documentation | Sweave Process Sweave documentation | Rdiff Diff R output ignoring headers etc | config Obtain configuration information about R | javareconf Update the Java configuration variables | rtags...
2010 Jun 09
2
Question on trying to build R 2.11.1 on Tru64(aka OSF1)
..."${R_HOME}/etc${R_ARCH}/Renviron" export `sed 's/^ *#.*//; s/^\(.*\)=.*/\1/' "${R_HOME}/etc${R_ARCH}/Renviron"` extra= case "${1}" in perl) cmd="${PERL}" ;; awk) cmd="${AWK}" ;; ## this was a separate command prior to 2.10.0 Rd2txt) cmd="${R_HOME}/bin/Rdconv" extra="-t txt" ;; Rd2pdf) cmd="${R_HOME}/bin/Rd2dvi" extra="--pdf" ;; *) if test -x "${R_HOME}/bin/${1}"; then cmd="${R_HOME}/bin/${1}" else cmd="${1}"...
2023 Feb 05
1
R2HTML doesn't split paragraphs originating from \Sexpr[results=rd]
Hello, Here's an example that renders correctly using Rd2txt / Rd2latex / R CMD Rd2pdf, but has problems under Rd2HTML: \name{foo} \title{foo} \section{foo}{ This should be on a separate paragraph This should be on a separate paragraph This should be on a separate paragraph \Sexpr[stage=render,results=rd]{ paste( rep('Sexpr: This sh...
2008 Jan 09
1
Rscript on OSX
...?admin ? ?7210 Nov 26 17:37 R.orig -rw-rw-r-- ? 1 root ?admin ? ? 655 Nov 26 17:37 R.rej -rwxrwxr-x ? 1 root ?admin ? ?2244 Nov 26 17:36 REMOVE -rwxrwxr-x ? 1 root ?admin ? ? 928 Nov 26 17:36 Rcmd -rwxrwxr-x ? 1 root ?admin ? ?9523 Nov 26 17:36 Rd2dvi -rwxrwxr-x ? 1 root ?admin ? ? 842 Nov 26 17:36 Rd2txt -rwxrwxr-x ? 1 root ?admin ? ?3237 Nov 26 17:36 Rdconv -rwxrwxr-x ? 1 root ?admin ? ?1320 Nov 26 17:36 Rdiff -rwxrwxr-x ? 1 root ?admin ? ?2854 Nov 26 17:36 Rprof -rwxrwxr-x ? 1 root ?admin ? 18084 Nov 26 17:36 Rscript -rwxrwxr-x ? 1 root ?admin ? ?4656 Nov 26 17:36 SHLIB -rwxrwxr-x ? 1 root ?admin...
2010 May 31
1
R 2.11.1 is released
...for packages using LazyData. (PR#14273) o textConnection() did an unnecessary translation on strings in a foreign encoding (e.g. UTF-8 strings on Windows) and so was slower than it could have been on very long input strings. (PR#14286) o tools::Rd2txt() did not render poorly written Rd files consistently with other renderers. o na.action() did not extract the 'na.action' component as duplicated, causing segfaults in split(). o cut(d, breaks = <n>) now also works for "Date" or "POSIXt&qu...
2010 May 31
1
R 2.11.1 is released
...for packages using LazyData. (PR#14273) o textConnection() did an unnecessary translation on strings in a foreign encoding (e.g. UTF-8 strings on Windows) and so was slower than it could have been on very long input strings. (PR#14286) o tools::Rd2txt() did not render poorly written Rd files consistently with other renderers. o na.action() did not extract the 'na.action' component as duplicated, causing segfaults in split(). o cut(d, breaks = <n>) now also works for "Date" or "POSIXt&qu...
2015 Oct 29
0
R CMD BATCH vs R CMD batch
...open source.... (and shell scripts are considered self-documenting by some) On Unix-alikes, R is a shell script which, if called with 1st argument CMD, calls ${R_HOME}/bin/Rcmd, which is another shell script that ends with case "${1}" in ## this was a separate command prior to 2.10.0 Rd2txt) cmd="${R_HOME}/bin/Rdconv" extra="-t txt" ;; ## removed in 2.15.0 Rd2dvi) echo "R CMD Rd2dvi is defunct: use Rd2pdf instead" exit 1 ;; *) if test -x "${R_HOME}/bin/${1}"; then cmd="${R_HOME}/bin/${1}" else...
2010 Nov 25
3
Go (back) from Rd to roxygen
Hi all, Since roxygen is a great help to document R packages, I am wondering if there exists an approach to go back from the raw Rd files to roxygen-documentation? E.g. turn "\author{Somebody}" into "@author Somebody". This sounds ridiculous, but I believe it helps in the long term for me to maintain R packages. Thanks! Regards, Yihui -- Yihui Xie <xieyihui at
1998 May 18
0
R make process
...n directory hierarchy should be /usr/local on most systems, but this may vary. The installation prefix can be set using ./configure --prefix=3D... and you can see the install dir in the status notes of configure. R is installed into: $prefix/lib/R RHOME $prefix/man/man1 R.1 $prefix/bin R Rd2txt Rdconv Rdindex Sd2Rd Please let me know if there are any troubles on your system, currently it is tested on Debian Linux only. Best, Fritz --=20 ------------------------------------------------------------------- Friedrich Leisch =20 Institut f...