Comments (6)
ah I see what you meant.
I was only trying to help the original poster and did not mean to say this as a feature request.
please accept my apologies.
I do add local fonts in my Dockerfile.
from shiny.
enable sudo command by invoking rocker/rstudio like this:
docker run -e ROOT=TRUE -e PASSWORD=yourpassword --rm -p 8787:8787 rocker/tidyverse
in RStudio, open terminal and run
sudo apt update && sudo apt install fonts-noto-cjk
this will install Noto font set for CJK environment.
Once you do, simply set default typeface for the display device by calling from R,
par(family="Noto Sans")
Now it should be able to display any CJK characters in plots, like "**語とか日本語とか"!
This should work for pretty much all languages, as Noto is a font project aiming to cover every language on Earth. Just install the appropriate apt package for the desired language. ("fonts-noto-core" should cover nealy all languages)
https://www.google.com/get/noto/
https://packages.debian.org/sid/fonts-noto-core
from shiny.
(Filed in the wrong repo, suggest to move to rocker/shiny)
from shiny.
above solution is not limited to just shiny, but all rocker images that use ggplot etc. I feel this is the correct repo :)
from shiny.
It's not, and as we something try to explain gently, there are thousands of packages on CRAN, and tens of thousands of other packages on the distribution repositories. We cannot possibly cater to all possible sub-specialisations. I understand that not having the local font is frustrating, but even if we add it for you it is still missing for a number of other languages. So best maybe to consider a derived container or a locallly modified one.
from shiny.
I think this problem has been solved, so I will close it.
from shiny.
Related Issues (20)
- /usr/bin/shiny-server.sh: no such file or directory error HOT 2
- Shiny version HOT 2
- Remove /tmp/downloaded_packages HOT 4
- no xtail in Shiny:Devel HOT 1
- New Version of Shiny Server HOT 5
- Update shiny-verse to later R-ver HOT 3
- nginx reverse proxy - shiny server issue HOT 1
- request for merge of shiny-verse and verse (i.e. Tidyverse, LaTeX, and Shiny all together) HOT 2
- Can't read environment variable set in docker-compose HOT 5
- Permission denied when running rocker/shiny-verse and rocker/shiny images HOT 4
- Regression for running as non-root user? HOT 6
- [Resolved] Where is application output? print, logging, etc. HOT 2
- Security Vulnerabilities HOT 3
- rocker/shiny-verse latest vs 3.6.3 HOT 4
- rocker/shiny-verse latest vs 3.6.3 HOT 1
- Provide a bootstrap endpoint HOT 1
- doesn't work on ARM architecture HOT 3
- Basic setup for 3.6.3 does not work for 4.0.3? HOT 1
- Missing git tags HOT 1
- Unable to save to mounted volume HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shiny.