AWS dynamodb support for “R” programming language

后端 未结 4 1394
慢半拍i
慢半拍i 2020-12-19 09:05

Has anyone been able to successfully CRUD records in amazon dynamodb using the R programming language? I found this reference of language bindings supported:

http:/

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-19 09:25

    Cloudyr's aws.dynamodb is convenient for reading data from DynamoDB. However, it has an unfortunately tendency to coerce things to characters. Also, I have had trouble using the put_item function to add anything but string data to DynamoDB.

    AWS CLI works well. Example here:

    $ aws dynamodb put-item --table-name "SOMETABLE" --item '{"aStringItem": {"S": "1900-01-02|myid"}, "aNumericItem": {"N": "2"}, "aMapItem": {"M": {"Source": {"S": "CLI"}}}}'

    Two other options that haven't been mentioned are Rcpp and rJava. There are native SKDs available in both Java and C++.

提交回复
热议问题