Search found 2 matches

by vioravis
Mon Jul 08, 2013 1:36 pm
Forum: R Language Integration
Topic: Generating Row and Column Names when using R UDF
Replies: 2
Views: 17007

Re: Generating Row and Column Names when using R UDF

Hi Knicely, Thank you for your reply. I started the same discussion in the Vertica community forum as well linking to this post. I have given a link to that post as well that contains more details. (However, I am unable to post to that thread anymore and the problem is still unresolved) https://comm...
by vioravis
Wed Jul 03, 2013 3:12 pm
Forum: R Language Integration
Topic: Generating Row and Column Names when using R UDF
Replies: 2
Views: 17007

Generating Row and Column Names when using R UDF

Hi, I am trying to use the R UDF to create a cross tab and have given the R function and the Vertica commands below: generateCrosstab <- function(x) { var1 = x[,1] var2 = x[,2] crossTab <- as.data.frame.matrix(table(var1,var2)) crossTab } crossTab_factory <- function() { inlist <- rep("int", 2) outl...

Go to advanced search