Diff of /inst/@dataframe/subsasgn.m [afaced] .. [591ef1] Maximize Restore

  Switch to side-by-side view

--- a/inst/@dataframe/subsasgn.m
+++ b/inst/@dataframe/subsasgn.m
@@ -42,7 +42,7 @@
             df._name{1}(1:df._cnt(1), 1) = {''};
             df._over{1}(1, 1:df._cnt(1)) = true;
           endif
-          [df._name{1}, df._over{1}] = df_strset \
+          [df._name{1}, df._over{1}] = df_strset ...
               (df._name{1}, df._over{1}, S(2:end), RHS);
           return
 
@@ -56,7 +56,7 @@
           
         case "colnames"
           if (isnull(RHS)) error ("Colnames can't be nulled"); endif
-          [df._name{2}, df._over{2}] = df_strset \
+          [df._name{2}, df._over{2}] = df_strset ...
               (df._name{2}, df._over{2}, S(2:end), RHS, '_');
           df._name{2} = genvarname (df._name{2});
           return
@@ -69,7 +69,7 @@
               case {'char'}
                 for indj = (1:df._cnt(2))
                   if (isnumeric (df._data{indj}) || islogical (df._data{indj}))
-                    df._data(indj) = cellfun (@(x) cellstr (num2str(x, "%f")), \
+                    df._data(indj) = cellfun (@(x) cellstr (num2str(x, "%f")), ...
                                               df._data(indj), 
                                               "UniformOutput", false); 
                   endif
@@ -89,7 +89,7 @@
               error("Types can only be changed as a whole");
             endif
             if (~isnumeric(S(2).subs{1}))
-              [indj, ncol, S(2).subs{1}] = df_name2idx\
+              [indj, ncol, S(2).subs{1}] = df_name2idx...
                   (df._name{2}, S(2).subs{1}, df._cnt(2), 'column');
             else
               indj = S(2).subs{1}; ncol = length (indj);
@@ -97,7 +97,7 @@
             switch (RHS)
               case {'char'}
                 if (isnumeric (df._data{indj}) || islogical (df._data{indj}))
-                  df._data(indj) = cellfun (@(x) cellstr (num2str(x, "%f")), \
+                  df._data(indj) = cellfun (@(x) cellstr (num2str(x, "%f")), ...
                                             df._data(indj), 
                                             "UniformOutput", false); 
                 endif
@@ -138,7 +138,7 @@
             error ("Congratulations. I didn't see how to produce this error");
           endif
           %# translate the name to column
-          [indc, ncol] = df_name2idx (df._name{2}, S(1).subs, \
+          [indc, ncol] = df_name2idx (df._name{2}, S(1).subs, ...
                                       df._cnt(2), 'column', true);
           if (isempty (indc))
             %# dynamic allocation
@@ -170,7 +170,7 @@
             endif
           endif
           %# do we need to "rotate" RHS ?
-          if (1 == ncol && ndims (RHS) < 3 \
+          if (1 == ncol && ndims (RHS) < 3 ...
                 && size (RHS, 2) > 1)
             RHS = reshape (RHS, [size(RHS, 1), 1, size(RHS, 2)]);
           endif
@@ -178,7 +178,7 @@
       endswitch
       
     case '()'
-      [indr, nrow, S(1).subs{1}] = df_name2idx (df._name{1}, S(1).subs{1}, \
+      [indr, nrow, S(1).subs{1}] = df_name2idx (df._name{1}, S(1).subs{1}, ...
                                                 df._cnt(1), 'row');
       if (isempty (indr) && df._cnt(1) > 0)
         %# this is not an initial assignment
@@ -187,7 +187,7 @@
       
       if (length (S(1).subs) > 1)
         if (~isempty (S(1).subs{2}))
-          [indc, ncol, S(1).subs{2}] = \
+          [indc, ncol, S(1).subs{2}] = ...
               df_name2idx (df._name{2}, S(1).subs{2}, df._cnt(2), 'column');
           %# if (isempty (indc) && df._cnt(2) > 0)
           %# this is not an initial assignment