RPostgreSQL error with PostgreSQL 'infinity' values in datetime data types

41 views
Skip to first unread message

Michael Kaminsky

unread,
May 4, 2015, 2:34:41 PM5/4/15
to rpostgr...@googlegroups.com
I'm trying to use RPostgreSQL to select from a table that uses the PostgreSQL 'infinity' keyword in some fields (documentation).  When attempting this, I get the following errors:

Error in charToDate(x) :
  character
string is not in a standard unambiguous format


 
Error in as.POSIXlt.character(x, tz, ...) :
  character
string is not in a standard unambiguous format

Has anyone else encountered this problem? Should I submit an issue for this project?

Best,

Michael

Richard Perry

unread,
Oct 7, 2015, 11:21:28 AM10/7/15
to RPostgreSQL Development and Discussion List
Yes I've had exactly this issue and I do not know a way around it.

Please post if you found a fix in the end.

Thanks, Richard

Michael Kaminsky

unread,
Oct 7, 2015, 11:28:42 AM10/7/15
to rpostgr...@googlegroups.com
I submitted an issue for the project on google code here:

And implemented a fix on a branch of the here:

Of course, this requires you to install the package locally, but it worked for me.

Good luck!

Michael




--
You received this message because you are subscribed to a topic in the Google Groups "RPostgreSQL Development and Discussion List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rpostgresql-dev/qA1hyZODZyk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rpostgresql-d...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Neil Tiffin

unread,
Oct 7, 2015, 6:10:03 PM10/7/15
to rpostgr...@googlegroups.com, richard...@gmail.com, kaminsky...@gmail.com
Please use the official github page at https://github.com/tomoakin/RPostgreSQL for issues and etc.

We are no longer using Google Code and issues after #74 on Google Code have not been ported over.

Thank you.
Neil


You received this message because you are subscribed to the Google Groups "RPostgreSQL Development and Discussion List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rpostgresql-d...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages