Comments (9)
Thank you @mytarmail. I have made a change to the save/load model code that attempts to detect Windows 7 and use the --force-local
argument, so hopefully Windows 7 users won't need to use the TAR_OPTIONS
environment variables with the next version of uwot.
from uwot.
I'm afraid I don't have access to a Windows 7 machine to test this. On Windows 11, I am unable to reproduce the problem.
Does running:
utils::untar(model_file, list = TRUE)
work? You should get out something like:
[1] "uwot/model" "uwot/nn1"
from uwot.
Hi! I try it
utils::untar(model_file, list = TRUE)
[1] "/usr/bin/tar: Cannot connect to C: resolve failed"
attr(,"status")
[1] 128
Warning message:
In system(cmd, intern = TRUE) :
running command 'tar.exe -tf "C:\Users\tars\AppData\Local\Temp\RtmpiG0lBu\iris_umapef02e9815cc"' had status 128
..
file.exists("C:\\Users\\tars\\AppData\\Local\\Temp\\RtmpiG0lBu\\iris_umapef02e9815cc")
[1] TRUE
from uwot.
It looks like the colon in the drive letter makes tar
think it's a file on another machine. This changed on Windows 10 onwards according to ?utils::tar
. Does this work:
utils::untar(model_file, list = TRUE, extras = c("--force-local"))
Unfortunately I can't test this because the tar on Windows 10 and above doesn't support --force-local
.
But If that does work for you, then maybe setting a TAR_OPTIONS
environment variable with the value --force-local
will make load_uwot
and save_uwot
work on Windows 7.
from uwot.
It worked! Thank you very much for your help and great package
from uwot.
I can attempt to fix the load_uwot
and save_uwot
functions by detecting if the user is running Windows 7. @mytarmail could you paste the output from Sys.info()
?
from uwot.
Yes, sure
Sys.info()
sysname release version
"Windows" "7 x64" "build 7601, Service Pack 1"
nodename machine login
"TARS-ПК" "x86-64" ....
user effective_user
"tars" "tars"
from uwot.
Thank you @mytarmail. I have made a change to the save/load model code that attempts to detect Windows 7 and use the
--force-local
argument, so hopefully Windows 7 users won't need to use theTAR_OPTIONS
environment variables with the next version of uwot.
No, this is a big thank for you.
from uwot.
Related Issues (20)
- Test failure an arm64, ppc64el and s390x HOT 8
- Add general_simplicial_set_intersection to the uwot API HOT 3
- umap_transform causes R Studio to abort (R encountered a fatal error.) HOT 4
- umap_transform can give odd results with dens_scale HOT 17
- umap transform fuzzy graph HOT 3
- Citing {uwot} HOT 1
- Weird looking UMAP for spectral flow data HOT 3
- What C++ version should CXX_STD have? HOT 16
- devtools can no longer build uwot on Windows HOT 5
- Reproducibility issue with the same data and OS HOT 17
- umap_transform with seurat umap coordinate HOT 2
- dgCMatrix_colSums' not found error when using a binary matrix HOT 2
- irlba as_cholmod_sparse problems HOT 1
- Does uwot need connecting internet? HOT 4
- retrieve umap parameters HOT 2
- `fuzzy_simplicial_set()` for BBKNN HOT 5
- Differences in model parameters when calling umap() causes umap_transform() to error HOT 3
- How to input similarity_graph back into umap parameters? HOT 3
- Range scale input before optimization 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 uwot.