How to create a truncated version of R?

I am trying to create a minimal / truncated version of R. The goal is a small footprint on the disk. RTerm must load and support basic functions such as creating built-in types (matrix, array, list, etc.) and simple math (e.g. matrix multiplication). I am using a standard Windows installation for 2.15.3.

Here is what I have successfully removed so far:

  • all files in the root directory
  • Most libraries. I deleted all libraries not attached by default.
  • Doc directory
  • Directory 'tests'
  • Tcl directory
  • Src directory
  • Include directory
  • Share directory

So, I have the following directories left:

  • Ben
  • etc. Library
  • (see above)
  • Modules

Any bad consequences for the above? What else can be safely removed?

+4
source share
1 answer

I stuck to what I posted. Worked flawlessly. There is probably an opportunity to reduce more, but the proposed reductions give a very small area.

-1
source

All Articles