![]() I ran yay -Syu and tried again and got the same thing. I then tried to install both r-sf and r-classint with yay and both threw an error that was similar: curl: (22) The requested URL returned error: 404 When I try to install classInt in R it fails. Installation of package ‘classInt’ had non-zero exit status Make: *** Error 127ĮRROR: compilation failed for package ‘classInt’ Make: gfortran: No such file or directory Gfortran -fno-optimize-sibling-calls -fpic -g -O2 -c fish1.f -o fish1.o ** package ‘classInt’ successfully unpacked and MD5 sums checked * installing *source* package ‘classInt’. Installing package into ‘/home/sage/R/x86_64-pc-linux-gnu-library/4.2’Ĭontent type 'application/x-gzip' length 439500 bytes (429 KB) Installation of package ‘sf’ had non-zero exit status Installation of package ‘units’ had non-zero exit statusĮRROR: dependencies ‘classInt’, ‘units’ are not available for package ‘sf’ You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.ĮRROR: configuration failed for package ‘units’ If the header was not found, replacing paths with appropriate values. configure-args='-with-udunits2-include=/usr/include/udunits2' configure-args='-with-udunits2-lib=/usr/local/lib' If udunits2 is already installed in a non-standard location, use: Running R 4.2.2 when I try install.packages("sf")Ĭonfigure: error: in `/tmp/RtmpNAKjgg/R.INSTALL224422399ca0/units':Ĭonfiguration failed because libudunits2.so was not found. ![]() And we can then run again: install.I’m trying to install the R package “sf” but I’m running into errors there that lead me to think I need to install classInt. This will install the headers of the GLU Library. In RedHat, it would be: yum install Mesa-devel It means that GLU Library is missing and must be installed.įor example, on Ubuntu, we can run: sudo apt-get install libglu1-mesa-dev If these lines appear: checking GL/gl.h usability. From the packages DESCRIPTION file, these are all Suggested:, i. In fact several other packages, some of them not present on typical user setups, are required. One way is to read the log of the installation of rgl. On my machine (not a Windows box) I needed to install (via compilation) the 'sass' package before bslib could be installed. Once we know that OpenGL and GLU Library are mandotory, we have to check whether they already are present or not in the system. The index page of the package rgl provides some important information: SystemRequirements: OpenGL, GLU Library, zlib (optional), libpng (>=1.2.9, optional), FreeType (optional) The installation of rgl needs some system libraries to be previously installed. Installation of package ‘rgl’ had non-zero exit status In install.packages("rgl", dependencies = TRUE) : noĬonfigure: error: missing required header GL/gl.hĮRROR: configuration failed for package ‘rgl’ yesĬhecking whether accepts -fvisibility. yesĬhecking whether gcc -std=gnu99 accepts -fvisibility. (cached) none neededĬhecking whether _attribute_((visibility())) is supported. (cached) yesĬhecking for gcc -std=gnu99 option to accept ISO C89. (cached) yesĬhecking whether gcc -std=gnu99 accepts -g. (cached) gcc -std=gnu99Ĭhecking whether we are using the GNU C compiler. none neededĬhecking how to run the C preprocessor. yesĬhecking for gcc -std=gnu99 option to accept ISO C89. yesĬhecking whether gcc -std=gnu99 accepts -g. noĬhecking whether we are using the GNU C compiler. a.outĬhecking whether we are cross compiling. yesĬhecking for C compiler default output file name. ![]() ** package ‘rgl’ successfully unpacked and MD5 sums checkedĬhecking whether the C compiler works. Please select a CRAN mirror for use in this session -Ĭontent type 'application/x-gzip' length 2014799 bytes (1.9 MB) Installing package into ‘/root/R/x86_64-unknown-linux-gnu-library/3.2’ install.packages("rgl", dependencies=TRUE) ![]() I would like to use plot 3D so I was trying to download rgl but whenever I am trying to install this, I am getting this error in rgl package installation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |