Displaying 1 result from an estimated 1 matches for "load_sensor_data".
2009 Jan 13
0
crash on multiple queries to postgresql db [solved]
...0.17-20
>>
>>
>> Here is the code that appears to be causing the problems:
>>
>> # load data from a PostGreSQL database, and return a dataframe
>> # this will get called whenever the parent function is called
>> # crashes after 3-5 subsequent calls
>> load_sensor_data <- function(query_text)
>> {
>>
>> # conn becomes an object which contains the DB connection:
>> conn <- dbConnect(PgSQL(), host="localhost", dbname="SJER", user="dylan")
>>
>> ## pre-filter out possible bad data:
>> quer...