Comments (5)
You're welcome! I'll leave this open if you don't mind to see if I can find a workaround eventually.
from qs.
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.
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.
@cuttlefish44 can you provide path as bytes (with charToRaw
)? I suppose the encoding on Windows is not UTF-8.
from qs.
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)
- Reading QS file from website inside R session HOT 2
- To do: Add error message for file names too long
- Need to check for writeable path
- Feature Request: function to read attributes HOT 4
- feature request: report filename when giving warnings HOT 2
- Linking to libatomic required on 32-bit platforms HOT 4
- Error in qdeserialize(x) : Endian of system doesn't match file endian HOT 15
- Apple Silicon ? HOT 1
- Suggestion : default parameter nthread HOT 2
- can't install 'qs' package on remote server CentOS Linux 7 (Core) HOT 1
- replacement of save.image ? HOT 2
- zstd decompression error - qread() HOT 2
- Documentation and examples, especially for qsave_ptr HOT 1
- Unexpected behavior when loading .qs file HOT 2
- Extra memory usage when loading an object twice HOT 2
- Slowly when using multiple threads HOT 1
- ALTREP serialization and deserialization methods are ignored HOT 20
- Rocky 8 Linux: ld: cannot find -latomic HOT 17
- Saving ggplot object results in indefinitely growing file HOT 3
- qs apparently slower than rds when saving nested lists HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qs.