-
Re: Return multiple columns in a table
Sandeep Roy Apr 5, 2018 10:02 AM (in response to yannick camaro )Hello Yannick,
Can you send kmeans(cbind(q$sL,q$sl,q$pL,q$pl) ...with same columns name...Have you tried different column name?
Iris{Id,sL,sl,pL,pl}
-
Re: Return multiple columns in a table
yannick camaro Apr 9, 2018 5:21 AM (in response to Sandeep Roy )Different column name ? I am using the same name as my data
I don't understand what you mean
-
-
Re: Return multiple columns in a table
yannick camaro Apr 16, 2018 5:07 AM (in response to yannick camaro )Even the example from R_BasicExample with Titanic data doesn't run (I have the same error)
--
Titanic:
LOAD
ID,
pclass,
survived,
sex,
"age",
age_b,
fare
FROM [lib://data/Titanic_data.csv]
(txt, utf8, embedded labels, delimiter is ',', msq);
// Return a table from R (in one call to to the R plugin) with two columns: SumOfRow, MulOfRow
SumAndMulOfRowFromRscript:
Load * Extension R.ScriptEval('q$SumOfRow = q$pclass+q$survived; q$MulOfRow = q$pclass*q$survived; qRes <- within(q, rm(pclass, survived)); qRes;', Titanic{ pclass, survived });
-
Re: Return multiple columns in a table
yannick camaro Apr 16, 2018 11:15 AM (in response to yannick camaro )Ok, I just found the solution : my sse-r-plugin was not uptaded...
I have just downloaded the last version (v1.2.1.) and everything is alright