similar to: Query: Sd2Rd and nroff macros in S docs

Displaying 20 results from an estimated 5000 matches similar to: "Query: Sd2Rd and nroff macros in S docs"

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
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
2007 Aug 05
1
Any "special interest" in R/pic interface?
Hi Folks, I'm wondering if there are people out there who would be interested in what would be involved in developing an interface between R graphics and the 'pic' language. Explanation; 'pic' has been part of the Unix 'troff' typesetting suite since very early days (1970s), and also of the GNU troff: 'groff'. Its function is to act as a preprocessor,
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}
2006 Jul 10
2
Source code for R graphics devices
Hi Folks, I'm trying to locate the source code for a (typical) R graphics device, in order to study how it's done. The underlying reason is that I'm thinking of trying to create a graphics device for 'pic' (the diagram drawing component of [g]troff). I thought the xfig device would be a good place to look, since the format of an xfig file is similar in nature (though very
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.
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
1997 Aug 04
0
R-alpha: sd2rd version 0.1-5
Oops, Just found a typo. Here's the updated version. -k *********************************************************************** #!/usr/bin/perl $VERSION = "0.1-5"; $\ = "\n"; $parenLevel = 0; $inVerbatim = 0; $inSeeAlso = 0; $doprint = 1; $needArg = 1; $needVal = 0; $output = ""; use Getopt::Long; GetOptions (("x")) || &usage(); while
1997 Jul 01
1
R-alpha: sd2rd v0.1-3
Thanks to Martin, there is another update of the S doc -> R doc script. It now correctly maps .SE into SECTION. -k *********************************************************************** #!/usr/bin/perl -w $VERSION = "0.1-3"; $\ = "\n"; $parenLevel = 0; $inVerbatim = 0; $inSeeAlso = 0; $doprint = 1; $needArg = 1; $needVal = 0; $output = ""; $opt_x = 0; use
1997 Jun 10
0
R-alpha: sd2rd 0.1-2
Another update of the S doc -> R doc conversion script is attached below. Relative to the previously released version, there are two changes. * Quoting of parentheses does not happen in verbatim-like sections * More importantly, the way words in the .SA (SEEALSO) section are treated is now controlled by an optional argument, `-x'. Without this option, only words enclosed in single
2007 Apr 06
1
dbinom and Catherine Loader
Hi Folks, There has been past correspondence regarding Catherine Loader's Bell Labs (oops, Lucent) paper "Fast and Accurate Computation of Binomial Probabilities" which gives the algorithm on which R's dbinom() is based. The original URL given in the R documentation "?dbinom" is: http://cm.bell-labs.com/cm/ms/departments/sia/catherine/dbinom but this link is
2003 Sep 10
1
problems with groff
Why would this be happening, and how can I fix this - the man subsystem hasn't been working because of this for a while. This is FreeBSD-4.9-Prerelease: # gdb man man GNU gdb 4.18 (FreeBSD) This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... /usr/share/tmac/man: No such file or directory. And when I go to run a manpage, I sometimes get this
2000 Jan 08
2
Man pages on HPUX (and others?)
HPUX doesn't seem to ship with a set of troff macros that can handle the OpenSSH manpages. Maybe other OSs have this problem? Rather than sodding about with the tmac/ directory, I think we should do one of two things: 1. Ship a set of preformatted manpages, and either auto-install them in $prefix/man/cat{1,1m} or just have instructions in INSTALL to do so 2. Recommend users install groff
1997 Jun 09
1
R-alpha: sd2rd v0.1-1
Attached is another update. New features/bugs: *) now also attempts to get non-quoted object names within SEEALSO sections to have a LANG(LINK(...)) around them *) parentheses are now ALWAYS quoted, to prevent the rdoc2... scripts from choking on unbalanced ones (e.g., "x in the range (0, 1]") *) blank lines are mapped into PARA so that e.g. reference sections come out better *)
1997 May 23
0
R-alpha: Re: S-help -- Ultimate doc.== source : $SPLUS/cmd/help.tr & help.nr
Kurt, if you really want to find out what things an S help file can contain, you must learn some nroff/troff [ maybe use 'groff', the GNU one ]. As always, ultimate documentation is == source. The definition of the S help is in the two files $SPLUS/cmd/help.[nt]r where nr ^= nroff, i.e. ASCII output tr ^= troff i.e. printed output (e.g via Postscript conversion) help.tr
1997 May 22
1
No subject
Does anyone have a description of the S help format? -k =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
2002 Feb 27
2
PATCH: nroff detection wrong, by default uses mantype=cat
Hi, Just tested the latest snapshot on RHL72 via building RPM's of it. Nroff detection was wrong, and if no --with-mantype was specified, the type would always revert to cat. This one-byter fixes it. -- Pekka Savola "Tell me of difficulties surmounted, Netcore Oy not those you stumble over and fall" Systems. Networks. Security. -- Robert
2012 Feb 07
2
Canonical package directory name for JAR files?
We have an R package which needs to include a JAR file. Is there a canonical directory for it?
2005 May 19
6
[LLVMdev] [Cygwin] groff build error
Here it is, a missing file "analyze.1" :- /usr/bin/groff -Tps -man /usr/build/llvm/docs/CommandGuide/analyze.1 > /usr/buil d/llvm/docs/CommandGuide/analyze.ps troff: fatal error: can't open `/usr/build/llvm/docs/CommandGuide/analyze.1': No such file or directory make[2]: *** [/usr/build/llvm/docs/CommandGuide/analyze.ps] Error 1 make[2]: Leaving directory
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 ************************************************************************ #!/usr/bin/perl -w $\ =