When running an R script that contains a Date column, you can get the following error:
'... input data has different number of columns than the number of input column types'
The following table lists the supported data types and how they are converted when you export from R into SBDF:
R or S data types SBDF data type
------------------- -------------------------
Logical Boolean
Integer Integer (32 bit)
Numeric Double
Character String
Factor String
POSIXct or POSIXlt DateTime
timeDate DateTime
Replace any as.Date() functions with as.POSIXct() (or as.POSIXlt()) to convert the dates into a format that the R engine can handle.
Comments
0 comments
Article is closed for comments.