Skip to content

R-alpha: a question on terminology

2 messages · Martin Maechler, Kurt Hornik

#
Kurt> Whereas we typically refer to the add-on `modules' as `libraries' (viz
    Kurt> also the way these are represented in the search list, and the variable
    Kurt> .Libraries), S speaks about `sections'.
[.Libraries are not used anymore ...
 search() & .Provided should be enough, ...]

    Kurt> Shall we stay with our terminology?
I think so.

    Kurt>  Or instead, speak of `sections',
    Kurt> Shall we stay with our terminology?  Or instead, speak of `sections',
    Kurt> `packages', `modules', ...?

Or use something which S does not use at all,
since 'require(.);  provide(.)' and  Thomas Lumley's  
autoload(..) features enable an entirely different approach.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
Kurt> Whereas we typically refer to the add-on `modules' as `libraries' (viz
Kurt> also the way these are represented in the search list, and the variable
Kurt> .Libraries), S speaks about `sections'.
Kurt> Shall we stay with our terminology?
Kurt> Or instead, speak of `sections',
Kurt> Shall we stay with our terminology?  Or instead, speak of `sections',
Kurt> `packages', `modules', ...?
Thanks to Martin and Ross for the immediate response.

Ross wrote,
I guess we have a decision then, and will refer to an `add-on' as a

	>>> PACKAGE <<<

E.g., the PACKAGE `mva', ...

(And hope than when R conquers the world there will be real modules.)

To make things consistent, could we PLEASE make the corresponding
changes so that search() shows

	"package:base"

rather than "library:base"?

Locations I found were

src/main/envir.c:
	STRING(ans)[n-1] = mkChar("library:base");

src/main/main.c:
	suicide("unable to open the base library\n");

and in src/library/base/funs/library

I will meanwhile change things in the FAQ accordingly.

Best,
-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-