R-alpha: Bugs in R-0.50-a1.

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Fri, 1 Aug 1997 13:54:36 +0200

>>>>> Patrick Lindsey writes:

> Problems in R but not in S:
> ---------------------------

> 1) 'unlist' seems to have several other problems than the ones
> reported up to now. For instance, 'unlist' can be used on almost any
> object in S without much trouble. Eg.:
S> unlist(c(2))
> 	[1] 2
> 	---
R> unlist(c(2))
> 	Segmentation fault (core dumped)
> This occurs in R-0.49 and in R-0.50-a1.


> 1) The 'R Graphics' window does not have any X class or resource and
> therefore cannot be given a default size or geometry. Would it be
> possible to give the graphic window a class name so that the size
> could be specified in the '.Xdefaults' file?

Yes, that would be nice.

> 3) Some problems occur when using the help. Eg.,
R> ?"+"
> sorry, no help for "Arithmetic".
> This occurs in R-0.49 and in R-0.50-a1 and seems to be the case for
> any item contained in a help file starting with a capital letter.

The problem is as follows.  The function help() catches the special funs
like "+" etc (more precisely, the arithmetic, comparison, logic and
extract ones) and directly assigns a topic for them.

For "+", the topic is 'Arithmetic".  But the index file has no entry for
that, because (see RHOME/etc/install-help)

if [ $lib != 'base' ]
##-- The following is NOT done anymore in 'base':
##-- 1) Each help file should have  ALIAS(..) for  ALL it's objects
##-- 2) The  help file name may differ from _ANY_ object (eg 'Special')
	for file in $FILES
		echo "$file	$file"

If that really is the intended usage (Martin?), then e.g. the Arithmetic
file should also have ALIAS(Arithmetic) in 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