Importing C2 model into R for constrained clustering

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Importing C2 model into R for constrained clustering

ryebox
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hey there, looking for a hand getting some data in R from C2,

Here's the code I'm getting

> read.C2Model(file.choose())
Reading sheet 1
Reading sheet 2
No sheet number 2.
Error in 1:max(n) : result would be too long a vector
In addition: Warning messages:
1: running command ''/usr/bin/perl' '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/gdata/perl/xls2csv.pl'  '/Users/Ryan/Downloads/export for c2 zoning july 20.xls' '/var/folders/nd/0gbwbzz90278w8q1p6z5627r0000gn/T//RtmpOWs7Ii/file58440284ffc.csv' '2'' had status 9
2: In max(n) : no non-missing arguments to max; returning -Inf


The instructions that I've found on this are limited. The model is exported from C2 into an .xls file. It is intended to be used with rioja package for clustering.

Any suggestions with how to get c2 models into R would be great!

Cheers