search for: rdconv

Displaying 20 results from an estimated 172 matches for "rdconv".

2007 May 01
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9649)
On Mon, 30 Apr 2007 bill at insightful.com wrote: > On Tue, 10 Apr 2007 timh at insightful.com wrote: > > > I've created a .Rd file (below), then converted that to .sgml using > > R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml > > The output (shown below) is missing some of the sections: > > arguments > > seealso > > examples > > If instead I convert to .d (below), the same sections are missing, > > and the "note" section is included b...
2003 Jul 15
2
Undefined subroutine &R::Rdconv::fill (PR#3485)
...ory `/fs38/odc.arch.3/mtklingl/R/R-1.7.1/doc' make[1]: Entering directory `/fs38/odc.arch.3/mtklingl/R/R-1.7.1/src/library' building all R object docs (text, HTML, LaTeX, examples) make[2]: Entering directory `/fs38/odc.arch.3/mtklingl/R/R-1.7.1/src/library' Undefined subroutine &R::Rdconv::fill called at /fs38/odc.arch.3/mtklingl/R/R-1.7.1/share/perl/R/Rdconv.pm line 1955, <rdfile> chunk 381. The make continues inspite of the errors until this point: make[2]: Leaving directory `/tmp/R.INSTALL.11978/survival/src' ** R ** data ** inst ** help Undefined subroutine &R::R...
2006 Jul 01
1
Rdconv --type=Ssgm drops singleton keywords (PR#9051)
If an Rd file has only one keyword entry then the Splus sgm file made with Rdconv --type=SSgm has no keyword entries. To reproduce: Use prompt() to make a skeleton help file R> f<-function(x)log(1+x)-log1p(x) R> prompt(f) Created file named 'f.Rd'. Edit the file and move it to the appropriate directory. R> q() It has 2 \ke...
2001 Apr 03
0
Rdconv.pm
When I installed R 1.2.2 on a Sparc 20 running Solaris 2.5.1 and when I install a package, I get the messages: Bare word found where operator expected at /usr/local/lib/R/share/perl/R/Rdconv.pm line 1390, near "$txtout mywrap" (Missing operator before mywrap?) Bare word found where operator expected at /usr/local/lib/R/share/perl/R/Rdconv.pm line 1405, near "$txtout txt_header" (Missing operator before txt_header?) Bare word found where operator expected at /usr/l...
2005 Jul 11
2
ActiveState Perl, cygwin and R (was: cygwin tar?)
...lstoy.newcastle.edu.au/R/devel/04a/0583.html> about problems with Cygwin and Rtools. I had the same problems and kept just the newest cygwin1.dll and things seem OK now. However I currently hit the problem with Perl (I have ActiveState and Cygwin Perl installed). When I tried to work with 'Rdconv' in Cygwin I get the following: $ R CMD Rdconv --help Can't locate R/Rdconv.pm in @INC (@INC contains: c \Programs\R\rw2011beta\share\perl; /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/pe...
2002 Jan 09
3
Build R Packages (man)
...data sets. For example, if I type: library(myLib) data(foo) they work fine. And I can play with the data set foo. However then I type: ?foo it cannot find the documentation which I created and placed in the /man directory. Secondly, I tried to convert the Rd files into html using R CMD Rdconv, but I cannot quite follow the manual "R CMD Rdconv --help". I tried: R CMD Rdconv --output=html man > html and it returns: Unknown type: options are txt, html, latex, Sd, example I also tried several other ways but can't seem to get R CMD Rdconv to work. Thanks in advance fo...
2001 Sep 15
1
Solution to (well known) problem with Rdconv.pm on Sun Solaris (PR#1093)
...1.3.1 OS: Sun Solaris 8 Submission from: (NULL) (130.235.3.49) I have been trying to install [R] v1.3.1 locally on a Sun Solaris 8 machine and I ran into the (already known) perl problems that express theselves as: Bare word found where operator expected at /usr/matcent/hb/R/R-1.3.1/share/perl/R/Rdconv.pm line 1390, near "$txtout mywrap" (Missing operator before mywrap?) Bare word found where operator expected at /usr/matcent/hb/R/R-1.3.1/share/perl/R/Rdconv.pm line 1405, near "$txtout txt_header" (Missing operator before txt_header?) Bare word found where oper...
2007 Apr 30
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)
On Tue, 10 Apr 2007 timh at insightful.com wrote: > I've created a .Rd file (below), then converted that to .sgml using > R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml > The output (shown below) is missing some of the sections: > arguments > seealso > examples > If instead I convert to .d (below), the same sections are missing, > and the "note" section is included but without the necessary newli...
2007 Jul 26
2
Rd2dvi (PR#9812)
Is this a bug-- ------------------------------------------------------------------------------- <234>% R CMD Rd2dvi base.Rd Converting Rd files to LaTeX ... base.Rd Can't use an undefined value as filehandle reference at /opt/R-2.5.1/lib/R/share/perl/R/Rdconv.pm line 78. ENCS is Creating dvi output from LaTeX ... Saving output to 'base.dvi' ... cp: cannot access .Rd2dvi26632/Rd2.dvi Done xdvi-xaw.bin: Fatal error: base.dvi: No such file. <235>% ls base.Rd base.Rd <236>% uname -a SunOS strauss.udel.edu 5.9 Generic_112233-12 sun4u spa...
2003 Dec 09
3
latex problem with \preformatted (PR#5645)
...he LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.437 \end{document} [...] The solution is to simply add an '\n' at the appropriate place in Rdconv.pm: gsun492: R [61]> diff -u Rdconv.pm.orig Rdconv.pm --- Rdconv.pm.orig 2003-12-09 16:32:17.940846000 -0500 +++ Rdconv.pm 2003-12-09 16:32:32.440931000 -0500 @@ -2450,7 +2450,7 @@ my $code = $_[0]; $code = latex_code_trans ($code); - $code = "\\begin\{verbatim\}" . $co...
2001 Aug 20
1
Rdconv.pm errors while installing R
I have just compiled and installed R-patched on a Sparc 20 running Solaris 2.5.1. The compilation and installation went fine except for the message: Bare word found where operator expected at /usr/src/R/R-patched/share/perl/R/Rdconv.pm line 1491, near "$txtout txt_header" (Missing operator before txt_header?) I get similar messages for lines 1390, 1405, 1420, and 1448 in Rdconv.pm. I have Perl 5, but it's old (5.003) and maybe that's the problem. I get the same message when installing packages when their...
2009 Mar 05
1
Bug in Rdconv(.pm) (PR#13575)
...happens with all recent versions of R including R-devel from today: Consider a simple a.Rd file containing the lines ================== \name{a} \title{a} \value{\code{a} \code{\link[a]{a}} \pkg{a} \item{a}{a} } ================== with these lines, I get, e.g.: ================== R CMD Rdconv --type="txt" a.Rd a package:unknown R Documentation a Value: 'a' 'a' 'a' Can't find Unicode property definition "k" at d:/Rcompile/recent/R/share/perl/R/Rdconv.pm line 2173, <$rdfile> line 5. =========...
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 number of errors are in .Rd to .d (however, this conversion is not so important). -------------------------------------------------- .Rd to .sgml R CMD Rd...
2010 Jun 09
1
makign help files by hand
Can someone tell me how to make up (eg) a library's html help files by hand? I think I ought to be able to use RCMD Rdconv for this but (R-2.10.0, MS-win) when I type (in a dos session) "rdcmd rdconv --help" I get a message to the effect that a perl script rdconv can't be opened. Can I do this from within R itself? And if so, how (in particular, what is the target file to be converted)? Thanks! ---...
2003 Oct 29
0
Rdconv Rd->Ssgm doesn't convert aliases (PR#4838)
Hi, When using Rdconv to convert R documentation to S-PLUS SGML documentation, the \name{} is converted to <s-topic> but the \alias{}es are not. Below is a (crude) patch to fix this problem: Compare: (<)D:\Apps\R\R-1.8.0\share\perl\R\Rdconv.pm.orig (88302 bytes) with: (>)D:\Apps\R\R-1.8.0\share\perl\R\Rd...
2009 Oct 15
0
Can't locate R/Rdconv.pm in @INC
...g to library ‘/usr/local/lib/R/library’ * Installing *source* package ‘myPkg’ ... ** R ** inst ** preparing package for lazy loading Warning: 'Sys.putenv' is deprecated. Use 'Sys.setenv' instead. See help("Deprecated") ** help *** installing help indices Can't locate R/Rdconv.pm in @INC (@INC contains: /usr/local/lib/R/library/RSPerl/perl/i486-linux-gnu-thread-multi /usr/local/lib/R/library/RSPerl/perl /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /...
2009 Oct 20
0
Perl error - Can't locate R/Rdconv.pm in @INC
...g to library ?/usr/local/lib/R/library? * Installing *source* package ?myPkg? ... ** R ** inst ** preparing package for lazy loading Warning: 'Sys.putenv' is deprecated. Use 'Sys.setenv' instead. See help("Deprecated") ** help *** installing help indices Can't locate R/Rdconv.pm in @INC (@INC contains: /usr/local/lib/R/library/ RSPerl/perl/i486-linux-gnu-thread-multi /usr/local/lib/R/library/RSPerl/perl /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at...
2004 Jan 28
1
\link{\url{anything}} gives Rdconv trouble (PR#6496)
...8 Submission from: (NULL) (80.177.12.48) In .Rd files, we use \url{stuff} to refer to a URL on the web. Just as the documentation says. Perhaps this isn't a bug, then, but certainly it's a trap for the unwary. If the construction \link{url{something}} appears in a .Rd file, then Rdconv --type=html ... gets stuck and appears to grow and grow and grow... My version of Perl is 5.6.0. A warning in the documentation might be considered a fix for this, although it might reasonably be regarded as going too far in warning people against their own stupidity! Would it be better if it...
2011 Aug 04
1
Rdconv LaTeX files
Hi, I've written a package and converted my Rd files into LaTeX using Rdconv. When I copy and paste these files in to my Sweave document I get the?error message when compiling the Sweave file: ! Undefined control sequence. l.32 \inputencoding {utf8} I also get the error message for the "\HeaderA", "\keyword". Additionally I get an en...
2002 Mar 22
0
Rdconv -> HTML bug {was ... `las' on `par' help...} (PR#1257)
...the `par' help page: `las' is Achim> missing and instead a line from the description is Achim> used. Danke, Achim. Confirmed and still present in the current R-devel; and as you say, it's only in the HTML version. I'm quite sure it is only a bug in the underlying Rdconv perl script, probably a consequence of the nesting of \{..\} inside \describe{..}. The same things works e.g. in pretty.Rd. R CMD Rdconv --type=html par.Rd still gives html with that line missing (and replaced by a wrong one). Martin Maechler <maechler@stat.math.ethz.ch> http://stat.e...