I need to update tables in an MS Access database, but sqlSave(..., append =
TRUE) keeps returning errors. I've spent the better part of the last hour
on Google, but haven't found an adequate answer. Here's my code.
#+ Munge ----
# Call in resampled plots from CRC_Data.DB
resample <- sqlFetch(CRC_Data.DB, "tblResampledPlots")
glimpse(resample)
Error in sqlSave(Summaries.DB, plots.write, "tblPlotsResampled", append =
TRUE) :
unable to append to table ?tblPlotsResampled?
Thanks,
MVS
=====
Matthew Van Scoyoc
=====
Think SNOW!
Dear Matthew,
Have you tried converting the factors into characters?
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey
2015-12-09 23:16 GMT+01:00 Matthew Van Scoyoc <scoyoc at gmail.com>:
I need to update tables in an MS Access database, but sqlSave(..., append =
TRUE) keeps returning errors. I've spent the better part of the last hour
on Google, but haven't found an adequate answer. Here's my code.
#+ Munge ----
# Call in resampled plots from CRC_Data.DB
resample <- sqlFetch(CRC_Data.DB, "tblResampledPlots")
glimpse(resample)
Error in sqlSave(Summaries.DB, plots.write, "tblPlotsResampled", append =
TRUE) :
unable to append to table ?tblPlotsResampled?
Thanks,
MVS
=====
Matthew Van Scoyoc
=====
Think SNOW!
[[alternative HTML version deleted]]