[R-sig-Geo] gbif error message in package dismo
Mark van Kleunen
mark.vankleunen at uni-konstanz.de
Sun May 24 10:35:10 CEST 2015
Hello Eder,
Indeed, the update of the jsonlite package did the trick; now I can
download all gbif occurrences. Thanks a lot for your help!
best wishes,
Mark
On 21/05/2015 13:52, Éder Comunello wrote:
> Hello, Mark!
>
> Could you update your packages and rerun the test? My guess is an
> issue with {jsonlite} version when it tries binds the searches
> (nrecs=300)...
>
> update.packages(ask=T)
>
>
> ================================================
> Éder Comunello
> PhD Student in Agricultural Systems Engineering (USP/Esalq)
> Brazilian Agricultural Research Corporation (Embrapa)
> Dourados, MS, Brazil [22 16.5'S, 54 49.0'W]
>
>
> 2015-05-21 2:48 GMT-04:00 Mark van Kleunen
> <mark.vankleunen at uni-konstanz.de
> <mailto:mark.vankleunen at uni-konstanz.de>>:
>
> Dear Eder,
>
> The output of sessionInfo() is:
>
> > sessionInfo()
> R version 3.1.3 (2015-03-09)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 7 x64 (build 7601) Service Pack 1
>
> locale:
> [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United
> Kingdom.1252
> [3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C
> [5] LC_TIME=English_United Kingdom.1252
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> other attached packages:
> [1] rworldmap_1.3-1 mapproj_1.2-2 maps_2.3-9
> geosphere_1.3-11 rgdal_0.9-1 rgbif_0.8.0
> [7] shapefiles_0.7 foreign_0.8-61 XML_3.98-1.1
> dismo_1.0-12 rgeos_0.3-6 raster_2.3-0
> [13] maptools_0.8-30 sp_1.0-15
>
> loaded via a namespace (and not attached):
> [1] chron_2.3-45 colorspace_1.2-4 data.table_1.9.4
> digest_0.6.4 fields_7.1 ggplot2_1.0.0
> [7] grid_3.1.3 gtable_0.1.2 httr_0.5 jsonlite_0.9.12
> lattice_0.20-29 magrittr_1.5
> [13] MASS_7.3-35 munsell_0.4.2 plyr_1.8.1 proto_0.3-10
> Rcpp_0.11.3 reshape2_1.4
> [19] scales_0.2.4 spam_1.0-1 stringr_0.6.2
> tools_3.1.3 whisker_0.3-2
> >
>
> Interestingly, when I use "end=30)", then the error message does
> not appear.
> So,
> gb <- gbif('Batrachoseps', 'luciae', start=1, end=30)
> > traceback()
> No traceback available
>
> When I set end=1000, then I get again the error message:
> > gb <- gbif('Batrachoseps', 'luciae', start=1, end=1000)
> 0-300-600-900-1000 records
> Error in (function (classes, fdef, mtable) :
> unable to find an inherited method for function ‘bind’ for
> signature ‘"data.frame", "data.frame"’
>
> Does this information provide any insight into what the problem
> might be?
>
> best,
> Mark
>
>
--
Prof. Dr Mark van Kleunen
Ecology, Department of Biology
University of Konstanz
Universitätsstrasse 10
D 78457 Konstanz
Germany
Office M803
Tel.: +49 (0)7531 88 2997 (direct)
+49 (0)7531 88 2105 (secretary)
Fax: +49 (0)7531 88 3430
E-mail: mark.vankleunen at uni-konstanz.de
http://cms.uni-konstanz.de/vkleunen/
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list