This is a super fast and easy way to create your first hexagon in R.
Enjoy !!!
# install.packages("hexSticker")
library(hexSticker)
## Warning: package 'hexSticker' was built under R version 4.
It’s possible to have basic statistics from bookdown using connectapi (basic example). However, this feature is very limited.
Hence, it is better to connect bookdown to Google Analytics to have better metrics.
Create Google Analytics account
Choose “Analytics Accounts”
Create “Properties & Apps”
In “Data Streams”, “Add stream” with your website URL
Under “Tagging Instructions”, click on gtag.js. You should see something like this:
<!
CSS = Cascading Style Sheets
Selector
Declaration
To add CSS to Shiny:
Add styling to tags
Add CSS to HTML header
Add style sheets with the www directory (most ideal)
SASS = Systematically Awesome Style Sheets (built on top of CSS)
install once per computer
install.packages("reprex")
or part of `tidyverse
install.packages("tidyverse")
You can either call it in every session
library(reprex)
or put it in .Rprofile for each machine to run whenever you open R
To solve the problem of scaling:
From DevOps/IT:
Add memory, CPU
Rstudio Connect set up for multiple machines
From R/Shiny engineer:
use Javascript for less CPU usage
extract computations: Shiny worker, Plumber
use a database
You can read more in Michael Barrowman’s
post
But the basic idea is that using the new pipe |> from the magrittr library
is much faster than your old pipe %>%
We can leverage R to create randomized studies using
shinysurveys with learnr
library("shinysurveys")
library("learnr")
ou can also use formr to create survey with R.