[Rd] Re: more Rd ordering

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Sun, 2 Jul 2000 11:44:42 +0200

>>>>> Paul Gilbert writes:

> Although the ordering from Rdindex and R CMD build now agrees when I
> run them at a command prompt, for some reason Rdindex now gives a
> different order when it is run at a command prompt than it does when
> it is run from make. My Makefile entry is:

> %/INDEX : %/man
>  @echo "making target $@ ..."
>  (cd $(dir $@) ; R  CMD    Rdindex man/*.Rd >INDEX )

> Any ideas?

Yes.  It may be that again you have the effect of your shell/locale etc
producing the different ordering.  Try using just the mandir rather than
the wildcard.  I.e., something like

%/INDEX : %/man
	@echo "making target $@ ..."
	(cd $(dir $@) ; R  CMD    Rdindex man >INDEX )

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