Comments (13)
@sqjin thanks!
I just delete the *.o files and the *.so file, and reinstall CellChat. I saw the cpp files recompiled and generated a CellChat.dll file.
I think I made it :)
from cellchat.
from cellchat.
Hello, I am trying to install this package with R studio on (Windows 10), and I installed the lasted version of NMF, circlize, and ComplexHeatmap. But I am still receiving the same error message, which is:
Error: Failed to install 'CellChat-master.zip' from local:
Could not find tools necessary to compile a package
from cellchat.
Hello, I am trying to install this package with R studio on (Windows 10), and I installed the lasted version of NMF, circlize, and ComplexHeatmap. But I am still receiving the same error message, which is: Error: Failed to install 'CellChat-master.zip' from local: Could not find tools necessary to compile a package
Hi. I have solve the similar problem by downlown the right version of Rtools according to my R version( https://cloud.r-project.org/ ). If you need the Rtools version lower than 4.2, you need to put Rtools on the PATH after installation. details: https://cloud.r-project.org/
from cellchat.
@imchangchang Hello, I have successfully installed CellChat on Windows 10. I think windows 7 might be too old. CellChat_Rcpp.o is the complied C++ code. You might need to figure out how to compile C++ code with R for Windows. This website might be helpful.
from cellchat.
Hello, I tried to install this package with R studio on windows10, but failed with the following message:
ERROR: dependency 'BiocNeighbors' is not available for package 'CellChat'
from cellchat.
Hello,I tried to install this package with R studio on windows10,and i installed the lasted version of NMF, circlize and ComplexHeatmap. But i still can`t install CellChat successfully.
Warning message:In i.p(...) :
The value of the exit status when installing the package "C:/Users/gsrfs/AppData/Local/Temp/RtmpUVa2em/file582024621d28/CellChat_1.6.1.tar.gz" is not 0.
from cellchat.
Hello, I am trying to install this package with R studio on (Windows 10), and I installed the lasted version of NMF, circlize, and ComplexHeatmap. But I am still receiving the same error message, which is:
(Error in library(CellChat, warn.conflicts = FALSE) :
there is no package called ‘CellChat’)
from cellchat.
@Ghadeer98 Have you downloaded the source codes locally and delete the *.o files and the *.so file, and reinstall CellChat.
from cellchat.
I don't know exactly what you mean by locally but here (in the attached figure) is the code that I run on R studio's script
from cellchat.
when I run this code (devtools::install_github("sqjin/CellChat")), i got this message (not the whole message, it is cropped):
Warning: Fortran 2018 deleted feature: Shared DO termination label 60 at (1)
g++ -std=gnu++17 -shared -s -static-libgcc -o minqa.dll tmp.def altmov.o bigden.o biglag.o bobyqa.o bobyqb.o lagmax.o minqa.o newuoa.o newuob.o prelim.o rescue.o trsapp.o trsbox.o trstep.o uobyqa.o uobyqb.o update.o updatebobyqa.o -LC:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/lib -lgfortran -lm -lquadmath -LC:/PROGRA1/R/R-431.1/bin/x64 -lR
installing to C:/Users/user/AppData/Local/R/win-library/4.3/00LOCK-minqa/00new/minqa/libs/x64
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
- DONE (minqa)
- installing source package 'reticulate' ...
** package 'reticulate' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'G__1.EXE (GCC) 12.2.0'1/R/R-43
g++ -std=gnu++17 -I"C:/PROGRA1.1/include" -DNDEBUG -I'C:/Users/user/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o1/R/R-43
g++ -std=gnu++17 -I"C:/PROGRA1.1/include" -DNDEBUG -I'C:/Users/user/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c event_loop.cpp -o event_loop.o1/R/R-43
g++ -std=gnu++17 -I"C:/PROGRA1.1/include" -DNDEBUG -I'C:/Users/user/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c libpython.cpp -o libpython.o1/R/R-43
g++ -std=gnu++17 -I"C:/PROGRA1.1/include" -DNDEBUG -I'C:/Users/user/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c output.cpp -o output.o1/R/R-43
g++ -std=gnu++17 -I"C:/PROGRA1.1/include" -DNDEBUG -I'C:/Users/user/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c python.cpp -o python.o1/R/R-43
g++ -std=gnu++17 -I"C:/PROGRA1.1/include" -DNDEBUG -I'C:/Users/user/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c readline.cpp -o readline.o1/R/R-43
g++ -std=gnu++17 -I"C:/PROGRA1.1/include" -DNDEBUG -I'C:/Users/user/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c signals.cpp -o signals.o1/R/R-43~1.1/bin/x64 -lR
g++ -std=gnu++17 -shared -s -static-libgcc -o reticulate.dll tmp.def RcppExports.o event_loop.o libpython.o output.o python.o readline.o signals.o -LC:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA
installing to C:/Users/user/AppData/Local/R/win-library/4.3/00LOCK-reticulate/00new/reticulate/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path - DONE (reticulate)
The downloaded source packages are in
‘C:\Users\user\AppData\Local\Temp\RtmpCMkhcl\downloaded_packages’
── R CMD build ───────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\user\AppData\Local\Temp\RtmpCMkhcl\remotes12c024231f30\sqjin-CellChat-418b660/DESCRIPTION' (613ms)
─ preparing 'CellChat': (6.2s)
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts (917ms)
─ checking for empty or unneeded directories
─ building 'CellChat_1.6.1.tar.gz'
Installing package into ‘C:/Users/user/AppData/Local/R/win-library/4.3’
(as ‘lib’ is unspecified)
ERROR: dependency 'BiocNeighbors' is not available for package 'CellChat'
- removing 'C:/Users/user/AppData/Local/R/win-library/4.3/CellChat'
Warning messages:
1: package ‘BiocNeighbors’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
2: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\user\AppData\Local\R\win-library\4.3\00LOCK\dplyr\libs\x64\dplyr.dll to C:\Users\user\AppData\Local\R\win-library\4.3\dplyr\libs\x64\dplyr.dll: Permission denied
3: In i.p(...) :
installation of package ‘C:/Users/user/AppData/Local/Temp/RtmpCMkhcl/file12c044e2179f/CellChat_1.6.1.tar.gz’ had non-zero exit status
from cellchat.
Hello, I am trying to install this package with R studio on (Windows 10), and I installed the lasted version of NMF, circlize, and ComplexHeatmap. But I am still receiving the same error message, which is: Error: Failed to install 'CellChat-master.zip' from local: Could not find tools necessary to compile a package
Hi. Did you solve the problem?I had the same problem.
from cellchat.
devtools::install_github("sqjin/CellChat")
Downloading GitHub repo sqjin/CellChat@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/sqjin/CellChat/tarball/HEAD' failed
how can i solve this problem?
from cellchat.
Related Issues (20)
- Error netVisual_heatmap() on a merged object from Seurat
- netAnalysis_signalingRole_network cluster.cols and cluster.rows not working HOT 1
- error with identifyOverExpressedGenes(cellchat) HOT 1
- Error in if (dim(prob)[3] <= 25) { : argument is of length zero HOT 2
- NetP empty after running computeCommunProb HOT 1
- Missing Column `annotation` in LRsig after merge cellchat and celltalk L-R pair
- parameter "group.by" in subsetCellChat doesn't work
- Issue with installing CellChat package in R studio HOT 1
- Why haven't we utilized single-cell proteomics for cell communication recognition and prediction? HOT 1
- Error in createCellChat object
- [email protected] 0 x 12257 sparse Matrix of class "dgCMatrix" HOT 2
- rankingsimilarity - back to issue #160 HOT 1
- unused arguments (min.dist = 0.3, n.neighbors = k) HOT 1
- Using a two-species sample HOT 1
- Error in base::colSums(x, na.rm = na.rm, dims = dims, ...) : 'x' must be an array of at least two dimensions HOT 5
- could not find function "findEnrichedSignaling" HOT 1
- mergeCellChat
- explanation of the df from subsetCommunication HOT 4
- error in netVisual_bubble plotting HOT 4
- Incorrect documentation / use of thresh.pc argument 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 cellchat.