<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
In this email, I propose a new approach which allows to reduce total
size of data from 8Mb to 2Mb that reduce the entire GenABEL size
from 12Mb to 6Mb. <br>
<br>
"R CMD check --as-cran" reports that the following sub-directories
have too big size: data (2.3Mb), exdata (5.7Mb) and libs (2.6Mb).
After the last GenABEL submission to CRAN, the maintainers suggested
to create a new package called GenABELdata and move all the data
there. I run through the data and found that:<br>
1) "exdata" directory can be compressed by gzip and reduced from
5.8Mb -> 1.1Mb. <br>
- There is a function guzip() from library R.utils which can
decompress the files. It works on any OS. <br>
- Moreover: the native R function read.table() can read gzip
files without decompression.<br>
- Even more: it looks like that the biggest file "srgenos.dat"
is used only once a long time ago for generating "srdta.RData" and
now it is just sitting there and eating space needlessly.<br>
2) We can delete some files from the "data" directory. The deleted
files will be generated on the user computer based on the files from
exdata. It can be done during INSTALLATION (a line in Makefile?) or
on the first load through (<code>run funcion .onAttach() in R/zzz.R</code>).
It will reduce total size of "data" directory from 2.3Mb to 800Kb.<br>
<br>
Any objections/suggestions?<br>
<br>
best,<br>
Maksim<br>
</body>
</html>