From Friedrich.Leisch@ci.tuwien.ac.at  Mon Jun 22 08:54:49 1998
From: Friedrich.Leisch@ci.tuwien.ac.at (Friedrich Leisch)
Date: Mon, 22 Jun 1998 09:54:49 +0200 (CEST)
Subject: R INSTALL doc woes
In-Reply-To: <98Jun19.142109edt.13452@mailgate.bank-banque-canada.ca>
References: <98Jun19.142109edt.13452@mailgate.bank-banque-canada.ca>
Message-ID: <13710.3529.158559.899687@galadriel.ci.tuwien.ac.at>

>>>>> On Fri, 19 Jun 1998 13:59:48 -0400,
>>>>> Paul Gilbert (PG) wrote:

PG> I put some documentation in a file dse/man/dse.Rd in and did
PG> R INSTALL -l rlibs dse

PG> This built the copies of dse.Rd in rlibs/dse/{help latex html}.
PG> It also wrote over  R/doc/html/function.html  and  R/doc/html/packages.html,
PG> effectively clobbering all the R documentation.

PG> Also, the link that gets put in R/doc/html/packages.html points to
PG>     R/library/dse/html/00Index.html
PG> rather than
PG>           rlibs/dse/html/00Index.html


The html documentation currently does not support non-standard
library locations, i.e., the packages must be in $RHOME library. Of
course I consider this as a massive bug, but upon fixing it I want to
make it completely right ... which includes building the packages.html
file at runtime from the current .lib.loc. The main problem is that
there seems to be no way of using environment variables such as $USER
or $HOME in html code ... hence I cannot access any file the user is
allowed to write to.

The typical use of
	R INSTALL -l xxx mypkg

IMO is with xxx=$HOME/lib/something and that can't work easily ...

If anybody can help me out with this, please let me know!

I want to build a packages.html file in R and then send the resulting
HTML code to the browser ... how should I call the file such that

*)	the user is allowed to write to it
*)	the file has a name I can reference from systemwide html files
*)	it is on a per-user basis, i.e. /tmp/packages.html is out of
	question.  

fritz

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R INSTALL doc woes
Friedrich Leisch