FIELDimageR
FIELDimageR copied to clipboard
Problems with FIELDImageR Installation
I need help with the installation of FIELDimage package.
I followed all the instructions and I could download everything, unfortunately today I was unable to run FIELDimageR and I had to remove all the packages related to it.
Now, I’m trying to download everything and it appears the following messages with DEVTOOLS:
devtools::install_github(“OpenDroneMap/FIELDimageR”) devtools::install_github(“filipematias23/FIELDimageR”)
ERROR: dependency ‘EBImage’ is not available for package ‘FIELDimageR’
removing ‘C:/Users/Maggie/AppData/Local/R/win-library/4.3/FIELDimageR’ Warning message: In i.p(…) : installation of package ‘C:/Users/Maggie/AppData/Local/Temp/Rtmpwn6zds/file22cc5f8f3d78/FIELDimageR_0.6.0.tar.gz’ had non-zero exit status In the other site, when I try to install: FIELDimageR_0.6.0.tar.gz (FIELDimageR_0.1.6) and (FIELDimageR_0.4.1) appears the following message:
install.packages(“FIELDimageR_0.6.0.tar.gz”, repos = NULL, type=“source”)
Installing package into ‘C:/Users/Maggie/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified) ERROR: dependency ‘EBImage’ is not available for package ‘FIELDimageR’
removing ‘C:/Users/Maggie/AppData/Local/R/win-library/4.3/FIELDimageR’ Warning in install.packages : installation of package ‘FIELDimageR_0.6.0.tar.gz’ had non-zero exit status
Even devtools is givin problems, unable to download it.
I’m still working on it. I tried with several R versions and even downloaded LINUX MINT in order to work with DOCKER. But I’m at home right now and my internet is not soo good. When I come back to the lab I’ll work on it, but I’m seriously looking for other options, because that package had given a lot of problems to many people. It is an excellent job but unfortunately it’s unsustainable to work like that.
Hi there, yyou need to install "EBImage": https://bioconductor.org/packages/release/bioc/html/EBImage.html
Here is the code:
if (!require("BiocManager", quietly = TRUE)) install.packages("BiocManager") BiocManager::install("EBImage") devtools::install_github(“OpenDroneMap/FIELDimageR”) devtools::install_github(“filipematias23/FIELDimageR”)
You may need to install some other packages... Check in the error msg about missing package "...". One example is the package 'caret' that always ask people to download it first!
Hope it helps!
Hi,
I still have the problem, see the error message:
tentando a URL 'https://cloud.r-project.org/src/contrib/DescTools_0.99.51.tar.gz' Content type 'application/x-gzip' length 2644614 bytes (2.5 MB)
downloaded 2.5 MB
ERROR: failed to lock directory ‘/home/mfm2174/R/x86_64-pc-linux-gnu-library/4.1’ for modifying Try removing ‘/home/mfm2174/R/x86_64-pc-linux-gnu-library/4.1/00LOCK-terra’
- installing source package ‘DescTools’ ... ** package ‘DescTools’ successfully unpacked and MD5 sums checked ** using staged installation ** libs
ERROR: compilation failed for package ‘DescTools’
- removing ‘/home/mfm2174/R/x86_64-pc-linux-gnu-library/4.1/DescTools’
- installing source package ‘raster’ ... ** package ‘raster’ successfully unpacked and MD5 sums checked ** using staged installation ** libs
I'm trying to download DescTools from Linux prompt but I'm having problems.