Skip to content

gdal19.dll is missing from your computer

2 messages · Rutherford Platt, Michael Sumner

#
Hello,

I'm a relatively new user, so bear with me.

I'm using a Windows 7 computer and R 3.1.   I wrote some scripts back in August that worked perfectly.  Now, when the script reaches 'require(rgdal)' I get several error messages in a row that say: "The program can't start because gdal19.dll is missing from your computer.  Try reinstalling the program to fix this problem"

I then get the following output:
Loading required package: rgdal
Loading required package: sp
rgdal: version: 0.8-16, (SVN revision 498)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.11.0, released 2014/04/16
Path to GDAL shared files: C:/Users/rplatt.GETTYSBURG/Documents/R/win-library/3.1/rgdal/gdal
GDAL does not use iconv for recoding strings.
Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
Path to PROJ.4 shared files: C:/Users/rplatt.GETTYSBURG/Documents/R/win-library/3.1/rgdal/proj

It seems like rgdal may have successfully installed, so why do I get all these error messages?  And how can I get rid of them?

Thanks!
#
Hi, it's actually not an error.  The message is there to be explicit about
the details of exactly what installed GDAL is used, which has been very
helpful in the past for solving problems like your gdal19.dll one. It's
less complicated on Windows if you use the CRAN binary, but on other
systems or on other types of Windows builds it's extremely handy to have
that information readily.

You can keep the peace with:

 suppressPackageStartupMessages(library(rgdal))

or

suppressMessages(library(rgdal))

Cheers, Mike.



On Fri Dec 19 2014 at 02:45:34 Rutherford Platt <rplatt at gettysburg.edu>
wrote: