[R-pkg-devel] size of object files

2015-07-12 Thread Pieter Eendebak
Dear newsgroup, The size of the object files in my R package is quite large (c++ code with Eigen templates). How can I reduce this size? Under linux the final shared library is over 20 Mb large. With the command strip I can reduce the size to less than 500Kb, but I do not know how to add the stri

Re: [R-pkg-devel] R-devel problem with temporary files or decompression?

2015-07-12 Thread Henrik Bengtsson
I don't see any particular wrong with your code, so it seems like R.utils doesn't handle your 'file' / 'tmp' pathnames correctly. However, I cannot reproduce this (know what 'file' and 'tmp' are would help), so I cannot fix it either. Either way, instead of using low-level decompressFile(), you ca

Re: [R-pkg-devel] Do I need to namespace and import functions from 'methods' package?

2015-07-12 Thread Dean Attali
I see there have been several messages about this recently. I apologize, I wasn't aware of the fact that I could search old messages on the board - will do that next time, thanks --- http://deanattali.com On 12 July 2015 at 13:36, Duncan Murdoch wrote: > On 12/07/2015 4:01 PM, Dean Attali wrote

Re: [R-pkg-devel] Do I need to namespace and import functions from 'methods' package?

2015-07-12 Thread Duncan Murdoch
On 12/07/2015 4:01 PM, Dean Attali wrote: > I have a package that is using the 'is' function from the 'methods' > package. My package has been on CRAN for some time now and has had 3 > different versions already. Yesterday when submitting, I got a response > with: > > * checking R code for possib

[R-pkg-devel] Do I need to namespace and import functions from 'methods' package?

2015-07-12 Thread Dean Attali
I have a package that is using the 'is' function from the 'methods' package. My package has been on CRAN for some time now and has had 3 different versions already. Yesterday when submitting, I got a response with: * checking R code for possible problems ... NOTE > ggMarginal: no visible global f

Re: [R-pkg-devel] R-devel problem with temporary files or decompression?

2015-07-12 Thread Daniel Kelley
Uwe, thanks very much. How silly of me. It was because my code creates full pathnames except if the first char of a filename is “/“ or “~”, etc. I have never really used windows/msdos (went from 1970s unix to OSX) and so I was being very silly. Dan. > On Jul 12, 2015, at 12:38 PM, Uwe Ligges

Re: [R-pkg-devel] R-devel problem with temporary files or decompression?

2015-07-12 Thread Uwe Ligges
On 12.07.2015 17:33, Daniel Kelley wrote: A data file that I’d like to use in my “oce” package is quite large, and compresses well, so I thought of putting a compressed version into inst/extdata. I want my documentation to show how to uncompress the file, partly because these files tend to c

[R-pkg-devel] R-devel problem with temporary files or decompression?

2015-07-12 Thread Daniel Kelley
A data file that I’d like to use in my “oce” package is quite large, and compresses well, so I thought of putting a compressed version into inst/extdata. I want my documentation to show how to uncompress the file, partly because these files tend to compress so well that I think users might like