export vars to nodes
[epclust.git] / epclust / R / utils.R
index 347c2c6..e0f25ec 100644 (file)
@@ -10,8 +10,9 @@ toInteger <- function(x, condition)
        x
 }
 
-serialize = function(coeffs, file, append)
+writeCoeffs = function(coeffs)
 {
+       file = ".coeffs"
        #.........
        #C function (from data.frame, type of IDs ??! force integers ? [yes])
        #return raw vector
@@ -19,9 +20,10 @@ serialize = function(coeffs, file, append)
 #TODO: appendCoeffs() en C --> serialize et append to file
 }
 
-deserialize = function(file, range, ncoefs)
+readCoeffs = function(indices)
 {
        #......
+       file = ".coeffs"
        #C function (from file name)
 }
 
@@ -29,8 +31,3 @@ getSeries(data, rank=NULL, id=NULL)
 {
        #TODO:
 }
-
-getCoeffs(.....) #FROM BINARY FILE !!!
-{
-
-}