search for: b03160b9250f0d5b5bcce42bd86d8e56

Displaying 6 results from an estimated 6 matches for "b03160b9250f0d5b5bcce42bd86d8e56".

2015 Feb 18
4
Different serialization of functions in interactive vs. batch mode
...elp.start()' for an HTML browser interface to help. >> Type 'q()' to quit R. >> >>> library(digest) >>> testfun <- function() { >> >> + return(NULL) >> + } >>> >>> print(digest(testfun)) >> >> [1] "b03160b9250f0d5b5bcce42bd86d8e56" >>> >>> print(serialize(testfun, connection = NULL)) >> >> [1] 58 0a 00 00 00 02 00 03 01 00 00 02 03 00 00 00 04 03 00 00 00 fd 00 >> 00 00 >> [26] fe 00 00 00 06 00 00 00 01 00 04 00 09 00 00 00 01 7b 00 00 00 02 00 >> 00 00 >> [51] 06 0...
2015 Feb 18
0
Different serialization of functions in interactive vs. batch mode
...ot in batch mode? I can't speak to why the default for the keep.source option is different in the two cases, but you can set it to be the same: in interactive mode > options(keep.source = FALSE) > testfun <- function() {return(NULL)} > digest(testfun) [1] "b03160b9250f0d5b5bcce42bd86d8e56" Or use options(keep.source = TRUE) in the other case. Best, luke > > Thanks! > > Holger > > P.S. I attached the output I get when i set the attributes to NULL > > > On Wed, Feb 18, 2015 at 3:04 PM, <luke-tierney at uiowa.edu> wrote: >> Add >>...
2015 Feb 18
2
Different serialization of functions in interactive vs. batch mode
...n publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(digest) > testfun <- function() { + return(NULL) + } > print(digest(testfun)) [1] "b03160b9250f0d5b5bcce42bd86d8e56" > print(serialize(testfun, connection = NULL)) [1] 58 0a 00 00 00 02 00 03 01 00 00 02 03 00 00 00 04 03 00 00 00 fd 00 00 00 [26] fe 00 00 00 06 00 00 00 01 00 04 00 09 00 00 00 01 7b 00 00 00 02 00 00 00 [51] 06 00 00 00 01 00 04 00 09 00 00 00 06 72 65 74 75 72 6e 00 00 00 02 00 00 [76...
2015 Feb 18
1
Different serialization of functions in interactive vs. batch mode
...t R. >> >> >> >>> library(digest) >> >>> testfun <- function() { >> >> >> >> + return(NULL) >> >> + } >> >>> >> >>> print(digest(testfun)) >> >> >> >> [1] "b03160b9250f0d5b5bcce42bd86d8e56" >> >>> >> >>> print(serialize(testfun, connection = NULL)) >> >> >> >> [1] 58 0a 00 00 00 02 00 03 01 00 00 02 03 00 00 00 04 03 00 00 00 fd >> >> 00 >> >> 00 00 >> >> [26] fe 00 00 00 06 00 00 00 01 00...
2015 Feb 18
0
Different serialization of functions in interactive vs. batch mode
...r some demos, 'help()' for on-line help, or > 'help.start()' for an HTML browser interface to help. > Type 'q()' to quit R. > >> library(digest) >> testfun <- function() { > + return(NULL) > + } >> print(digest(testfun)) > [1] "b03160b9250f0d5b5bcce42bd86d8e56" >> print(serialize(testfun, connection = NULL)) > [1] 58 0a 00 00 00 02 00 03 01 00 00 02 03 00 00 00 04 03 00 00 00 fd 00 00 00 > [26] fe 00 00 00 06 00 00 00 01 00 04 00 09 00 00 00 01 7b 00 00 00 02 00 00 00 > [51] 06 00 00 00 01 00 04 00 09 00 00 00 06 72 65 74 75 72 6e 00...
2015 Feb 18
0
Different serialization of functions in interactive vs. batch mode
...> >> Type 'q()' to quit R. > >> > >>> library(digest) > >>> testfun <- function() { > >> > >> + return(NULL) > >> + } > >>> > >>> print(digest(testfun)) > >> > >> [1] "b03160b9250f0d5b5bcce42bd86d8e56" > >>> > >>> print(serialize(testfun, connection = NULL)) > >> > >> [1] 58 0a 00 00 00 02 00 03 01 00 00 02 03 00 00 00 04 03 00 00 00 fd 00 > >> 00 00 > >> [26] fe 00 00 00 06 00 00 00 01 00 04 00 09 00 00 00 01 7b 00 00 00 02 > 0...