David Gohel

401 posts

David Gohel

David Gohel

@DavidGohel

Paris, France Katılım Ekim 2011
477 Takip Edilen1.1K Takipçiler
David Gohel
David Gohel@DavidGohel·
@ckhead @antoine_fabri Because it lets you work with any DBMS and there's nothing else like it in #rstats. Does this SQL interface even exists in JS or python? I doubt it (even if I am not sure).
English
0
0
0
72
Antoine Fabri
Antoine Fabri@antoine_fabri·
#rstats with dplyr: You can: mtcars |> summarize(across(everything(), mean), .by = c(vs, am)) You can: mtcars |> group_by(vs, am) |> summarize_all(mean, .groups = "drop") You can't mtcars |> summarize_all(mean, .by = c(vs, am)) I don't like this at all
English
2
8
56
22.2K
Isabella R. Ghement
Isabella R. Ghement@IsabellaGhement·
@DavidGohel At least there is hope! Right now I am using a combination of officedown + captioner to get by, but hoping this would become easier. Any idea when this Quarto release is supposed to happen?
English
1
0
0
62
Isabella R. Ghement
Isabella R. Ghement@IsabellaGhement·
In Quarto, is it now possible to work with figure/table captions for Word documents and to automatically update and reference the figure/table numbers? If yes, links to references or examples would be appreciated. Thank you! #rstats
English
1
4
10
4.7K
Isabella R. Ghement
Isabella R. Ghement@IsabellaGhement·
@DavidGohel David, I recall you were working on something like this. Any developments on this front?
English
1
0
0
350
David Gohel
David Gohel@DavidGohel·
@dtoher OK. Thanks, I am using the dev version of quarto
English
0
0
0
14
Deirdre Toher
Deirdre Toher@dtoher·
Suppose, in a #QuartoPub document, using #rStats I have a list of length G, each item in this list is a flextable - I need to use flextable as opposed to kable, to allow for output to docx. G is unknown apriori, but will be at least 1. Is there any way to create a (1/2)
English
2
3
2
1.5K
David Gohel
David Gohel@DavidGohel·
@dtoher This won't work for now. Captions/crossref are not available yet in Quarto for Word, it applies to flextable, gt, etc. It does not work as there is no way to send this caption to quarto yet (in R Markdown or with usual R, not an issue).
English
1
0
0
52
Deirdre Toher
Deirdre Toher@dtoher·
sequence of tables with associated labels and captions that could be worked out dynamically/parsed? Manually, this can be done really easily (creating new labels etc) and knowing when to stop, but is there a way of automating this? (2/2)
English
2
0
1
202
David Gohel
David Gohel@DavidGohel·
Does anyone know what is happening with the #rstats CRAN updates? It seems that since Saturday, all packages that are submitted for an update are stuck in the 'pretest' folder.
English
0
2
2
0
David Gohel
David Gohel@DavidGohel·
@timelyportfolio Thank you, Kent. I should also thank you for all the work you did that I am often using :)
English
0
0
3
0
timelyportfolio
timelyportfolio@timelyportfolio·
I can't thank @DavidGohel enough for the absolutely brilliant #rstats officer package. In my real job in a very constrained environment, I am working with R 3.8 (lots of pkgs not avail) & 5 year old RStudio ver. officer provides the publishing engine I need. Thanks David!!
English
3
7
33
0
David Gohel
David Gohel@DavidGohel·
@IsabellaGhement @thomas_mock @lostgps Thank you Isabella. It's working with quarto now (captions were the issue). not yet on CRAN... Quarto team is going to work on captions/docx, we'll adapt if necessary :) I don't think officedown has any reason to exist in quarto universe.
English
1
0
3
0
Isabella R. Ghement
Isabella R. Ghement@IsabellaGhement·
@DavidGohel @thomas_mock @lostgps Wow! This looks so nice, David! Just wondering - do you have any plans for integrating some of your other fabulous R packages (e.g., officer, officedown) with Quarto? Last I checked, they didn’t seem to work with Quarto.
English
1
0
2
0
David Gohel
David Gohel@DavidGohel·
It's Friday. Let's show off a new feature of #rstats flextable @lostgps and I developed. We have now a "grid graphic" output🥳, it works very well with ggplot2, cowplot and patchwork (only on GitHub for now). Code available here: gist.github.com/davidgohel/eae…
David Gohel tweet media
English
4
21
161
0
David Gohel
David Gohel@DavidGohel·
It can be resized, it adjusts to its container, text wrap, columns auto-adjustment, and many other options...
GIF
English
0
0
9
0
David Gohel retweetledi
Mark Rieke
Mark Rieke@markjrieke·
🚨big project launch🚨 today I’m launching my 2022 midterms forecast! As of today, Democrats are favored to keep the senate and Republicans are favored to flip the house - more deets below but you can find the full forecasts here: thedatadiary.net/senate/ thedatadiary.net/house/
Mark Rieke tweet mediaMark Rieke tweet media
English
12
20
130
0