1

我正在尝试运行 phateR 的教程:

https://cran.r-project.org/web/packages/phateR/readme/README.html

但它不断进入计算 kmeans 步骤,并以未知的致命错误完全崩溃 R。我已尝试使用以下步骤进行故障排除:

https://github.com/KrishnaswamyLab/phateR/issues/52

但仍然有同样的问题。

reticulate::py_discover_config(required_module = "phate")
python:         C:/Users/harri/AppData/Local/r-miniconda/envs/R-MINI~1/python.exe
libpython:      C:/Users/harri/AppData/Local/r-miniconda/envs/R-MINI~1/python39.dll
pythonhome:     C:/Users/harri/AppData/Local/r-miniconda/envs/R-MINI~1
version:        3.9.6 | packaged by conda-forge | (default, Jul 11 2021, 03:37:25) [MSC v.1916 64 bit (AMD64)]
Architecture:   64bit
numpy:          C:/Users/harri/AppData/Roaming/Python/Python39/site-packages/numpy
numpy_version:  1.21.0
phate:          C:\Users\harri\AppData\Roaming\Python\Python39\site-packages\phate\__init__.p

有人可以帮助我吗?谢谢你。

data(tree.data)
reticulate::py_discover_config(required_module = "phate")
reticulate::import("phate")
library(phateR)
tree.phate <- phate(tree.data$data)
4

0 回答 0