[R] Surprisingly large amount of memory used by tibble with lots of nested tibbles within

2019-10-17 Thread Jocelyn Ireson-Paine
I'm using the Tidyverse group_nest() function to nest data about families and people within households, and have found that this seems to use astonishing quantities of memory. It's more than I'd expect from the number of nested tibbles created. I'll outline what was happening with my actual data, t

Re: [R] Using R and the Tidyverse for an economic model

2018-03-28 Thread Jocelyn Ireson-Paine via R-help
uals/R-exts.html > [3] > https://cran.r-project.org/web/packages/data.table/vignettes/datatable-intro.html > [4] https://www.jstatsoft.org/article/view/v040i01/v40i01.pdf > > On Mon, 26 Mar 2018, Jocelyn Ireson-Paine via R-help wrote: > >> I've been translating an economic

[R] Using R and the Tidyverse for an economic model

2018-03-26 Thread Jocelyn Ireson-Paine via R-help
I've been translating an economic model from Python into R, and I thought members of the list would like to see a presentation I've written about it. I've blogged this at http://www.j-paine.org/blog/2018/03/r-taxben-a-microsimulation-economic-model-in-r.html , and the presentation itself is a slide

[R] How to install Tidyverse on Ubuntu 17.04? Getting gcc errors for -fstack-protector-strong and -Wdate-time

2017-08-17 Thread Jocelyn Ireson-Paine via R-help
I'm running Ubuntu 17.04 and R 3.4.1. I installed the latter yesterday, so I presume it's the latest version. I want to install Tidyverse, which I've spent many happy hours with under Windows. But when I do install.packages("tidyverse") , I get errors about unrecognized command line options to gcc.

[R] R-SIG-Debian keeps telling me I must be subscribed to post, but I am

2017-08-17 Thread Jocelyn Ireson-Paine via R-help
I'm not sure where to post this. I subscribed to R-Sig-Debian this morning, I hope the email excerpt below proves this: Welcome to the r-sig-deb...@r-project.org mailing list! To post to this list, send your message to: r-sig-deb...@r-project.org General information about the mailing

Re: [R] How to filter data using sets generated by flattening with dcast, when I can't store those sets in a data frame

2015-03-15 Thread Jocelyn Ireson-Paine
f result that its aggregation function can return. The result can be a number, a string, a list, a list of lists, an array, or any other type. I'd like dcast to be as general. Jocelyn Ireson-Paine 07768 534 091 http://www.jocelyns-cartoons.uk http://www.j-paine.org On Thu, 12 Mar 2015, Da

[R] How to filter data using sets generated by flattening with dcast, when I can't store those sets in a data frame

2015-03-12 Thread Jocelyn Ireson-Paine
. 1 1 1, 2, 4, 7 > flattened[ includes3( flattened$. , c(1,3) ), ] ID . 3 3 1, 3, 4, 8 > flattened[ includes3( flattened$. , c(2) ), ] ID . 1 1 1, 2, 4, 7 2 2 2, 3 The moral of this email tale is that sets are really useful for fi

[R] SASxport function read.xport gives error "object 'w' not found"

2014-07-25 Thread Jocelyn Ireson-Paine
SAS correctly when generating it. Other files containing purely numeric data from the same author converted OK, using analogous calls to read.xport . Googling the error didn't find anything. Thanks, Jocelyn Ireson-Paine 07768 534 091 http://www.jocelyns-cartoons.co.uk __

[R] How can I run package ca (correspondence analysis), which needs rgl, without X11?

2012-04-23 Thread Jocelyn Ireson-Paine
using ImageMagick.) So if ade4 can do this, ca ought to be able to. How can I make it? I don't mind ca complaining when it indeed does need X11, but couldn't the dependency check be postponed until runtime, so as not to spoil things for people to whom it'