[R] Cleaning up after compiling R source

Guido Masarotto guido at sirio.stat.unipd.it
Wed Sep 13 20:02:07 CEST 2000

On Wed, Sep 13, 2000 at 10:13:56AM -0700, Marc Feldesman wrote:
> Forgive this naive question, but I'm not accustomed to using Win ports of 
> Unix tools (actually I'm unfamiliar with Unix tools, period).
> Anyway, I've successfully compiled the R-1.1.1 sources into the full binary 
> package.  Everything seems to work.  I'd like to remove all the "made" 
> files and leave only the original source code and the compiled binary 
> code.  Is there some other tool that will clean up after the compile and 
> link cycle?  What file suffixes can be deleted safely (subject to leaving 
> the original source and the needed binaries)?

  Go to path-to/R-1.1.1/src/gnuwin32. Then 

  > make clean 
  remove all the file created during the compilation but 
  executables, dll's, documentation,....

  > make distclean
  remove all was created (executables,...,too).

  If you want to know which files are actually deleted look to 
  src/gnuwin32/Makefile and find the two blocks of rows starting 
  with "clean:" and "distclean:".

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 mailing list