david-romano
david-romano
I posted about this in [the RStudio Discourse forum](https://community.rstudio.com/t/strange-effect-of-justification-parameters-on-geom-label-rendering/131047?u=dromano), but didn't explicitly point out the effect of supplying the `size` parameter. Have received no responses so am posting here. The...
I recently introduced `ggplotly()` to my students, and several who use Windows machines reported that nothing was rendered when the following code was executed: ```library(tidyverse) library(gapminder) library(plotly) p % ggplot(aes(gdpPercap,...
Hi, I'm teaching a course using Hadley Wickham's 'ggplot2' book, and in [the section on raster maps](https://ggplot2-book.org/maps.html#rastermaps), he uses the following code: ``` mi_counties % select(lon = long, lat, group,...
Context: I'm using IJava to teach Java via Google Colab Jupyter notebooks, and I just realized that no import statements are necessary for, say, access to the contents of the...
For context, I use this code: ``` %%sh # Install java kernel wget -q https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip unzip -q ijava-1.3.0.zip python install.py # Install proxy for the java kernel wget -qO- https://gist.github.com/SpencerPark/e2732061ad19c1afa4a33a58cb8f18a9/archive/b6cff2bf09b6832344e576ea1e4731f0fb3df10c.tar.gz...
Hi, I teach a remote introductory programming course in Java and had run into a wall because some of my high school students' schools blocked access to any cloud-based IDEs...
From the second paragraph of [5.2 Whitespace](https://style.tidyverse.org/ggplot2.html#whitespace-1): > If you are creating a ggplot off of a dplyr pipeline, there should only be one level of indentation. Why is this?...
Before: ``` r library(tidyverse) library(tsibble) tsibble( a = parse_date('1/1/24', format = '%m/%d/%y'), b = 1, ) #> Using `a` as index variable. #> # A tsibble: 1 x 2 [?]...
[Motivated by Posit Forum post [Creating a new ggplot2 theme](https://forum.posit.co/t/creating-a-new-ggplot2-theme/187065).] The [Creating a new theme](https://ggplot2.tidyverse.org/articles/ggplot2-in-packages.html#creating-a-new-theme) section of the [vignette](https://github.com/tidyverse/ggplot2/blob/main/vignettes/ggplot2-in-packages.Rmd) on using ggplot2 in packages creates a new theme called `theme_custom()`...
I use the text to teach, and so was curious to find the first occurrence of "aesthetic" with goal of finding where the term is defined. However, the results seem...