Giter Club home page Giter Club logo

Comments (5)

traversc avatar traversc commented on May 30, 2024 1

You're welcome! I'll leave this open if you don't mind to see if I can find a workaround eventually.

from qs.

traversc avatar traversc commented on May 30, 2024

This is a hard one, unfortunately I am not very familiar working with wide characters -- I'm having trouble replicating since I don't have a japanese windows locale. Does saveRDS(iris, "中間データ/あいりす.rds") work?

C++ standard doesn't directly understand wide characters as I understand, and I'm unsure of R's support on windows too.

In the mean time, could you define a new function like this:

qsave2 <- function(file, ...) {
  temp <- getwd()
  setwd(dirname(file))
  qsave(basename(file),...)
  setwd(temp)
}

from qs.

cuttlefish44 avatar cuttlefish44 commented on May 30, 2024

Thanks for your response.
OK, I understood it is hard. I don't want you to take time to solve a language, not essential problem.

Does saveRDS(iris, "中間データ/あいりす.rds") work?
Yes, it works.

I decided to make/use a custom function like you showd me kindly. Again, qs package is really helpful for me, THANKS FOR YOUR WORK !!

from qs.

artemklevtsov avatar artemklevtsov commented on May 30, 2024

@cuttlefish44 can you provide path as bytes (with charToRaw)? I suppose the encoding on Windows is not UTF-8.

from qs.

cuttlefish44 avatar cuttlefish44 commented on May 30, 2024

@artemklevtsov; @traversc

Surprisingly, I can't reproduce the issue.
I haven't changed my environment related R but Rstudio (I've done it update).
This issue perhaps be caused by Rstudio.
I just don't feel satisfied... but maybe my problem has been solved.
If I encounter this problem again, I'll report it in more detail.

Thank you for your kindness.

from qs.

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.