[R] How to convert R package and dependencies to debian packages?

2014-04-22 Thread Sathish Kumar
Hi, I need to install R packages in several nodes (10+) in AWS. I wont be able to open R shell in each and do install.packages("foo") This will be done using a configuration management tool like Puppet and it'll be easier if i can do an apt-get installation of R packages automatically. I found a

Re: [R] Need help to convert data frame to transaction set.

2014-04-20 Thread Sathish Kumar
CARE",..: 1 1 1 4 1 1 1 1 1 1 > ... > # $ X.2: Factor w/ 2 levels "","BOOT)": 1 1 1 1 1 1 1 1 1 1 ... > > > part$Parts <- interaction(part[,2:5],sep=" ",drop=TRUE) > part <- part[,1:2] > str(part) > #'data.frame':

Re: [R] Need help to convert data frame to transaction set.

2014-04-20 Thread Sathish Kumar
e format with > # 7 transactions (rows) and > # 48842 items (columns) > > > > A.K. > > > On Saturday, April 19, 2014 5:01 PM, Sathish Kumar > wrote: > Hi, > > To convert coerce the data set to transaction data set I used the code > > trans4 <- as(sp

[R] Need help to convert data frame to transaction set.

2014-04-19 Thread Sathish Kumar
Hi, To convert coerce the data set to transaction data set I used the code trans4 <- as(split(a[,"Cust_ID"], a[,"Parts"]), "transactions") but I am getting the following error- Error in as(split(a[, "Cust_ID"], a[, "Parts"]), "transactions") : nomethod or default for coercing “list” to “transac