Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6125125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:12:42+00:00 2026-05-23T16:12:42+00:00

I want to open R with input encoding UTF-8 for plots, and I can’t

  • 0

I want to open R with input encoding UTF-8 for plots, and I can’t seem to get it to work.

This is my (short) program in plot.R

plot(1:5, xlab="ř")

And this is what I get (I, sadly, have to use old version of R)

~/$ R <plot.R  --no-save --encoding="utf-8"

R version 2.8.0 (2008-10-20)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> plot(1:5, xlab="ř")
Warning messages:
1: In title(...) :
  conversion failure on 'ř' in 'mbcsToSbcs': dot substituted for <c5>
2: In title(...) :
  conversion failure on 'ř' in 'mbcsToSbcs': dot substituted for <99>
3: In title(...) :
  conversion failure on 'ř' in 'mbcsToSbcs': dot substituted for <c5>
4: In title(...) :
  conversion failure on 'ř' in 'mbcsToSbcs': dot substituted for <99>
> 

Googling anything R-related is a daunting task, so I am asking here. Am I doing something wrong? Or is it just the old R version?

edit: it seems like the error is not in input encoding, but in something else – when I write the letter as \u0159, it does the same thing. So it is probably something with PDF fonts, I guess.

To reply to Joran: I don’t really know the intricacies of R output devices; my R outputs by default into PDF. I have to use Fedora, release 8. (again, ancient, as well as the R version)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:12:42+00:00Added an answer on May 23, 2026 at 4:12 pm

    I forced my admin to upgrade R and it works, but I needed to set up Sys.setlocale first.

    That about answers my question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to open a file for reading. However, in the context of this
I want to open a specific subpage of my CHM -Help for my program.
In my javascript i want to open URL in new window with this method:
I want to open a window that will display some text like Validating input
We have a lot of input s in a document. We want to open
I want to do something like this in command line: Enter input filename: filename
I want to open calculator which I created. This is the code I wrote:
I've come across this while doing work on creating my own Keyboard but can't
I want open a path to vim from Screen's copy-mode by Ctrl-A f similarly
I want to open a file from a Class in C# using a Process,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.