Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to write data from R to InfluxDB #39

Closed
aruku333 opened this issue Jan 1, 2018 · 4 comments
Closed

Error while trying to write data from R to InfluxDB #39

aruku333 opened this issue Jan 1, 2018 · 4 comments

Comments

@aruku333
Copy link

aruku333 commented Jan 1, 2018

I am trying to write data into Influx DB from R using InfluxdbR package but facing some issues. The connection is successful and I was able to ping too. Can you please help advice on this. Is this happening as the latest version of dplyr is not supportive?

Data
Start_date val site
2017-01-01 23.45 US
2017-01-02 26.78 US
2017-01-03 28.98 US

Code:

> library(ggplot2) library(xlsx) library(ggplot2) library(forecast) library(lubridate) library(doBy) library(plyr) library(stringr) library(tidyr) library(dplyr)con <- influx_connection(host = "host", user ="user", pass = "pass",port = 8086)influxdbr::influx_write(con = con, db = "db1", x = data1, time_col = "Start_date", tag_cols = "site",measurement = "dim1")

Error:Error: 'rename_all' is not an exported object from 'namespace:dplyr'

@dleutnant
Copy link
Owner

dplyr >= 0.7.0 is required. Which version do you have installed?

@aruku333
Copy link
Author

aruku333 commented Jan 1, 2018

I think that's the problem. I have 0.5.0 installed. Let me try it and will let you know.Thanks much!

@dleutnant
Copy link
Owner

Issue solved?

@aruku333
Copy link
Author

aruku333 commented Jan 4, 2018

Yes, Thanks. The version is the issue.

@aruku333 aruku333 closed this as completed Jan 4, 2018
dleutnant added a commit that referenced this issue Jan 9, 2018
dleutnant added a commit that referenced this issue Jan 10, 2018
* prepare next dev

* clean up test db

* `influx_write` supports multiple measurements within one data.frame

* updated readme

* take path from influxdb_srv list

* additional curl options can be provided to influx_connection

* additional curl options can be provided to influx_connection (#36)

* Typo (#37)

* update news.md

* added IQL wrapper for `delete`

* typo

* fixes (#21, #38, #39)

* updated news

* prepare next cran release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants