[R] Local library on Windoze.

Liaw, Andy andy_liaw at merck.com
Thu Aug 5 21:03:44 CEST 2004


You need to _intsall_ or _build_ the package on Unix.  Those will generate
help files in various formats from the .Rd files.  

I.e., on the Unix side, do:

R CMD build --binary misc

then ftp the output over to Windoze and install as usual.

HTH,
Andy

> From: Rolf Turner
> 
> 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
> file
> 
> 	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?
> 
> 			cheers,
> 
> 				Rolf Turner
> 				rolf at math.unb.ca
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list