Talk:OEP:pkg

From Octave
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Names of the commands

Discussing user cases

User case #6

Why not store the "packages.db" together with the packages? Instead of loading the a packages database file. Then, Diana could just say pkg addpath ~Ligia/octave
The packages.db is stored with the packages. However, pkg purpose is to deal with packages, abstracting the user from Octave's function search path. If the user wants to add paths manually, then he can use addpath directly. Plus, adding the db file will only make the packages available to pkg, it does not load the packages. It may have packages she is not interested in loading.