search for: resaverdafiles

Displaying 15 results from an estimated 15 matches for "resaverdafiles".

2012 Aug 16
1
Compressing data for package builds
...see so I must be using it wrong. Is there a piece of the puzzle I am missing or instructions better than these: I tried LazyDataCompression and my data.rdb is 90Kb. "Package *tools* has a couple of functions to help with data images: checkRdaFiles reports on the way the image was saved, and resaveRdaFiles will re-save with a different type of compression, including choosing the best type for that particular image. Some packages using ‘LazyData’ will benefit from using a form of compression other than gzip in the installed lazy-loading database. This can be selected by the --data-compress option to...
2013 Feb 07
1
large sysdata.rda file --- strategies?
...es, we use interpolation on a grid of precomputed values which we save together with the interpolating functions (results of splinefun essentially) in sysdata.rda in the R folder of our pkg. After adding grids for some more models, this file has grown considerably, even after application of tools::resaveRdaFiles. At the moment we are at about 2MB (compressed) and 8.8 MB (uncompressed) and hence R CMD check --as-cran issues a NOTE. We want to comply with cran policies, http://cran.r-project.org/web/packages/policies.html in particular with > Where a large amount of data is required (even after com...
2018 Jun 18
1
Automatic Compression by Save Causes Check Warning
Good day, Save sometimes chooses a compression method which causes a warning during package checking. An example of this is: measurements <- matrix(round(rnorm(2000*190), 2), nrow = 2000, ncol = 190) classes <- factor(sample(LETTERS[1:2], 190, replace = TRUE)) save(measurements, classes, file = "data/experiment.RData") then, when the package is checked, * checking data for
2016 May 01
2
Storage of byte code-compiled functions in sysdata.rda
...erpolTry) x <- 1:100 y <- 1:100 fun <- approxfun(x,y) ## revise the next line accordingly to your local settings SrcRPathInterpolTry <- <path_to_(source-)R-folder_of_InterpolTry> RdaFile <- file.path(SrcRPathInterpolTry, "sysdata.rda") save(fun, file = RdaFile) tools::resaveRdaFiles(RdaFile) (3) re-build package InterpolTry and re-install it (4) create a minimal R package "UseInterpolTry", again with byte-compilation on in the DESCRIPTION file and with stats::approxfun and package "InterpolTry" imported in the NAMESPACE file (5) in the...
2016 May 05
0
Storage of byte code-compiled functions in sysdata.rda
...- 1:100 > fun <- approxfun(x,y) > ## revise the next line accordingly to your local settings > SrcRPathInterpolTry <- <path_to_(source-)R-folder_of_InterpolTry> > RdaFile <- file.path(SrcRPathInterpolTry, "sysdata.rda") > save(fun, file = RdaFile) > tools::resaveRdaFiles(RdaFile) > > (3) re-build package InterpolTry and re-install it > > (4) create a minimal R package "UseInterpolTry", again > with byte-compilation on in the DESCRIPTION file > and with stats::approxfun and package "InterpolTry" > imported in t...
2016 May 01
2
Storage of byte code-compiled functions in sysdata.rda
Hi r-devels, we are seeing a new problem with our packages RobAStRDA (just new on CRAN, thanks to Uwe and Kurt!) and RobExtremes (to be submitted). It must be something recent with the way you internally treat/store byte-code compiled functions, as we have no problems with R-3.1.3, but do see an "Error in fct(x) : byte code version mismatch" with R-devel SVNrev r70532. Background:
2012 Mar 29
3
r-forge build failure bafflement
I am attempting to build a package on r-forge and running into a weird error. I have been in correspondence with the R-forge admins and am turning to r-devel on the remote chance that someone might have a guess as to what is going wrong or a suggestion about further diagnostics/experiments I could try ... The package seems to build fine on my system(s) with R CMD build --compact-vignettes
2018 Apr 23
0
R 3.5.0 is released
...ypically both more informative and shorter output. * write.dcf() gets optional argument useBytes. * New, partly experimental packageDate() which tries to get a valid "Date" object from a package DESCRIPTION file, thanks to suggestions in PR#17324. * tools::resaveRdaFiles() gains a version argument, for use when packages should remain compatible with earlier versions of R. * ar.yw(x) and hence by default ar(x) now work when x has NAs, mostly thanks to a patch by Pavel Krivitsky in PR#17366. The ar.yw.default()'s AIC computations have beco...
2018 Apr 23
0
R 3.5.0 is released
...ypically both more informative and shorter output. * write.dcf() gets optional argument useBytes. * New, partly experimental packageDate() which tries to get a valid "Date" object from a package DESCRIPTION file, thanks to suggestions in PR#17324. * tools::resaveRdaFiles() gains a version argument, for use when packages should remain compatible with earlier versions of R. * ar.yw(x) and hence by default ar(x) now work when x has NAs, mostly thanks to a patch by Pavel Krivitsky in PR#17366. The ar.yw.default()'s AIC computations have beco...
2009 Oct 26
0
R 2.9.0 is released
...and other nonstandard cases. o sprintf() now supports '%o' for octal conversions. o New function Sys.readlink() for information about symbolic links, including if a file is a symbolic link. o Package 'tools' has new functions checkRdaFiles() and resaveRdaFiles() to report on the format of .rda/.RData data files, and to re-save them in a different compressed format, including choosing the most compact format available. A new INSTALL option, --resave-data, makes use of this. o File ~/.R/config is used in preference to ~/.Rco...
2009 Oct 26
0
R 2.9.0 is released
...and other nonstandard cases. o sprintf() now supports '%o' for octal conversions. o New function Sys.readlink() for information about symbolic links, including if a file is a symbolic link. o Package 'tools' has new functions checkRdaFiles() and resaveRdaFiles() to report on the format of .rda/.RData data files, and to re-save them in a different compressed format, including choosing the most compact format available. A new INSTALL option, --resave-data, makes use of this. o File ~/.R/config is used in preference to ~/.Rco...
2009 Oct 26
0
R 2.10.0 is released
...and other nonstandard cases. o sprintf() now supports '%o' for octal conversions. o New function Sys.readlink() for information about symbolic links, including if a file is a symbolic link. o Package 'tools' has new functions checkRdaFiles() and resaveRdaFiles() to report on the format of .rda/.RData data files, and to re-save them in a different compressed format, including choosing the most compact format available. A new INSTALL option, --resave-data, makes use of this. o File ~/.R/config is used in preference to ~/.Rco...
2009 Oct 26
0
R 2.10.0 is released
...and other nonstandard cases. o sprintf() now supports '%o' for octal conversions. o New function Sys.readlink() for information about symbolic links, including if a file is a symbolic link. o Package 'tools' has new functions checkRdaFiles() and resaveRdaFiles() to report on the format of .rda/.RData data files, and to re-save them in a different compressed format, including choosing the most compact format available. A new INSTALL option, --resave-data, makes use of this. o File ~/.R/config is used in preference to ~/.Rco...
2011 Apr 13
0
R 2.13.0 is released
...leaning in the supplied package directory: all the cleaning is done in the copy. It has a new option --install-args to pass arguments to R CMD INSTALL for --build (but not when installing to rebuild vignettes). There is new option, --resave-data, to call tools::resaveRdaFiles() on the data directory, to compress tabular files (.tab, .csv etc) and to convert .R files to .rda files. The default, --resave-data=gzip, is to do so in a way compatible even with years-old versions of R, but better compression is given by --resave-data=best, requiring R...
2011 Apr 13
0
R 2.13.0 is released
...leaning in the supplied package directory: all the cleaning is done in the copy. It has a new option --install-args to pass arguments to R CMD INSTALL for --build (but not when installing to rebuild vignettes). There is new option, --resave-data, to call tools::resaveRdaFiles() on the data directory, to compress tabular files (.tab, .csv etc) and to convert .R files to .rda files. The default, --resave-data=gzip, is to do so in a way compatible even with years-old versions of R, but better compression is given by --resave-data=best, requiring R...