Quantcast
Viewing all articles
Browse latest Browse all 217177

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-series and when we generated the output (output <- dataset) after calculating the required values, we found that on expanding the output table, the Date values are transformed to Microsoft.OLEDB.Date. 

We managed to circumvent by converting the date values to text prior to executing the R script and converting back to Date once the R script was successfully executed. 

Just wanted to share the behavior and ask if anyone else encountered a similar output while dealing with dates in R script.

 

Best Regards,


Viewing all articles
Browse latest Browse all 217177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>