[R] Rwinst.exe problems
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Dec 19 14:17:21 CET 2000
On Tue, 19 Dec 2000, Simon Wood wrote:
> I get the same problem using rwinst.exe 1.2.0 with NT 4 (if I click on "an
> add on package" it falls over with an access violation).
> > rwinst.exe uses most of the standard system dlls, plus msvcrt.dll.
> > pedump will show you exactly. But I suspect the problem is more
> > prosaic, in that you have an exceptionally long (or in some other way
> > unusual) PATH.
> - This seems to be right. If I reduce my path to a single line then
> everything works just fine. If I use the version 1.1.0 rwinst.exe then
> everything seems to work also.
> - The original path isn't hugely long, though:
> PATH=C:\WINNT\system32;C:\WINNT;C:\Program Files\Microsoft Visual
> Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
> Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\
> Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;c:\program
> files\devstudio\sharedide\bin\ide;c:\program files\de
> vstudio\sharedide\bin;c:\program files\devstudio\vc\bin;c:\texmf\miktex\bin;
> ... is what "caused" a failure. Is that long enough that it should have
> overwritten it's allocated space?
Yes. I think the allocation is MAX_PATH = 264 chars. Obviously PATH can
be longer than MAX_PATH!
> ... is what worked.
> Hope this is some use.
Thanks for the report. If it works for Marc, we can update the rwinst.exe.
Setting R_HOME is still the preferred solution.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-help 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-help-request at stat.math.ethz.ch
More information about the R-help