Coder Social home page Coder Social logo

Comments (7)

kebuAAA avatar kebuAAA commented on August 21, 2024

I solved this problem with the guidance in readme. So sorry to bother you.

from radian.

kebuAAA avatar kebuAAA commented on August 21, 2024

This setting worked well but it conflicts with my zip.exe. After checking the Beta: Use Unicode UTF-8 for worldwide language support, I will see some garbage characters of file name in my zip file. So I just wonder if there is any otrher solution to deal with this problem.

from radian.

randy3k avatar randy3k commented on August 21, 2024

What version of radian are you using?

from radian.

kebuAAA avatar kebuAAA commented on August 21, 2024

What version of radian are you using?

I'm so sorry for fogetting to provide necessary infomation:

C:\Users\lm>radian --version
radian version: 0.6.7
r executable: D:\R\R-4.3.1\bin\R
r version: 4.3.1
python executable: C:\Users\lm\AppData\Local\Programs\Python\Python310\python.exe 
python version: 3.10.2

And I have solved this problem by adding a new .radian_profile in the %USERPROFILE% to avoid stepping into the elif statement in rutils.py. I think this error happened because the return vallue of the user_path(".radian_profile") contained unicode characters(I changed my defalut saving path). So thankful for your reply.❤️❤️

from radian.

mqdw222 avatar mqdw222 commented on August 21, 2024

how to solve this problem?help!help!

from radian.

kebuAAA avatar kebuAAA commented on August 21, 2024

how to solve this problem?help!help!

Are you sure you meet the same problem with me? If so, solutions may be:

  • Change the defalult locale in your computer just as the readme does. Changing the system locale or checking the Beta: Use Unicode UTF-8 for worldwide language support can solve this problem(My original locale is simplified Chinese).
  • adding a new .radian_profile in the %USERPROFILE% to avoid stepping into the elif statement in rutils.py

from radian.

randy3k avatar randy3k commented on August 21, 2024

Um, I believe that for some reason, user_path(".radian_profile") or base::path.expand("~") has returned a non-utf8 string despite utf-8 locale should have set earlier.

I will be great if you could test if rutils.set_locale is doing its job (unless we have LC_CTYPE set?).

from radian.

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.