[R-sig-Geo] strange trouble with writeOGR call

Edzer Pebesma edzer.pebesma at uni-muenster.de
Thu Feb 27 08:33:51 CET 2014


The first thing I would try is let the application print the complete
file name (path+file) where it wants to create a layer, and then verify
by hand that under the permissions of the application you can actually
do this (you have write permission, there is disk space).

On 02/27/2014 04:49 AM, Cynthia Hart wrote:
> I am working on an application that uses 'Shiny'; which allows for
> basically running R through a web browser.  My application is tested on
> my Windows laptop then ported to a Linux server.   My application
> analyzes spatial data, and uses the rgdal library.
> 
> I am getting s strange error from writeOGR from a recent version of my
> application, and I don't understand why, as the error did not occur
> before on either platform, and the changes should not have effected the
> call to write.
> 
> 'Error:  Layer Creation failed'
> 
> is the error I am getting.  Which seems to imply a permissions problem,
> but I've analyzed that angle to death, and I cannot see a problem (I
> even saved a temporary variable to disk right before the writeOGR call,
> to the same intended directory, and that works fine).   Is there some
> other cause for this error, some other possible problem I should be
> looking for?  Thanks!
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany. Phone: +49 251
83 33081 http://ifgi.uni-muenster.de GPG key ID 0xAC227795

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20140227/5089dffd/attachment.bin>


More information about the R-sig-Geo mailing list