[Rd] several documentation problems (PR#675)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
02 Oct 2000 14:58:58 +0200

sws96srb@met.rdg.ac.uk writes:

> In all sorts of places - wherever Rdconvlib.pl is used I guess. I have perl
> 5.002, 
> gcc 2.95.2 Solaris 2.6, teTeX 0.4.

Your perl version seems to be a bit old. Although we formally only
require Perl 5, 5.002 may have gone untested. The problems definitely
look Perl related.

There seems to be two types of problem:

The first one is

 780              print $htmlout
 781                  ("</TABLE>\n", "<P>\n", text2html($text, 1), "</P>\n");
and the rest are like

1234                  print $txtout mywrap($indent1, $indent2, $text), "\n";
I the 1st case, we have nearly the same construction without the line
break in line 784, and that seems to work. You might try joining up
the lines.

In the other case, perhaps add parentheses around  mywrap..."\n"

Otherwise we'll need to bring in the real Perl experts. 

[Even if it would be easier for you to upgrade Perl, I think it would
be nice to get to the root of this problem.]

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
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