Skip to content
Prev 28977 / 63424 Next

make.packages.html

On Mon, 26 May 2008, Jonathan Baron wrote:

            
It does happen, but only if you install a package to the .Library 
directory.  That file is only intended as a listing of the main library, 
not other libraries (as which are in the library path is 
session-specific).  As NEWS for R 2.6.0 says

     o	install.packages() on a Unix-alike now updates
 	doc/html/packages.html only if packages are installed to
 	.Library (by that exact name).
It is a helper for help.start(), which sets up details of the current 
packages in the session temporary directory.  Please do consult its help 
file.

The function used to update doc/html/packages.html is 
utils:::link.html.help(), which is a wrapper for 
tools:::unix.packages.html.
It caused a lot of needless updating.
Let's hope you have a vaiid file:// URL ....
What we don't know is where you are installing your packages.  If it is to 
the main library, the behaviour should be unchanged (and I have just 
tested it and it works for me).  If it is to another library, the 
intention never was to list packages in other libraries.

[Note that all this applies to Unix-alikes: Windows does not have symbolic 
links (OK, some filesystems on some versions have a very limited form) and 
R does things differently there.]