Hi all,
I have a matrix in R and i would like to get the matrix to be written to alteryx output. However i get the output only in single row and not in matrix format. Can someone please explain why my output is only in row and how to get my matrix output from R to Alteryx in the same matrix format.
my R code is :
X=matrix(c(1,2,3,4,5,6),nrow=3,ncol=2,byrow=TRUE)
write.Alteryx(X,1)
Although this code outputs the matrix cells in Alteryx in a single row, it hangs(Alteryx keeps running the process) when the matrix is of higher dimension.
Thankyou in advance.
.
Solved! Go to Solution.
Try....
A=matrix(c(2,3,4,5,6,7),nrow=3,ncol=2,byrow=TRUE) write.Alteryx(A, 1) write.Alteryx(as.data.frame(A), 2)
The second output should show the data as, I think, you're desiring.
Hope that helps!
Thank you, it helped!!