Unable to Install gdalUtils on R

I am trying to install gdalUtils on to R but it throws error:

"R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> install.packages("gdalUtils")
Installing package into ‘C:/Users/Lenovo/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘gdalUtils’ 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

Can anyone help me out hear.

gdalUtils is no longer in CRAN because it hasn't been maintained in at least a couple of years but you can try to install it from the GitHub repository. Although, there is no guarantee it is going to work with your R version.


Thank you for your kind help. If possible could you suggest any other libraries for handling hdf files in R.

What flavor of HDF files do you need to handle? there are several...
The one that comes to my mind is netCDF, which can be read in with terra::rast()

I am working with HDF4 and HDF5 formats.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.