<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: arc.write error in R-ArcGIS Questions</title>
    <link>https://community.esri.com/t5/r-arcgis-questions/arc-write-error/m-p/1218026#M395</link>
    <description>&lt;P&gt;I have the same issue.&amp;nbsp; I updated my R to&amp;nbsp;4.2.1 and then updated all my R Packages.&amp;nbsp; Let me know if it helps.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 20:43:02 GMT</pubDate>
    <dc:creator>Explorador</dc:creator>
    <dc:date>2022-09-30T20:43:02Z</dc:date>
    <item>
      <title>arc.write error</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/arc-write-error/m-p/1170573#M378</link>
      <description>&lt;P&gt;Good day all,&lt;/P&gt;&lt;P&gt;I am getting the following error while writing a dataframe to a GDB. The dataframe imported is feature class from a GDB brought in via the `sf` package. After some data manipulation I am trying to write the dataframe back into another GDB.&lt;/P&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Error in .call_proxy("arc_write", path, pairlist(data = data, coords = coords,  : 
  insert row failed&lt;/LI-CODE&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;library(sf)
library(arcgisbinding)

arc.write("path/GDB.gdb/Feature_Class_Name", data = df)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 04 May 2022 14:52:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/arc-write-error/m-p/1170573#M378</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2022-05-04T14:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: arc.write error</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/arc-write-error/m-p/1216995#M393</link>
      <description>&lt;P&gt;I've ran into similar issues with arc.write after modifying the sf object in R and was able to fix it using the sf::st_make_valid command. Not sure what the issue was or why it fixed it but it helped me out a few times now. I've also had to use st_cast to ensure it was the correct geometry type that the gdb was expecting (again not sure why that would be an issue...)&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 16:11:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/arc-write-error/m-p/1216995#M393</guid>
      <dc:creator>STARKE</dc:creator>
      <dc:date>2022-09-28T16:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: arc.write error</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/arc-write-error/m-p/1218026#M395</link>
      <description>&lt;P&gt;I have the same issue.&amp;nbsp; I updated my R to&amp;nbsp;4.2.1 and then updated all my R Packages.&amp;nbsp; Let me know if it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 20:43:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/arc-write-error/m-p/1218026#M395</guid>
      <dc:creator>Explorador</dc:creator>
      <dc:date>2022-09-30T20:43:02Z</dc:date>
    </item>
  </channel>
</rss>

