search for: sd2rd

Displaying 20 results from an estimated 52 matches for "sd2rd".

2006 Mar 06
0
Problems with R CMD Rdconv and R CMD Sd2Rd (PR#8661)
I'm using R 2.2.0 on Windows. Doing some conversions of help files. Internal comments indicate that the Sd2Rd conversion is "Converted by Sd2Rd version 1.21." I'm converting .d -> .Rd .sgml -> .Rd using Sd2Rd, then checking by using Rdconv to convert .Rd back to .d or .sgml. Here are errors in some of the conversions. The most significant errors are in .Rd to .sgml. The largest nu...
2004 Mar 17
1
R CMD Sd2Rd
Using R 1.8.1 on Solaris Developing an Splus and R package from the same files. Creating an alias for multiple functions to the same file in .sgml: <s-topics> <s-topic> my.function </s-topic> <s-topic> print.my.function </s-topic> </s-topics> using R CMD Sd2Rd would convert to: \name{my.function} \alias{my.function} \name{print.my.function} \alias{print.my.function} which is a syntax error. Rd format would understand it if the third line were not there. (R-exts 2.1.1) +--------------------------+ |Jason P. Sinnwell, M.S. | |Mayo Clinic, Rocheste...
2003 Jun 18
1
Query: Sd2Rd and nroff macros in S docs
Documentation for S3 functions is apparently written in troff markup with macro tags like .BG .FN .TL .DN .CS ... Inspection of S3 documentation source files gives a pretty clear idea of what these mean, semantically (and Sd2Rd is a perl script which converts this markup into the Rd format, providing further semantic information along the way). My query is: Can anyone point to troff macro definitions for these tags? (And, preferably, also to descriptions for their usage) With thanks, Ted. ----------------------------...
2005 Apr 14
0
Sd2Rd command (PR#7791)
Full_Name: Eric Lunde Version: 2.0.1 OS: Solaris 9 Submission from: (NULL) (129.176.151.21) Hi R Devel, I am assisting one of my fellow R users who is developing a package for both Splus and R. He has been using the Sd2Rd command to convert his sgml help files into Rd help files. We believe we have found a bug. We noticed that if an sgml help file has multiple <s-topic> tags, each of those tags gets translated into both a \name{} and an \alias{} tag in the Rd file. The desired functionality is a \name{} tag...
1997 Aug 04
0
R-alpha: sd2rd version 0.1-5
..., "REFERENCES("); } else { &section(0, "SECTION($word[1] @@"); } } if (/^\.sp/) { output("BLANK"); } if (/^\.TL/) { &section(0, "TITLE($fun @@"); } if (/^\.WR/) { &section(0, ""); print("COMMENT(Converted by sd2rd version $VERSION.)"); } if (/^\.AO/) { output("Arguments for function LANG($word[1]()) can also be"); output("supplied to this function."); } if (/^\.GE/) { output("This is a generic function."); output("Functions with names beginning in...
2001 Jun 06
1
Nroff -> .Rd -> R-ex; html
I am using R 1.2.3 on Linux Mandrake 7.2. I have a ton of S Nroff help files that end with source code typified by the following: Last S statement in an example, e.g. X <- y ..KW models ..KW regression ..WR When using R RMD Sd2Rd to create the .Rd file I get X <- y \keyword{models} \keyword{regression} } The } matches a { in \examples{ at the beginning of the example code (started in Nroff by .EX). When examples are extracted for R-ex the keywords are in the example code. Please advise on a workaround or patch to Sd2R...
1997 Jul 01
1
R-alpha: sd2rd v0.1-3
...0, "REFERENCES("); } else { &section(0, "SECTION($word[1]@@"); } } if (/^\.sp/) { output("BLANK"); } if (/^\.TL/) { &section(0, "TITLE($fun @@"); } if (/^\.WR/) { &section(0, ""); print("COMMENT(Converted by sd2rd version $VERSION.)"); } if (/^\.AO/) { output("Arguments for function LANG($word[1]()) can also be"); output("supplied to this function."); } if (/^\.GE/) { output("This is a generic function."); output("Functions with names beginning in...
1997 Jun 10
0
R-alpha: sd2rd 0.1-2
.../) { &section(0, "REFERENCES("); } else { &paragraph($word[1]); } } if (/^\.sp/) { output("BLANK"); } if (/^\.TL/) { &section(0, "TITLE($fun @@"); } if (/^\.WR/) { &section(0, ""); print("COMMENT(Converted by sd2rd version $VERSION.)"); } if (/^\.AO/) { output("Arguments for function LANG($word[1]()) can also be"); output("supplied to this function."); } if (/^\.GE/) { output("This is a generic function."); output("Functions with names beginning in...
1997 Jun 09
1
R-alpha: sd2rd v0.1-1
.../) { &section(0, "REFERENCES("); } else { &paragraph($word[1]); } } if (/^\.sp/) { output("BLANK"); } if (/^\.TL/) { &section(0, "TITLE($fun @@"); } if (/^\.WR/) { &section(0, ""); print("COMMENT(Converted by sd2rd version $VERSION.)"); } if (/^\.AO/) { output("Arguments for function LANG($word[1]()) can also be"); output("supplied to this function."); } if (/^\.GE/) { output("This is a generic function."); output("Functions with names beginning in...
2005 Jan 08
2
translate nroff .d or .sgml files to .rd files
Dear list, I have some help file for S-Plus 2000 in .d and .sgml format. Is there a way to translate these files to .Rd files to use in an R package? Thanks Fredrik Lundgren
2003 Dec 01
1
Rd Files?
Hi! Are there scripts or packages for generating Rd files out of "S3" code on cran? Has any one written such scripts (e.g. in Perl?) and are willing to share them? Thanks in advance. Eryk. Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics Ihnestrasse 73 14195 Berlin 'v' tel: 0049-30-84131285 / \ mail: wolski@molgen.mpg.de
1997 Jun 02
1
R-alpha: S doc -> R doc
Attached is the current version of my sd2rd perl script. It has passed tests by Martin, Fritz and myself, and seems to work reasonably well (it should get the arguments lists right, distinguish between VALUE and VALUES, and know about REFERENCES and SEEALSO). Any comments etc are most welcome. -k *****************************************...
2002 Feb 01
1
Rcmd Install gives Bad command or file name (PR#1296)
...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 Rprof SD2RD 16,834 01-23-02 4:43p Sd2Rd SHLIB 2,483 01-23-02 4:43p SHLIB 23 file(s) 1,822,201 bytes 2 dir(s) 350,396,416 bytes free C:\>set TMP=c:\windows\TEMP TEMP=C:\windows\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\COMMAND.COM LOG=NUL DS...
1999 Mar 15
0
R 68.3 on OSF V4.0 problems SOLVED
.../usr/local/lib/R chmod -R go=rX /usr/local/lib/R ln -s /usr/local/lib/R/man1/R.1 /usr/local/man/man1 ln -s /usr/local/lib/R/man1/Rdconv.1 /usr/local/man/man1 ln -s Rdconv.1 /usr/local/man/man1/Rd2txt.1 ln -s Rdconv.1 /usr/local/man/man1/Rdindex.1 ln -s Rdconv.1 /usr/local/man/man1/Sd2Rd.1 ln -s /usr/local/lib/R/bin/R /usr/local/bin ln -s /usr/local/lib/R/bin/Rd2txt /usr/local/bin ln -s /usr/local/lib/R/bin/Rdconv /usr/local/bin ln -s /usr/local/lib/R/bin/Rdindex /usr/local/bin ln -s /usr/local/lib/R/bin/Sd2Rd /usr/local/bin ' -.-.-.-.-.-.-.-.-.-.-...
2008 Jan 09
1
Rscript on OSX
...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 ? 16129 Nov 26 17:36 Sd2Rd -rwxrwxr-x ? 1 root ?admin ? ? 730 Nov 26 17:36 Stangle -rwxrwxr-x ? 1 root ?admin ? ? 726 Nov 26 17:36 Sweave -rwxrwxr-x ? 1 root ?admin ? 21715 Nov 26 17:36 build -rwxrwxr-x ? 1 root ?admin ? 78570 Nov 26 17:36 check -rwxrwxr-x ? 1 root ?admin ? ?6927 Nov 26 17:36 config drwxrwxr-x ? 4 root ?admi...
1999 Mar 12
1
R 68.3 on OSF V4.0 problems
.../usr/local/lib/R chmod -R go=rX /usr/local/lib/R ln -s /usr/local/lib/R/man1/R.1 /usr/local/man/man1 ln -s /usr/local/lib/R/man1/Rdconv.1 /usr/local/man/man1 ln -s Rdconv.1 /usr/local/man/man1/Rd2txt.1 ln -s Rdconv.1 /usr/local/man/man1/Rdindex.1 ln -s Rdconv.1 /usr/local/man/man1/Sd2Rd.1 ln -s /usr/local/lib/R/bin/R /usr/local/bin ln -s /usr/local/lib/R/bin/Rd2txt /usr/local/bin ln -s /usr/local/lib/R/bin/Rdconv /usr/local/bin ln -s /usr/local/lib/R/bin/Rdindex /usr/local/bin ln -s /usr/local/lib/R/bin/Sd2Rd /usr/local/bin ' -.-.-.-.-.-.-.-.-.-.-...
1998 May 04
0
Updated mass package on CRAN
...**** This is a first shot at porting the whole main section of V&R's MASS library to R --- and only for cool people with a brave heart :-) Porting was done using brute force and (almost) no checking, i.e., *) all .q files were renamed to .R *) all man pages converted automatically using Sd2Rd *) all *.dat files renamed to .tab For further changes see the ChangeLog. Especially the data might not work at all ... Anyway, I currently don't have time to do all the time consuming checking/rewrite of man pages/..., but wanted to provide others with a start. And some things are working...
1998 May 18
0
R make process
...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=FCr Statistik...
2005 Nov 09
0
R CMD Rdconv file.Rd --type=Ssgm \code{x} should use <code> (PR#8290)
I'm trying: R CMD Rdconv file.Rd --type=Ssgm If file.Rd contains \code{x} then this is currently translated as <s-expression>x</s-expression> I suggest instead translating to <code>x</code> (provided that R CMD Sd2Rd is changed to support the <code> tag; I just submitted that bug separately). Note that this is an enhancement, not a bug. This change would give functionally-equivalent but prettier sgml files. I'm using: Cygwin (uname gives: CYGWIN_NT-5.1) (installed 10 Oct 05) Perl 5.8.7 build 813 (...
2003 Aug 15
2
Does order() behave differently on different platforms?
Hello, I am running R 1.7.1 on two platforms and it seems to me that order() behaves differently on them. I noticed this when a test case passed in linux but failed on solaris. This is the behavior on the solaris platform: R.Version() $platform [1] "sparc-sun-solaris2.8" $arch [1] "sparc" $os [1] "solaris2.8" $system [1] "sparc, solaris2.8" $status