Git Product home page Git Product logo

Comments (13)

imchangchang avatar imchangchang commented on August 26, 2024 8

@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.

sqjin avatar sqjin commented on August 26, 2024 1

from cellchat.

Fantasythorn avatar Fantasythorn commented on August 26, 2024 1

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.

yeaon615 avatar yeaon615 commented on August 26, 2024 1

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.

sqjin avatar sqjin commented on August 26, 2024

@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.

sdhbiusdgb avatar sdhbiusdgb commented on August 26, 2024

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.

Fsrgsr avatar Fsrgsr commented on August 26, 2024

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.

Ghadeer98 avatar Ghadeer98 commented on August 26, 2024

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.

sqjin avatar sqjin commented on August 26, 2024

@Ghadeer98 Have you downloaded the source codes locally and delete the *.o files and the *.so file, and reinstall CellChat.

from cellchat.

Ghadeer98 avatar Ghadeer98 commented on August 26, 2024

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
image

from cellchat.

Ghadeer98 avatar Ghadeer98 commented on August 26, 2024

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'
    g++ -std=gnu++17 -I"C:/PROGRA
    1/R/R-431.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.o
    g++ -std=gnu++17 -I"C:/PROGRA
    1/R/R-431.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.o
    g++ -std=gnu++17 -I"C:/PROGRA
    1/R/R-431.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.o
    g++ -std=gnu++17 -I"C:/PROGRA
    1/R/R-431.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.o
    g++ -std=gnu++17 -I"C:/PROGRA
    1/R/R-431.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.o
    g++ -std=gnu++17 -I"C:/PROGRA
    1/R/R-431.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.o
    g++ -std=gnu++17 -I"C:/PROGRA
    1/R/R-431.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.o
    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
    1/R/R-43~1.1/bin/x64 -lR
    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.

yeaon615 avatar yeaon615 commented on August 26, 2024

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.

huatiancuoledi avatar huatiancuoledi commented on August 26, 2024

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)

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.