TransWikia.com

How to solve "Error: (converted from warning) Setting LC_CTYPE failed, using "C"?

Unix & Linux Asked by coding on January 30, 2021

I am trying to install a library in R and I have a this message

Error: (converted from warning) Setting LC_CTYPE failed, using "C"

What I saw is some solutions but for mac User, like this one

Type in your terminal

system("defaults write org.R-project.R force.LANG en_US.UTF-8")

But I am working in a server with FEDORA an this is not working for me, any help will be awesome.

Thank you!

One Answer

I had the same problem with a server. Our support said I should try the command:

echo $LC_CTYPE

The system returned UTF-8 where it should return nothing.

The solution for me was to use the following command:

unset LC_CTYPE

Answered by ACZ on January 30, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP