Skip to content

Instantly share code, notes, and snippets.

@avnerkantor
Last active August 5, 2020 17:03
Show Gist options
  • Save avnerkantor/3463a09725e914a0044e2fe2d553f5b4 to your computer and use it in GitHub Desktop.
Save avnerkantor/3463a09725e914a0044e2fe2d553f5b4 to your computer and use it in GitHub Desktop.
ggplot with hebrew title in rmardown
---
title: "Untitled"
output: html_document
---
```{r}
Sys.setlocale(locale="Hebrew" )
encoding="UTF-8"
```
```{r}
library(ggplot2)
ggplot(diamonds, aes(x=carat))+
geom_bar()+
labs(title="שלום על ישראל")
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment