Forum Discussion
Jig_S
10 years agoFrequent Visitor
Strange behavior using R script in Query and Date Values
Hello, I ran into a strange behavior when trying to use the newly introduced R script support in Query mode and date values. We performed a cumulative sum on some values related to time-seri...
- 10 years ago
I’ve also reproduced this problem locally and reported it internally. I’ll update here if there is some feedback.
For now, you can use the workaround you’ve found.
Best Regards,
Herbert
jb1t
Advocate I
9 years agoI'm seeing a similar issue. It seems that the data frame automatically created for a query (dataset) is has the setting stringsAsFactors = TRUE, so I had to do the following:
output <- as.data.frame(dataset, stringsAsFactors = FALSE)