Skip to content

several documentation problems (PR#675)

2 messages · sws96srb@met.rdg.ac.uk, Peter Dalgaard

#
Full_Name: Sheila Bryant
Version: 1.1.1
OS: Solaris 2.6
Submission from: (NULL) (134.225.16.2)


During the 'make' process I get the following:

String found where operator expected at
/export/bors/bors-01/sws96srb/R-1.1.1/etc/Rdconvlib.pl line 781, near
"("</TABLE>\n""
        (Missing operator before "</TABLE>\n"?)
Bare word found where operator expected at
/export/bors/bors-01/sws96srb/R-1.1.1/etc/Rdconvlib.pl line 1234, near "
mywrap"
        (Missing operator before mywrap?)
Bare word found where operator expected at
/export/bors/bors-01/sws96srb/R-1.1.1/etc/Rdconvlib.pl line 1249, near "
txt_header"
        (Missing operator before txt_header?)
Bare word found where operator expected at
/export/bors/bors-01/sws96srb/R-1.1.1/etc/Rdconvlib.pl line 1264, near "
txt_header"
        (Missing operator before txt_header?)
Bare word found where operator expected at
/export/bors/bors-01/sws96srb/R-1.1.1/etc/Rdconvlib.pl line 1292, near "
txt_header"
        (Missing operator before txt_header?)
Bare word found where operator expected at
/export/bors/bors-01/sws96srb/R-1.1.1/etc/Rdconvlib.pl line 1335, near "
txt_header"
        (Missing operator before txt_header?)

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.

I've done a make html as well, to be on the safe side! Got the same dose of
warnings.
R istself starts up OK, but help.start() just gives me the information about
using 
existing browsers, but I never get any pages come up. I tried exiting netscape &

tried again, but no new browser was forthcoming. I've tried the FAQ and bug
reports, 
but maybe haven't asked the right question there!

I've probably missed something obvious, but just can't see it



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
sws96srb@met.rdg.ac.uk writes:
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.]