[R] Local library on Windoze.

Rolf Turner rolf at math.unb.ca
Thu Aug 5 16:13:49 CEST 2004

I'm mystified by a Windoze ``phenomenon'' which has just bitten me.

I have a laptop which boots either Windoze or Linux; I (sad to say)
need the Windoze OS for teaching purposes.  I have R 1.9.1 installed
on the laptop in the Windoze OS.

Just now I decided to install,  under the Windoze version of R,
a library (``Misc'') of some local functions that I have collected
over the years.  I just zipped up an installed Unix version of Misc
(there is no compiled C or Fortran to make life complicated), ftp-ed
the zip file to the Windoze-running laptop, started R, installed the
package ....  everything went like a dream.

***THEN*** I noticed a typo in one of the help files from Misc.
So I decided to fix it.

First try:  Went to C:\Program Files\R\rw1091\library\Misc\man
and edited the file Misc.Rd, eliminating the typo.   Restarted
R, loaded Misc, looked at the help --- typo is still there.

Second try:  Fixed the typo in the Unix version, zipped it up again,
ftp-ed it to the Windoze-running laptop, re-installed it.  Restarted
R, loaded Misc, looked at the help --- typo is still there.

Third try:  Deleted the Misc directory from

	C:\Program Files\R\rw1091\library

started R, tried to load Misc, got told no such package --- fine,
it's gone.  Stopped R, restarted, re-installed Misc.  Checked on the

	C:\Program Files\R\rw1091\library\Misc\man\Misc.Rd

That file is fine; no typo in it.

Re-started R again, loaded Misc, looked at the help --- the *#%#$#
type is STILL there!!!

Why is there a ghost Misc library hanging around?  Where is it?
How do I get rid of it?


				Rolf Turner
				rolf at math.unb.ca

More information about the R-help mailing list