Re: [R] small object but huge RData file exported

2021-10-20 Thread Jeff Newmiller
That depends what was in the active environment when you created that formula. You would probably benefit from reading https://adv-r.hadley.nz/environments.html about now, though you are about to enter a complex interaction between functions, formulas and environments. A rational option is con

Re: [R] small object but huge RData file exported

2021-10-20 Thread Jinsong Zhao
This example has demoed the similar or same characteristics of my question. If I > save(formula, file = "abc.RData") and then in a new launched R session, I > load("abc.RData") > formula x ~ y I want to know what are stored in the , and how to access it, or how to save the object without the e

Re: [R] Do not show a "message d'avis" that qbeta reports

2021-10-20 Thread SciViews
Martin Maechler wrote: > Currently, the French team is just one person This is not quite true. The people that contributed to the translation in French are listed here: https://github.com/phgrosjean/rfrench . As you can see, there is a total of nine peopl

Re: [R] Do not show a "message d'avis" that qbeta reports

2021-10-20 Thread Martin Maechler
> Duncan Murdoch > on Wed, 20 Oct 2021 07:17:30 -0400 writes: > Translations are done by the translation teams, listed > here: > . > If you'd like to offer help, you could contact someone on > that list. >

Re: [R] small object but huge RData file exported

2021-10-20 Thread Henrik Bengtsson
Example illustrating what Duncan says: > make_formula <- function() { large <- rnorm(1e6); x ~ y } > formula <- make_formula() # "Apparent" size of object > object.size(formula) 728 bytes # Actual serialization size > length(serialize(formula, connection = NULL)) [1] 8000203 # A better size est

Re: [R] small object but huge RData file exported

2021-10-20 Thread Duncan Murdoch
On 20/10/2021 9:20 a.m., Jinsong Zhao wrote: On 2021/10/20 21:05, Duncan Murdoch wrote: On 20/10/2021 8:57 a.m., Jinsong Zhao wrote: Hi there, I have a RData file that is obtained by save.image() with size about 74.0 MB (77,608,222 bytes). When load into R, I measured the size of each object

Re: [R] small object but huge RData file exported

2021-10-20 Thread Jinsong Zhao
On 2021/10/20 21:05, Duncan Murdoch wrote: On 20/10/2021 8:57 a.m., Jinsong Zhao wrote: Hi there, I have a RData file that is obtained by save.image() with size about 74.0 MB (77,608,222 bytes). When load into R, I measured the size of each object with object.size(): object.size(combn.rda.m)

Re: [R] small object but huge RData file exported

2021-10-20 Thread Duncan Murdoch
On 20/10/2021 8:57 a.m., Jinsong Zhao wrote: Hi there, I have a RData file that is obtained by save.image() with size about 74.0 MB (77,608,222 bytes). When load into R, I measured the size of each object with object.size(): object.size(combn.rda.m) 105448 bytes object.size(cross) 102064 b

[R] small object but huge RData file exported

2021-10-20 Thread Jinsong Zhao
Hi there, I have a RData file that is obtained by save.image() with size about 74.0 MB (77,608,222 bytes). When load into R, I measured the size of each object with object.size(): object.size(combn.rda.m) 105448 bytes object.size(cross) 102064 bytes object.size(denitr.1) 25032 bytes ob

Re: [R] Do not show a "message d'avis" that qbeta reports

2021-10-20 Thread Duncan Murdoch
Translations are done by the translation teams, listed here: . If you'd like to offer help, you could contact someone on that list. Duncan Murdoch On 20/10/2021 6:47 a.m., Marc Girondot via R-help wrote: Thanks ! It works. So "Warnings"

Re: [R] Do not show a "message d'avis" that qbeta reports

2021-10-20 Thread Marc Girondot via R-help
Thanks ! It works. So "Warnings" has been translated in French by "Message d'avis :" ! > warning("Essai") Message d'avis : Essai It is not the best translation... I would prefer: "Attention: " Marc Le 20/10/2021 à 12:28, Enrico Schumann a écrit : On Wed, 20 Oct 2021, Marc Girondot via R-help

Re: [R] Do not show a "message d'avis" that qbeta reports

2021-10-20 Thread Enrico Schumann
On Wed, 20 Oct 2021, Marc Girondot via R-help writes: > Dear R-helpers > > Do you know how to not show a "message d'avis" that > qbeta reports. suppressMessages and capture.output are > not working. > > (PS I Know that qbeta with shape2 being 1e-7 is > "strange"... this is obtained during an optim

[R] Do not show a "message d'avis" that qbeta reports

2021-10-20 Thread Marc Girondot via R-help
Dear R-helpers Do you know how to not show a "message d'avis" that qbeta reports. suppressMessages and capture.output are not working. (PS I Know that qbeta with shape2 being 1e-7 is "strange"... this is obtained during an optimization process. Just I don't want see the messages). Thanks