Displaying 3 results from an estimated 3 matches for "do_deparse".
1997 Sep 08
0
R-alpha: deparse bug
...ows you
to set the width at which line breaking is attempted. However, setting
this argument _permanently_ changes the line break width.
Looking at the source code ($RHOME/src/main/deparse.c), I see that the
width.cutoff argument sets the static variable "cutoff". Although the
function do_deparse behaves correctly - overwriting cutoff with the
default value if not given a second argument - other R functions (such
as print and edit) call deparse1 which doesn't do this. Hence they use
the modified cutoff value.
A quick fix would be to get do_deparse to reset cutoff to the default
value...
1999 Jan 27
0
load() patch
...quot;save", do_save, 0, 111, 3, PP_FUNCALL},
-{"load", do_load, 0, 111, 1, PP_FUNCALL},
+{"load", do_load, 0, 111, 2, PP_FUNCALL},
{"hdf5save", do_hdf5save, 0, 0, -1, PP_FUNCALL},
{"hdf5load", do_hdf5load, 0, 11, 2, PP_FUNCALL},
{"deparse", do_deparse, 0, 11, 2, PP_FUNCALL},
diff -r --unified R-0.63.2.orig/src/main/saveload.c R-0.63.2/src/main/saveload.c
--- R-0.63.2.orig/src/main/saveload.c Tue Nov 10 19:23:54 1998
+++ R-0.63.2/src/main/saveload.c Tue Jan 26 16:14:57 1999
@@ -1136,7 +1136,7 @@
SEXP do_load(SEXP call, SEXP op, SEXP args, SEXP...
2000 Jan 29
1
HDF5 as a module
...arse", do_parse, 0, 11, 4, PP_FUNCALL},
{"save", do_save, 0, 111, 4, PP_FUNCALL},
{"load", do_load, 0, 111, 2, PP_FUNCALL},
- {"hdf5save", do_hdf5save, 0, 0, -1, PP_FUNCALL},
- {"hdf5load", do_hdf5load, 0, 11, 2, PP_FUNCALL},
{"deparse", do_deparse, 0, 11, 2, PP_FUNCALL},
{"dput", do_dput, 0, 111, 2, PP_FUNCALL},
{"dump", do_dump, 0, 111, 2, PP_FUNCALL},
--- 515,520 ----
Index: src/main/names.h
===================================================================
RCS file: /home/rcvs/src/R/src/main/names.h,v
retrieving r...