Giter VIP home page Giter VIP logo

Comments (4)

arangrhie avatar arangrhie commented on August 21, 2024 1

Seems like for some OS, the R isn't installed to use the cairo engine by default.
I added this to commit ff0f689 to explicitly set the plotting engine as cairo.

Rscript $MERQURY/plot/plot_spectra_cn.R --help
Will give you other options. Use -p to output in pdf.

Thanks,
Arang

from merqury.

brianwalenz avatar brianwalenz commented on August 21, 2024

I've seen this - in other apps - when I don't have the correct font installed, but usually only for the 'fancy' symbols like emoji. Since this is just standard normal letters (the label on the X axis in the bottom picture reads 6B=k 6D=m 65=e 72=r 5f=_ and so on) and I'd have to suspect something is wrong with your R installation.

Here's a couple of links to others with a similar problem, but no solution that I saw:
https://stackoverflow.com/questions/59796585/r-plots-corrupted-missing-characters-for-devices-other-than-pdf
https://stackoverflow.com/questions/60565754/greek-letters-in-r-expressions-result-in-missing-glyph

from merqury.

YiRan0220 avatar YiRan0220 commented on August 21, 2024

Thanks! Yes, it is my R installation problem. It may be because the R version is too low. I updated R from 3.6.1 to 4.0.3 and solved the problem perfectly. Thank you very much!

from merqury.

YiRan0220 avatar YiRan0220 commented on August 21, 2024

Hello,
Another question, can I output images to PDF files, I have not found the relevant command options, thank you

from merqury.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.