This example can be run in R with
if (!require(shiny)){
library(devtools)
install_github("shiny", "rstudio")
}
| countries | Freq | |
|---|---|---|
| Austria | 3 | |
| Canada | 2 | |
| Denmark | 1 | |
| France | 2 | |
| Germany | 2 | |
| Guatemala | 1 | |
| India | 1 | |
| Indonesia | 1 | |
| Ireland | 1 |
| devtools::install_github("hrbrmstr/hyphenatr") | |
| library(magrittr) | |
| library(hyphenatr) | |
| switch_dict("nl_NL") | |
| words <- c( "hottentottententententoonstelling" # extremely long word (not really used in dutch) | |
| , "feeëriek" # = fairy, contains a special character | |
| ) | |
| # and that is correctly hyphenated! |