Running 'Matlab,options.R' [157s]
  Running 'Matlab.R' [238s]
  Running 'readMat,noattach.R' [0s]
  Running 'readMat.R' [4s]
  Running 'startup.R' [170s]
  Running 'writeMat.R' [17m]
Running the tests in 'tests/Matlab,options.R' failed.
Complete output:
  > library("R.matlab")
  R.matlab v3.7.0 (2022-08-25 21:52:34 UTC) successfully loaded. See ?R.matlab for help.
  
  Attaching package: 'R.matlab'
  
  The following objects are masked from 'package:base':
  
      getOption, isOpen
  
  > 
  > matlab <- Matlab()
  > print(matlab)
  [1] "Matlab: The MATLAB host is 'localhost' and communication is on port 9999. Objects are passed via the local file system (remote = FALSE). The connection to the MATLAB server is closed (not opened)."
  > 
  > # Sanity check
  > stopifnot(!isOpen(matlab))
  > 
  > # Get options
  > value <- getOption(matlab, "readResult/interval")
  > print(value)
  NULL
  > value <- getOption(matlab, "readResult/maxTries")
  > print(value)
  NULL
  > 
  > # Set options
  > ovalue <- setOption(matlab, "readResult/interval", 0.2)
  > print(ovalue)
  NULL
  > value <- getOption(matlab, "readResult/interval")
  > print(value)
  [1] 0.2
  > 
  > ovalue <- setOption(matlab, "readResult/maxTries", 30)
  > print(ovalue)
  NULL
  > value <- getOption(matlab, "readResult/maxTries")
  > print(value)
  [1] 30
  > 
  > # Cleanup
  > rm(list = "matlab")
  > 
  > proc.time()
     user  system elapsed 
     0.31    0.04    0.34 
Running the tests in 'tests/Matlab.R' failed.
Complete output:
  > library("R.matlab")
  R.matlab v3.7.0 (2022-08-25 21:52:34 UTC) successfully loaded. See ?R.matlab for help.
  
  Attaching package: 'R.matlab'
  
  The following objects are masked from 'package:base':
  
      getOption, isOpen
  
  > 
  > full_test <- (Sys.getenv("_R_CHECK_FULL_") != "")
  > full_test <- full_test && nzchar(Sys.which("matlab"))
  > 
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > # Test Matlab class regardless of MATLAB installed or not
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > message("Matlab class ...")
  Matlab class ...
  > 
  > readResult <- R.matlab:::readResult
  > writeCommand <- R.matlab:::writeCommand
  > 
  > workdir <- tempdir()
  > res <- Matlab$startServer(workdir = workdir)
  Warning message:
  In system(cmd, wait = FALSE) : 'matlab' not found
  > print(res)
  [1] 127
  > 
  > for (remote in c(FALSE, TRUE)) {
  +   message(sprintf("- Matlab(remote = %s) ...", remote))
  + 
  +   matlab <- Matlab(remote = remote)
  +   print(matlab)
  + 
  +   setVerbose(matlab, TRUE)
  +   setVerbose(matlab, FALSE)
  +   setVerbose(matlab, 0)
  +   setVerbose(matlab, -1)
  +   setVerbose(matlab, -100)
  + 
  +   res <- tryCatch({
  +     open(matlab, trials = 2L, interval = 0.1, timeout = 0.5)
  +   }, error = identity)
  +   print(res)
  +   
  +   res <- tryCatch({
  +     writeCommand(matlab, "echo")
  +   }, error = identity)
  +   print(res)
  +   
  +   res <- tryCatch({
  +     writeCommand(matlab, "<unknown>")
  +   }, error = identity)
  +   print(res)
  +   
  +   res <- tryCatch({
  +     evaluate(matlab, "x = 1;")
  +   }, error = identity)
  +   print(res)
  +   
  +   res <- tryCatch({
  +     setVariable(matlab, x = 2)
  +   }, error = identity)
  +   print(res)
  +   
  +   res <- tryCatch({
  +     getVariable(matlab, "x")
  +   }, error = identity)
  +   print(res)
  +   
  +   res <- tryCatch({
  +     setFunction(matlab, "   \
  +       function [y] = foo(x) \
  +         y = x;              \
  +     ")
  +   }, error = identity)
  +   print(res)
  + 
  +   ## Not a proper MATLAB function
  +   res <- tryCatch({
  +     setFunction(matlab, "function [y] = foo")
  +   }, error = identity)
  +   print(res)
  + 
  +   ## Not a MATLAB function
  +   res <- tryCatch({
  +     setFunction(matlab, "foo bar")
  +   }, error = identity)
  +   print(res)
  + 
  +   options("readResult/maxTries" = 2L)
  +   options("readResult/interval" = 0.1)
  +   res <- tryCatch({
  +     readResult(matlab)
  +   }, error = identity)
  +   print(res)
  +   
  +   res <- tryCatch({
  +     close(matlab)
  +   }, error = identity)
  +   print(res)
  +   
  +   rm(list = "matlab")
  +   gc()
  + 
  +   message(sprintf("- Matlab(remote = %s) ... DONE", remote))  
  + }
  - Matlab(remote = FALSE) ...
  [1] "Matlab: The MATLAB host is 'localhost' and communication is on port 9999. Objects are passed via the local file system (remote = FALSE). The connection to the MATLAB server is closed (not opened)."
  Opens a blocked connection to host 'localhost' (port 9999)...
   Try #0.
   Try #1.
  Opens a blocked connection to host 'localhost' (port 9999)...failed (after 2 tries)
  [2024-03-23 09:07:55.195548] Exception: Failed to connect to MATLAB on host 'localhost' (port 9999) after trying 2 times for approximately 0.2 seconds.
  
    at #06. open.Matlab(matlab, trials = 2L, interval = 0.1, timeout = 0.5)
            - open.Matlab() is in environment 'R.matlab'
  
    at #05. open(matlab, trials = 2L, interval = 0.1, timeout = 0.5)
            - open() is in environment 'base'
  
  Sending a command 'echo' (6) to the MATLAB server...
  <simpleError in writeBin(con = con, as.integer(b), size = 1): invalid connection>
  [2024-03-23 09:07:55.21436] Exception: INTERNAL ERROR: Unknown R-to-MATLAB command: '<unknown>' (known commands are 'quit', 'eval', 'send', 'receive', 'send-remote', 'receive-remote', 'echo', 'evalc'
  
    at #07. getCommandByte(this, cmd)
            - getCommandByte() is local of the calling function
  
    at #06. writeCommand.Matlab(matlab, "<unknown>")
            - writeCommand.Matlab() is in environment 'R.matlab'
  
    at #05. writeCommand(matlab, "<unknown>")
            - writeCommand() is in environment 'R.matlab'
  
  Sending expression on the MATLAB server to be evaluated...: 'x = 1;'
  Sending a command 'eval' (1) to the MATLAB server...
  <simpleError in writeBin(con = con, as.integer(b), size = 1): invalid connection>
  Sends R variables to the MATLAB server: 'x'
  Setting MATLAB variable on server...
   Sends R variables to the MATLAB server via the local file system...
   Writes R variables to the MAT file 'D:\temp\Rtmp0MjE6o\file109bc2f304d25.mat'...
   Writes R variables to the MAT file 'D:\temp\Rtmp0MjE6o\file109bc2f304d25.mat'...ok
   Tells the MATLAB server where to find the MAT file.
   Sending a command 'receive' (3) to the MATLAB server...
  <simpleError in writeBin(con = con, as.integer(b), size = 1): invalid connection>
   Retrieving variables from the MATLAB server: 'x'
   Sending expression on the MATLAB server to be evaluated...: 'MatlabServer_variables = {'x'};'
   Sending a command 'eval' (1) to the MATLAB server...
  <simpleError in writeBin(con = con, as.integer(b), size = 1): invalid connection>
   Setting MATLAB function on server...
    Building MATLAB source code for the function to be passed to the MATLAB server...
   Setting MATLAB function on server...done
  [2024-03-23 09:08:45.784395] Exception: The code does not contain a proper MATLAB function definition:    
        function [...
  
    at #06. setFunction.Matlab(matlab, "   \n      function [y] = foo(x) \n        y = x;              \n    ")
            - setFunction.Matlab() is in environment 'R.matlab'
  
    at #05. setFunction(matlab, "   \n      function [y] = foo(x) \n        y = x;              \n    ")
            - setFunction() is in environment 'R.matlab'
  
   Setting MATLAB function on server...
    Building MATLAB source code for the function to be passed to the MATLAB server...
   Setting MATLAB function on server...done
  [2024-03-23 09:08:45.793477] Exception: The code does not contain a proper MATLAB function definition: function [y] = foo...
  
    at #06. setFunction.Matlab(matlab, "function [y] = foo")
            - setFunction.Matlab() is in environment 'R.matlab'
  
    at #05. setFunction(matlab, "function [y] = foo")
            - setFunction() is in environment 'R.matlab'
  
   Setting MATLAB function on server...
    Building MATLAB source code for the function to be passed to the MATLAB server...
   Setting MATLAB function on server...done
  [2024-03-23 09:08:45.803202] Exception: The code does not contain a proper MATLAB function definition: foo bar...
  
    at #06. setFunction.Matlab(matlab, "foo bar")
            - setFunction.Matlab() is in environment 'R.matlab'
  
    at #05. setFunction(matlab, "foo bar")
            - setFunction() is in environment 'R.matlab'
  
   Retrieve reply from the MATLAB server (try 1)...
  <simpleError in readBin(con = con, what = integer(), size = 1, n = n): invalid connection>
   Closing connection to host 'localhost' (port 9999)...
   Closing connection to host 'localhost' (port 9999)...done
  NULL
    Closing connection to host 'localhost' (port 9999)...
    Closing connection to host 'localhost' (port 9999)...done
  - Matlab(remote = FALSE) ... DONE
  - Matlab(remote = TRUE) ...
  [1] "Matlab: The MATLAB host is 'localhost' and communication is on port 9999. Objects are passed via the socket connection (remote = TRUE). The connection to the MATLAB server is closed (not opened)."
  Opens a blocked connection to host 'localhost' (port 9999)...
   Try #0.
   Try #1.
  Opens a blocked connection to host 'localhost' (port 9999)...failed (after 2 tries)
  [2024-03-23 09:08:50.163969] Exception: Failed to connect to MATLAB on host 'localhost' (port 9999) after trying 2 times for approximately 0.2 seconds.
  
    at #06. open.Matlab(matlab, trials = 2L, interval = 0.1, timeout = 0.5)
            - open.Matlab() is in environment 'R.matlab'
  
    at #05. open(matlab, trials = 2L, interval = 0.1, timeout = 0.5)
            - open() is in environment 'base'
  
  Sending a command 'echo' (6) to the MATLAB server...
  <simpleError in writeBin(con = con, as.integer(b), size = 1): invalid connection>
  [2024-03-23 09:08:50.172555] Exception: INTERNAL ERROR: Unknown R-to-MATLAB command: '<unknown>' (known commands are 'quit', 'eval', 'send', 'receive', 'send-remote', 'receive-remote', 'echo', 'evalc'
  
    at #07. getCommandByte(this, cmd)
            - getCommandByte() is local of the calling function
  
    at #06. writeCommand.Matlab(matlab, "<unknown>")
            - writeCommand.Matlab() is in environment 'R.matlab'
  
    at #05. writeCommand(matlab, "<unknown>")
            - writeCommand() is in environment 'R.matlab'
  
  Sending expression on the MATLAB server to be evaluated...: 'x = 1;'
  Sending a command 'eval' (1) to the MATLAB server...
  <simpleError in writeBin(con = con, as.integer(b), size = 1): invalid connection>
  Sends R variables to the MATLAB server: 'x'
  Setting MATLAB variable on server...
   Sends R variables to the MATLAB server via the socket connection...
   Sending a command 'receive-remote' (5) to the MATLAB server...
  Setting MATLAB variable on server...done
  <simpleError in writeBin(con = con, as.integer(b), size = 1): invalid connection>
  Retrieving variables from the MATLAB server: 'x'
  Sending expression on the MATLAB server to be evaluated...: 'MatlabServer_variables = {'x'};'
  Sending a command 'eval' (1) to the MATLAB server...
  <simpleError in writeBin(con = con, as.integer(b), size = 1): invalid connection>
  Setting MATLAB function on server...
   Building MATLAB source code for the function to be passed to the MATLAB server...
  Setting MATLAB function on server...done
  [2024-03-23 09:08:50.189522] Exception: The code does not contain a proper MATLAB function definition:    
        function [...
  
    at #06. setFunction.Matlab(matlab, "   \n      function [y] = foo(x) \n        y = x;              \n    ")
            - setFunction.Matlab() is in environment 'R.matlab'
  
    at #05. setFunction(matlab, "   \n      function [y] = foo(x) \n        y = x;              \n    ")
            - setFunction() is in environment 'R.matlab'
  
  Setting MATLAB function on server...
   Building MATLAB source code for the function to be passed to the MATLAB server...
  Setting MATLAB function on server...done
  [2024-03-23 09:08:50.196502] Exception: The code does not contain a proper MATLAB function definition: function [y] = foo...
  
    at #06. setFunction.Matlab(matlab, "function [y] = foo")
            - setFunction.Matlab() is in environment 'R.matlab'
  
    at #05. setFunction(matlab, "function [y] = foo")
            - setFunction() is in environment 'R.matlab'
  
  Setting MATLAB function on server...
   Building MATLAB source code for the function to be passed to the MATLAB server...
  Setting MATLAB function on server...done
  [2024-03-23 09:08:50.203747] Exception: The code does not contain a proper MATLAB function definition: foo bar...
  
    at #06. setFunction.Matlab(matlab, "foo bar")
            - setFunction.Matlab() is in environment 'R.matlab'
  
    at #05. setFunction(matlab, "foo bar")
            - setFunction() is in environment 'R.matlab'
  
  Retrieve reply from the MATLAB server (try 1)...
  <simpleError in readBin(con = con, what = integer(), size = 1, n = n): invalid connection>
  Closing connection to host 'localhost' (port 9999)...
  Closing connection to host 'localhost' (port 9999)...done
  NULL
   Closing connection to host 'localhost' (port 9999)...
   Closing connection to host 'localhost' (port 9999)...done
  - Matlab(remote = TRUE) ... DONE
  > 
  > message("Matlab class ... DONE")
  Matlab class ... DONE
  > 
  > 
  > if (full_test) {
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + # This example will try to start the MATLAB server on the local machine,
  + # and then setup a Matlab object in R for communicating data between R
  + # and MATLAB and for sending commands from R to MATLAB.
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + 
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + # Start MATLAB
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + # Start MATLAB from R?
  + # Start MATLAB server on the local machine (if this fails,
  + # see help(Matlab) for alternatives).
  + Matlab$startServer()
  + 
  + # OR start MATLAB externally,
  + # THEN add 'externals' subdirectory to the MATLAB path
  + 
  + #  (Where is the 'externals' subdirectory?)
  + print(system.file("externals", package = "R.matlab"))
  + 
  + # THEN from within MATLAB,
  + #      issue MATLAB command "MatlabServer"
  + # Note: If issued from a MATLAB command line, this last command
  + #       prevents further MATLAB 'command line' input
  + #       until something like close(matlab) at the end of this script
  + 
  + # If both these options fail, see help(Matlab) for alternatives.
  + 
  + 
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + # Create a MATLAB client object used to communicate with MATLAB
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + matlab <- Matlab()
  + 
  + # Check status of MATLAB connection (not yet connected)
  + print(matlab)
  + 
  + # If you experience any problems, ask for detailed outputs
  + # by uncommenting the next line
  + setVerbose(matlab, -2)
  + 
  + # Connect to the MATLAB server.
  + isOpen <- open(matlab)
  + 
  + # Confirm that the MATLAB server is open, and running
  + if (!isOpen)
  +   throw("MATLAB server is not running: waited 30 seconds.")
  + 
  + # Check status of MATLAB connection (now connected)
  + print(matlab)
  + 
  + 
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + # Sample uses of the MATLAB server
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + # Run MATLAB expressions on the MATLAB server
  + evaluate(matlab, "A = 1+2;", "B = ones(2, 20);")
  + 
  + # Ask MATLAB to display a value (without transferring it to R)
  + evaluate(matlab, "A")
  + 
  + # Get MATLAB variables
  + data <- getVariable(matlab, c("A", "B"))
  + cat("Received variables:\n")
  + str(data)
  + 
  + # Set variables in MATLAB
  + ABCD <- matrix(rnorm(10000), ncol = 100)
  + str(ABCD)
  + setVariable(matlab, ABCD = ABCD)
  + 
  + # Retrieve what we just set
  + data <- getVariable(matlab, "ABCD")
  + cat("Received variables:\n")
  + str(data)
  + 
  + # Create a function (M-file) on the MATLAB server
  + setFunction(matlab, "            \
  +   function [win, aver] = dice(B) \
  +   %Play the dice game B times    \
  +   gains = [-1, 2, -3, 4, -5, 6]; \
  +   plays = unidrnd(6, B, 1);      \
  +   win = sum(gains(plays));       \
  +   aver = win/B;                  \
  + ")
  + 
  + # Use the MATLAB function just created
  + evaluate(matlab, "[w, a] = dice(1000);")
  + res <- getVariable(matlab, c("w", "a"))
  + print(res)
  + 
  + 
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + # Done:  close the MATLAB client
  + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + # When done, close the MATLAB client, which will also shutdown
  + # the MATLAB server and the connection to it.
  + close(matlab)
  + 
  + # Check status of MATLAB connection (now disconnected)
  + print(matlab)
  + 
  + } # if (full_test)
  > 
  > proc.time()
     user  system elapsed 
     6.51   55.57   72.04 
Running the tests in 'tests/startup.R' failed.
Complete output:
  > library("R.matlab")
  R.matlab v3.7.0 (2022-08-25 21:52:34 UTC) successfully loaded. See ?R.matlab for help.
  
  Attaching package: 'R.matlab'
  
  The following objects are masked from 'package:base':
  
      getOption, isOpen
  
  > 
  > .onAttach <- R.matlab:::.onAttach
  > .onLoad <- R.matlab:::.onLoad
  > .onUnload <- R.matlab:::.onUnload
  > 
  > message("Startup and shutdown code ...")
  Startup and shutdown code ...
  > 
  > pkgname <- "R.matlab"
  > libname <- pkgname
  > libpath <- dirname(system.file(package = pkgname))
  > 
  > res <- tryCatch({
  +   .onUnload(libpath)
  + }, error = identity)
  > print(res)
           used (Mb) gc trigger (Mb) max used (Mb)
  Ncells 333213 17.8     633894 33.9   633894 33.9
  Vcells 563984  4.4    8388608 64.0  2004060 15.3
  > 
  > res <- tryCatch({
  +   .onLoad(libname, pkgname)
  + }, error = identity)
  > print(res)
  <simpleError in assign(pkgname, pkg, envir = ns): cannot change value of locked binding for 'R.matlab'>
  > 
  > res <- tryCatch({
  +   .onAttach(libname, pkgname)
  + }, error = identity)
  R.matlab v3.7.0 (2022-08-25 21:52:34 UTC) successfully loaded. See ?R.matlab for help.
  > print(res)
  NULL
  > 
  > message("Startup and shutdown code ... DONE")
  Startup and shutdown code ... DONE
  > 
  > proc.time()
     user  system elapsed 
     0.29    0.09    0.37 
Running the tests in 'tests/writeMat.R' failed.
Complete output:
  > library("R.matlab")
  R.matlab v3.7.0 (2022-08-25 21:52:34 UTC) successfully loaded. See ?R.matlab for help.
  
  Attaching package: 'R.matlab'
  
  The following objects are masked from 'package:base':
  
      getOption, isOpen
  
  > 
  > message("writeMat() ...")
  writeMat() ...
  > 
  > message("writeMat() - basic objects ...")
  writeMat() - basic objects ...
  > 
  > A <- matrix(1:27, nrow = 9, ncol = 3)
  > B <- as.matrix(1:10)
  > C <- matrix(c(TRUE, FALSE, FALSE, TRUE), nrow = 2, ncol = 2)
  > D <- array(1:18, dim = c(2, 3, 3))
  > 
  > Cint <- local({ mode(C) <- "integer"; C })
  > truth <- list(A = A, B = B, C = Cint, D = D)
  > 
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > 
  > writeMat(filename, A = A, B = B, C = C, D = D, verbose = -120)
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 4...
    Element name: 'A'
    List of 1
     $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
    writeDataElement()...
     List of 1
      $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
     Counting only...
      writeDataElement()...
       List of 1
        $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
       Data type: 'numeric'
       writeNumericArray(): A...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(9, 3)...
        writeDimensionsArray(): dim = c(9, 3)...done
        writeArrayName(): 'A'...
        writeArrayName(): 'A'...done
        writeNumericPart(): 27 value(s)....
        writeNumericPart(): 27 value(s)....done
       writeNumericArray(): A...done
      writeDataElement()...done
      nbrOfBytes = 160
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): A...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(9, 3)...
      writeDimensionsArray(): dim = c(9, 3)...done
      writeArrayName(): 'A'...
      writeArrayName(): 'A'...done
      writeNumericPart(): 27 value(s)....
      writeNumericPart(): 27 value(s)....done
     writeNumericArray(): A...done
    writeDataElement()...done
    Number of bytes written: 168
   Writing element #1 of 4...done
   Writing element #2 of 4...
    Element name: 'B'
    List of 1
     $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
    writeDataElement()...
     List of 1
      $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
     Counting only...
      writeDataElement()...
       List of 1
        $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
       Data type: 'numeric'
       writeNumericArray(): B...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(10, 1)...
        writeDimensionsArray(): dim = c(10, 1)...done
        writeArrayName(): 'B'...
        writeArrayName(): 'B'...done
        writeNumericPart(): 10 value(s)....
        writeNumericPart(): 10 value(s)....done
       writeNumericArray(): B...done
      writeDataElement()...done
      nbrOfBytes = 88
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): B...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(10, 1)...
      writeDimensionsArray(): dim = c(10, 1)...done
      writeArrayName(): 'B'...
      writeArrayName(): 'B'...done
      writeNumericPart(): 10 value(s)....
      writeNumericPart(): 10 value(s)....done
     writeNumericArray(): B...done
    writeDataElement()...done
    Number of bytes written: 96
   Writing element #2 of 4...done
   Writing element #3 of 4...
    Element name: 'C'
    List of 1
     $ C: logi [1:2, 1:2] TRUE FALSE FALSE TRUE
    writeDataElement()...
     List of 1
      $ C: logi [1:2, 1:2] TRUE FALSE FALSE TRUE
     Counting only...
      writeDataElement()...
       List of 1
        $ C: logi [1:2, 1:2] TRUE FALSE FALSE TRUE
       Data type: 'logical'
       writeNumericArray(): C...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(2, 2)...
        writeDimensionsArray(): dim = c(2, 2)...done
        writeArrayName(): 'C'...
        writeArrayName(): 'C'...done
        writeNumericPart(): 4 value(s)....
        writeNumericPart(): 4 value(s)....done
       writeNumericArray(): C...done
      writeDataElement()...done
      nbrOfBytes = 64
     Counting only...done
     Data type: 'logical'
     writeNumericArray(): C...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(2, 2)...
      writeDimensionsArray(): dim = c(2, 2)...done
      writeArrayName(): 'C'...
      writeArrayName(): 'C'...done
      writeNumericPart(): 4 value(s)....
      writeNumericPart(): 4 value(s)....done
     writeNumericArray(): C...done
    writeDataElement()...done
    Number of bytes written: 72
   Writing element #3 of 4...done
   Writing element #4 of 4...
    Element name: 'D'
    List of 1
     $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
    writeDataElement()...
     List of 1
      $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
     Counting only...
      writeDataElement()...
       List of 1
        $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
       Data type: 'numeric'
       writeNumericArray(): D...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(2, 3, 3)...
        writeDimensionsArray(): dim = c(2, 3, 3)...done
        writeArrayName(): 'D'...
        writeArrayName(): 'D'...done
        writeNumericPart(): 18 value(s)....
        writeNumericPart(): 18 value(s)....done
       writeNumericArray(): D...done
      writeDataElement()...done
      nbrOfBytes = 128
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): D...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(2, 3, 3)...
      writeDimensionsArray(): dim = c(2, 3, 3)...done
      writeArrayName(): 'D'...
      writeArrayName(): 'D'...done
      writeNumericPart(): 18 value(s)....
      writeNumericPart(): 18 value(s)....done
     writeNumericArray(): D...done
    writeDataElement()...done
    Number of bytes written: 136
   Writing element #4 of 4...done
  writeAll()...done
  > data <- readMat(filename)
  > str(data)
  List of 4
   $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
   $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
   $ C: int [1:2, 1:2] 1 0 0 1
   $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:15:05 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(all.equal(truth, data[names(truth)]))
  > 
  > unlink(filename)
  > 
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > 
  > ## Files are overwritten without notice
  > writeMat(filename, A = A, B = B, C = C, D = D)
  > data <- readMat(filename)
  > str(data)
  List of 4
   $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
   $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
   $ C: int [1:2, 1:2] 1 0 0 1
   $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:15:55 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(all.equal(truth, data[names(truth)]))
  > 
  > unlink(filename)
  > 
  > 
  > message("writeMat() - to connection ...")
  writeMat() - to connection ...
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > con <- file(filename)
  > 
  > ## Files are overwritten without notice
  > writeMat(con, A = A, B = B, C = C, D = D, verbose = TRUE)
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 4...
    Element name: 'A'
    List of 1
     $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
    writeDataElement()...
     List of 1
      $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
     Counting only...
      writeDataElement()...
       List of 1
        $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
       Data type: 'numeric'
       writeNumericArray(): A...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(9, 3)...
        writeDimensionsArray(): dim = c(9, 3)...done
        writeArrayName(): 'A'...
        writeArrayName(): 'A'...done
        writeNumericPart(): 27 value(s)....
        writeNumericPart(): 27 value(s)....done
       writeNumericArray(): A...done
      writeDataElement()...done
      nbrOfBytes = 160
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): A...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(9, 3)...
      writeDimensionsArray(): dim = c(9, 3)...done
      writeArrayName(): 'A'...
      writeArrayName(): 'A'...done
      writeNumericPart(): 27 value(s)....
      writeNumericPart(): 27 value(s)....done
     writeNumericArray(): A...done
    writeDataElement()...done
    Number of bytes written: 168
   Writing element #1 of 4...done
   Writing element #2 of 4...
    Element name: 'B'
    List of 1
     $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
    writeDataElement()...
     List of 1
      $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
     Counting only...
      writeDataElement()...
       List of 1
        $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
       Data type: 'numeric'
       writeNumericArray(): B...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(10, 1)...
        writeDimensionsArray(): dim = c(10, 1)...done
        writeArrayName(): 'B'...
        writeArrayName(): 'B'...done
        writeNumericPart(): 10 value(s)....
        writeNumericPart(): 10 value(s)....done
       writeNumericArray(): B...done
      writeDataElement()...done
      nbrOfBytes = 88
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): B...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(10, 1)...
      writeDimensionsArray(): dim = c(10, 1)...done
      writeArrayName(): 'B'...
      writeArrayName(): 'B'...done
      writeNumericPart(): 10 value(s)....
      writeNumericPart(): 10 value(s)....done
     writeNumericArray(): B...done
    writeDataElement()...done
    Number of bytes written: 96
   Writing element #2 of 4...done
   Writing element #3 of 4...
    Element name: 'C'
    List of 1
     $ C: logi [1:2, 1:2] TRUE FALSE FALSE TRUE
    writeDataElement()...
     List of 1
      $ C: logi [1:2, 1:2] TRUE FALSE FALSE TRUE
     Counting only...
      writeDataElement()...
       List of 1
        $ C: logi [1:2, 1:2] TRUE FALSE FALSE TRUE
       Data type: 'logical'
       writeNumericArray(): C...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(2, 2)...
        writeDimensionsArray(): dim = c(2, 2)...done
        writeArrayName(): 'C'...
        writeArrayName(): 'C'...done
        writeNumericPart(): 4 value(s)....
        writeNumericPart(): 4 value(s)....done
       writeNumericArray(): C...done
      writeDataElement()...done
      nbrOfBytes = 64
     Counting only...done
     Data type: 'logical'
     writeNumericArray(): C...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(2, 2)...
      writeDimensionsArray(): dim = c(2, 2)...done
      writeArrayName(): 'C'...
      writeArrayName(): 'C'...done
      writeNumericPart(): 4 value(s)....
      writeNumericPart(): 4 value(s)....done
     writeNumericArray(): C...done
    writeDataElement()...done
    Number of bytes written: 72
   Writing element #3 of 4...done
   Writing element #4 of 4...
    Element name: 'D'
    List of 1
     $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
    writeDataElement()...
     List of 1
      $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
     Counting only...
      writeDataElement()...
       List of 1
        $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
       Data type: 'numeric'
       writeNumericArray(): D...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(2, 3, 3)...
        writeDimensionsArray(): dim = c(2, 3, 3)...done
        writeArrayName(): 'D'...
        writeArrayName(): 'D'...done
        writeNumericPart(): 18 value(s)....
        writeNumericPart(): 18 value(s)....done
       writeNumericArray(): D...done
      writeDataElement()...done
      nbrOfBytes = 128
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): D...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(2, 3, 3)...
      writeDimensionsArray(): dim = c(2, 3, 3)...done
      writeArrayName(): 'D'...
      writeArrayName(): 'D'...done
      writeNumericPart(): 18 value(s)....
      writeNumericPart(): 18 value(s)....done
     writeNumericArray(): D...done
    writeDataElement()...done
    Number of bytes written: 136
   Writing element #4 of 4...done
  writeAll()...done
  > 
  > con <- file(filename)
  > data <- readMat(con)
  > str(data)
  List of 4
   $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
   $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
   $ C: int [1:2, 1:2] 1 0 0 1
   $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:16:08 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(all.equal(truth, data[names(truth)]))
  > 
  > raw <- readBin(filename, what = "raw", n = 1e6)
  > data <- readMat(raw)
  > str(data)
  List of 4
   $ A: int [1:9, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
   $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
   $ C: int [1:2, 1:2] 1 0 0 1
   $ D: int [1:2, 1:3, 1:3] 1 2 3 4 5 6 7 8 9 10 ...
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:16:08 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(all.equal(truth, data[names(truth)]))
  > 
  > unlink(filename)
  > 
  > message("writeMat() - to connection ... DONE")
  writeMat() - to connection ... DONE
  > 
  > 
  > message("writeMat() - basic objects ... DONE")
  writeMat() - basic objects ... DONE
  > 
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > # Complex objects
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > message("writeMat() - complex objects ...")
  writeMat() - complex objects ...
  > 
  > F <- matrix(1i^ (-6:5), nrow = 4)
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > writeMat(filename, F = F, verbose = -120)
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 1...
    Element name: 'F'
    List of 1
     $ F: cplx [1:4, 1:3] -1+0i 0-1i 1+0i ...
    writeDataElement()...
     List of 1
      $ F: cplx [1:4, 1:3] -1+0i 0-1i 1+0i ...
     Counting only...
      writeDataElement()...
       List of 1
        $ F: cplx [1:4, 1:3] -1+0i 0-1i 1+0i ...
       Data type: 'complex'
       writeNumericArray(): F...
        writeArrayFlags(): mxDOUBLE_CLASS...
        writeArrayFlags(): mxDOUBLE_CLASS...done
        writeDimensionsArray(): dim = c(4, 3)...
        writeDimensionsArray(): dim = c(4, 3)...done
        writeArrayName(): 'F'...
        writeArrayName(): 'F'...done
        writeNumericPart(): 12 value(s)....
        writeNumericPart(): 12 value(s)....done
        writeNumericPart(): 12 value(s)....
        writeNumericPart(): 12 value(s)....done
       writeNumericArray(): F...done
      writeDataElement()...done
      nbrOfBytes = 248
     Counting only...done
     Data type: 'complex'
     writeNumericArray(): F...
      writeArrayFlags(): mxDOUBLE_CLASS...
      writeArrayFlags(): mxDOUBLE_CLASS...done
      writeDimensionsArray(): dim = c(4, 3)...
      writeDimensionsArray(): dim = c(4, 3)...done
      writeArrayName(): 'F'...
      writeArrayName(): 'F'...done
      writeNumericPart(): 12 value(s)....
      writeNumericPart(): 12 value(s)....done
      writeNumericPart(): 12 value(s)....
      writeNumericPart(): 12 value(s)....done
     writeNumericArray(): F...done
    writeDataElement()...done
    Number of bytes written: 256
   Writing element #1 of 1...done
  writeAll()...done
  > data <- readMat(filename)
  > str(data)
  List of 1
   $ F: cplx [1:4, 1:3] -1+0i 0-1i 1+0i ...
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:16:42 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(all.equal(data$F, F))
  > unlink(filename)
  > 
  > message("writeMat() - complex objects ... DONE")
  writeMat() - complex objects ... DONE
  > 
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > # Character objects
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > message("writeMat() - character objects ...")
  writeMat() - character objects ...
  > 
  > e <- paste("letter:", letters)
  > E <- matrix(c(e, letters), nrow = 13, ncol = 4)
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > 
  > writeMat(filename, e = e, verbose = -120)
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 1...
    Element name: 'e'
    List of 1
     $ e: chr [1:26(1d)] "letter: a" "letter: b" "letter: c" "letter: d" ...
    writeDataElement()...
     List of 1
      $ e: chr [1:26(1d)] "letter: a" "letter: b" "letter: c" "letter: d" ...
     Counting only...
      writeDataElement()...
       List of 1
        $ e: chr [1:26(1d)] "letter: a" "letter: b" "letter: c" "letter: d" ...
       Data type: 'character'
       writeArrayFlags(): mxCELL_CLASS...
       writeArrayFlags(): mxCELL_CLASS...done
       writeDimensionsArray(): dim = c(26, 1)...
       writeDimensionsArray(): dim = c(26, 1)...done
       writeArrayName(): 'e'...
       writeArrayName(): 'e'...done
       writeDataElement()...
         chr "letter: a"
        Counting only...
         writeDataElement()...
           chr "letter: a"
          Data type: 'character'
          writeCharArray(): 'letter: a'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: a'...
           writeCharPart(): 'letter: a'...done
          writeCharArray(): 'letter: a'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: a'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: a'...
         writeCharPart(): 'letter: a'...done
        writeCharArray(): 'letter: a'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: b"
        Counting only...
         writeDataElement()...
           chr "letter: b"
          Data type: 'character'
          writeCharArray(): 'letter: b'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: b'...
           writeCharPart(): 'letter: b'...done
          writeCharArray(): 'letter: b'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: b'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: b'...
         writeCharPart(): 'letter: b'...done
        writeCharArray(): 'letter: b'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: c"
        Counting only...
         writeDataElement()...
           chr "letter: c"
          Data type: 'character'
          writeCharArray(): 'letter: c'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: c'...
           writeCharPart(): 'letter: c'...done
          writeCharArray(): 'letter: c'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: c'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: c'...
         writeCharPart(): 'letter: c'...done
        writeCharArray(): 'letter: c'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: d"
        Counting only...
         writeDataElement()...
           chr "letter: d"
          Data type: 'character'
          writeCharArray(): 'letter: d'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: d'...
           writeCharPart(): 'letter: d'...done
          writeCharArray(): 'letter: d'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: d'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: d'...
         writeCharPart(): 'letter: d'...done
        writeCharArray(): 'letter: d'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: e"
        Counting only...
         writeDataElement()...
           chr "letter: e"
          Data type: 'character'
          writeCharArray(): 'letter: e'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: e'...
           writeCharPart(): 'letter: e'...done
          writeCharArray(): 'letter: e'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: e'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: e'...
         writeCharPart(): 'letter: e'...done
        writeCharArray(): 'letter: e'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: f"
        Counting only...
         writeDataElement()...
           chr "letter: f"
          Data type: 'character'
          writeCharArray(): 'letter: f'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: f'...
           writeCharPart(): 'letter: f'...done
          writeCharArray(): 'letter: f'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: f'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: f'...
         writeCharPart(): 'letter: f'...done
        writeCharArray(): 'letter: f'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: g"
        Counting only...
         writeDataElement()...
           chr "letter: g"
          Data type: 'character'
          writeCharArray(): 'letter: g'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: g'...
           writeCharPart(): 'letter: g'...done
          writeCharArray(): 'letter: g'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: g'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: g'...
         writeCharPart(): 'letter: g'...done
        writeCharArray(): 'letter: g'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: h"
        Counting only...
         writeDataElement()...
           chr "letter: h"
          Data type: 'character'
          writeCharArray(): 'letter: h'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: h'...
           writeCharPart(): 'letter: h'...done
          writeCharArray(): 'letter: h'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: h'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: h'...
         writeCharPart(): 'letter: h'...done
        writeCharArray(): 'letter: h'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: i"
        Counting only...
         writeDataElement()...
           chr "letter: i"
          Data type: 'character'
          writeCharArray(): 'letter: i'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: i'...
           writeCharPart(): 'letter: i'...done
          writeCharArray(): 'letter: i'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: i'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: i'...
         writeCharPart(): 'letter: i'...done
        writeCharArray(): 'letter: i'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: j"
        Counting only...
         writeDataElement()...
           chr "letter: j"
          Data type: 'character'
          writeCharArray(): 'letter: j'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: j'...
           writeCharPart(): 'letter: j'...done
          writeCharArray(): 'letter: j'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: j'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: j'...
         writeCharPart(): 'letter: j'...done
        writeCharArray(): 'letter: j'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: k"
        Counting only...
         writeDataElement()...
           chr "letter: k"
          Data type: 'character'
          writeCharArray(): 'letter: k'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: k'...
           writeCharPart(): 'letter: k'...done
          writeCharArray(): 'letter: k'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: k'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: k'...
         writeCharPart(): 'letter: k'...done
        writeCharArray(): 'letter: k'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: l"
        Counting only...
         writeDataElement()...
           chr "letter: l"
          Data type: 'character'
          writeCharArray(): 'letter: l'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: l'...
           writeCharPart(): 'letter: l'...done
          writeCharArray(): 'letter: l'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: l'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: l'...
         writeCharPart(): 'letter: l'...done
        writeCharArray(): 'letter: l'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: m"
        Counting only...
         writeDataElement()...
           chr "letter: m"
          Data type: 'character'
          writeCharArray(): 'letter: m'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: m'...
           writeCharPart(): 'letter: m'...done
          writeCharArray(): 'letter: m'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: m'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: m'...
         writeCharPart(): 'letter: m'...done
        writeCharArray(): 'letter: m'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: n"
        Counting only...
         writeDataElement()...
           chr "letter: n"
          Data type: 'character'
          writeCharArray(): 'letter: n'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: n'...
           writeCharPart(): 'letter: n'...done
          writeCharArray(): 'letter: n'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: n'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: n'...
         writeCharPart(): 'letter: n'...done
        writeCharArray(): 'letter: n'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: o"
        Counting only...
         writeDataElement()...
           chr "letter: o"
          Data type: 'character'
          writeCharArray(): 'letter: o'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: o'...
           writeCharPart(): 'letter: o'...done
          writeCharArray(): 'letter: o'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: o'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: o'...
         writeCharPart(): 'letter: o'...done
        writeCharArray(): 'letter: o'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: p"
        Counting only...
         writeDataElement()...
           chr "letter: p"
          Data type: 'character'
          writeCharArray(): 'letter: p'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: p'...
           writeCharPart(): 'letter: p'...done
          writeCharArray(): 'letter: p'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: p'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: p'...
         writeCharPart(): 'letter: p'...done
        writeCharArray(): 'letter: p'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: q"
        Counting only...
         writeDataElement()...
           chr "letter: q"
          Data type: 'character'
          writeCharArray(): 'letter: q'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: q'...
           writeCharPart(): 'letter: q'...done
          writeCharArray(): 'letter: q'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: q'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: q'...
         writeCharPart(): 'letter: q'...done
        writeCharArray(): 'letter: q'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: r"
        Counting only...
         writeDataElement()...
           chr "letter: r"
          Data type: 'character'
          writeCharArray(): 'letter: r'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: r'...
           writeCharPart(): 'letter: r'...done
          writeCharArray(): 'letter: r'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: r'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: r'...
         writeCharPart(): 'letter: r'...done
        writeCharArray(): 'letter: r'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: s"
        Counting only...
         writeDataElement()...
           chr "letter: s"
          Data type: 'character'
          writeCharArray(): 'letter: s'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: s'...
           writeCharPart(): 'letter: s'...done
          writeCharArray(): 'letter: s'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: s'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: s'...
         writeCharPart(): 'letter: s'...done
        writeCharArray(): 'letter: s'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: t"
        Counting only...
         writeDataElement()...
           chr "letter: t"
          Data type: 'character'
          writeCharArray(): 'letter: t'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: t'...
           writeCharPart(): 'letter: t'...done
          writeCharArray(): 'letter: t'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: t'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: t'...
         writeCharPart(): 'letter: t'...done
        writeCharArray(): 'letter: t'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: u"
        Counting only...
         writeDataElement()...
           chr "letter: u"
          Data type: 'character'
          writeCharArray(): 'letter: u'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: u'...
           writeCharPart(): 'letter: u'...done
          writeCharArray(): 'letter: u'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: u'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: u'...
         writeCharPart(): 'letter: u'...done
        writeCharArray(): 'letter: u'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: v"
        Counting only...
         writeDataElement()...
           chr "letter: v"
          Data type: 'character'
          writeCharArray(): 'letter: v'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: v'...
           writeCharPart(): 'letter: v'...done
          writeCharArray(): 'letter: v'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: v'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: v'...
         writeCharPart(): 'letter: v'...done
        writeCharArray(): 'letter: v'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: w"
        Counting only...
         writeDataElement()...
           chr "letter: w"
          Data type: 'character'
          writeCharArray(): 'letter: w'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: w'...
           writeCharPart(): 'letter: w'...done
          writeCharArray(): 'letter: w'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: w'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: w'...
         writeCharPart(): 'letter: w'...done
        writeCharArray(): 'letter: w'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: x"
        Counting only...
         writeDataElement()...
           chr "letter: x"
          Data type: 'character'
          writeCharArray(): 'letter: x'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: x'...
           writeCharPart(): 'letter: x'...done
          writeCharArray(): 'letter: x'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: x'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: x'...
         writeCharPart(): 'letter: x'...done
        writeCharArray(): 'letter: x'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: y"
        Counting only...
         writeDataElement()...
           chr "letter: y"
          Data type: 'character'
          writeCharArray(): 'letter: y'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: y'...
           writeCharPart(): 'letter: y'...done
          writeCharArray(): 'letter: y'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: y'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: y'...
         writeCharPart(): 'letter: y'...done
        writeCharArray(): 'letter: y'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: z"
        Counting only...
         writeDataElement()...
           chr "letter: z"
          Data type: 'character'
          writeCharArray(): 'letter: z'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: z'...
           writeCharPart(): 'letter: z'...done
          writeCharArray(): 'letter: z'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: z'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: z'...
         writeCharPart(): 'letter: z'...done
        writeCharArray(): 'letter: z'...done
       writeDataElement()...done
      writeDataElement()...done
      nbrOfBytes = 2120
     Counting only...done
     Data type: 'character'
     writeArrayFlags(): mxCELL_CLASS...
     writeArrayFlags(): mxCELL_CLASS...done
     writeDimensionsArray(): dim = c(26, 1)...
     writeDimensionsArray(): dim = c(26, 1)...done
     writeArrayName(): 'e'...
     writeArrayName(): 'e'...done
     writeDataElement()...
       chr "letter: a"
      Counting only...
       writeDataElement()...
         chr "letter: a"
        Data type: 'character'
        writeCharArray(): 'letter: a'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: a'...
         writeCharPart(): 'letter: a'...done
        writeCharArray(): 'letter: a'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: a'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: a'...
       writeCharPart(): 'letter: a'...done
      writeCharArray(): 'letter: a'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: b"
      Counting only...
       writeDataElement()...
         chr "letter: b"
        Data type: 'character'
        writeCharArray(): 'letter: b'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: b'...
         writeCharPart(): 'letter: b'...done
        writeCharArray(): 'letter: b'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: b'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: b'...
       writeCharPart(): 'letter: b'...done
      writeCharArray(): 'letter: b'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: c"
      Counting only...
       writeDataElement()...
         chr "letter: c"
        Data type: 'character'
        writeCharArray(): 'letter: c'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: c'...
         writeCharPart(): 'letter: c'...done
        writeCharArray(): 'letter: c'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: c'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: c'...
       writeCharPart(): 'letter: c'...done
      writeCharArray(): 'letter: c'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: d"
      Counting only...
       writeDataElement()...
         chr "letter: d"
        Data type: 'character'
        writeCharArray(): 'letter: d'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: d'...
         writeCharPart(): 'letter: d'...done
        writeCharArray(): 'letter: d'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: d'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: d'...
       writeCharPart(): 'letter: d'...done
      writeCharArray(): 'letter: d'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: e"
      Counting only...
       writeDataElement()...
         chr "letter: e"
        Data type: 'character'
        writeCharArray(): 'letter: e'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: e'...
         writeCharPart(): 'letter: e'...done
        writeCharArray(): 'letter: e'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: e'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: e'...
       writeCharPart(): 'letter: e'...done
      writeCharArray(): 'letter: e'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: f"
      Counting only...
       writeDataElement()...
         chr "letter: f"
        Data type: 'character'
        writeCharArray(): 'letter: f'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: f'...
         writeCharPart(): 'letter: f'...done
        writeCharArray(): 'letter: f'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: f'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: f'...
       writeCharPart(): 'letter: f'...done
      writeCharArray(): 'letter: f'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: g"
      Counting only...
       writeDataElement()...
         chr "letter: g"
        Data type: 'character'
        writeCharArray(): 'letter: g'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: g'...
         writeCharPart(): 'letter: g'...done
        writeCharArray(): 'letter: g'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: g'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: g'...
       writeCharPart(): 'letter: g'...done
      writeCharArray(): 'letter: g'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: h"
      Counting only...
       writeDataElement()...
         chr "letter: h"
        Data type: 'character'
        writeCharArray(): 'letter: h'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: h'...
         writeCharPart(): 'letter: h'...done
        writeCharArray(): 'letter: h'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: h'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: h'...
       writeCharPart(): 'letter: h'...done
      writeCharArray(): 'letter: h'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: i"
      Counting only...
       writeDataElement()...
         chr "letter: i"
        Data type: 'character'
        writeCharArray(): 'letter: i'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: i'...
         writeCharPart(): 'letter: i'...done
        writeCharArray(): 'letter: i'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: i'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: i'...
       writeCharPart(): 'letter: i'...done
      writeCharArray(): 'letter: i'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: j"
      Counting only...
       writeDataElement()...
         chr "letter: j"
        Data type: 'character'
        writeCharArray(): 'letter: j'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: j'...
         writeCharPart(): 'letter: j'...done
        writeCharArray(): 'letter: j'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: j'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: j'...
       writeCharPart(): 'letter: j'...done
      writeCharArray(): 'letter: j'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: k"
      Counting only...
       writeDataElement()...
         chr "letter: k"
        Data type: 'character'
        writeCharArray(): 'letter: k'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: k'...
         writeCharPart(): 'letter: k'...done
        writeCharArray(): 'letter: k'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: k'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: k'...
       writeCharPart(): 'letter: k'...done
      writeCharArray(): 'letter: k'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: l"
      Counting only...
       writeDataElement()...
         chr "letter: l"
        Data type: 'character'
        writeCharArray(): 'letter: l'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: l'...
         writeCharPart(): 'letter: l'...done
        writeCharArray(): 'letter: l'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: l'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: l'...
       writeCharPart(): 'letter: l'...done
      writeCharArray(): 'letter: l'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: m"
      Counting only...
       writeDataElement()...
         chr "letter: m"
        Data type: 'character'
        writeCharArray(): 'letter: m'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: m'...
         writeCharPart(): 'letter: m'...done
        writeCharArray(): 'letter: m'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: m'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: m'...
       writeCharPart(): 'letter: m'...done
      writeCharArray(): 'letter: m'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: n"
      Counting only...
       writeDataElement()...
         chr "letter: n"
        Data type: 'character'
        writeCharArray(): 'letter: n'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: n'...
         writeCharPart(): 'letter: n'...done
        writeCharArray(): 'letter: n'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: n'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: n'...
       writeCharPart(): 'letter: n'...done
      writeCharArray(): 'letter: n'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: o"
      Counting only...
       writeDataElement()...
         chr "letter: o"
        Data type: 'character'
        writeCharArray(): 'letter: o'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: o'...
         writeCharPart(): 'letter: o'...done
        writeCharArray(): 'letter: o'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: o'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: o'...
       writeCharPart(): 'letter: o'...done
      writeCharArray(): 'letter: o'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: p"
      Counting only...
       writeDataElement()...
         chr "letter: p"
        Data type: 'character'
        writeCharArray(): 'letter: p'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: p'...
         writeCharPart(): 'letter: p'...done
        writeCharArray(): 'letter: p'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: p'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: p'...
       writeCharPart(): 'letter: p'...done
      writeCharArray(): 'letter: p'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: q"
      Counting only...
       writeDataElement()...
         chr "letter: q"
        Data type: 'character'
        writeCharArray(): 'letter: q'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: q'...
         writeCharPart(): 'letter: q'...done
        writeCharArray(): 'letter: q'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: q'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: q'...
       writeCharPart(): 'letter: q'...done
      writeCharArray(): 'letter: q'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: r"
      Counting only...
       writeDataElement()...
         chr "letter: r"
        Data type: 'character'
        writeCharArray(): 'letter: r'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: r'...
         writeCharPart(): 'letter: r'...done
        writeCharArray(): 'letter: r'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: r'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: r'...
       writeCharPart(): 'letter: r'...done
      writeCharArray(): 'letter: r'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: s"
      Counting only...
       writeDataElement()...
         chr "letter: s"
        Data type: 'character'
        writeCharArray(): 'letter: s'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: s'...
         writeCharPart(): 'letter: s'...done
        writeCharArray(): 'letter: s'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: s'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: s'...
       writeCharPart(): 'letter: s'...done
      writeCharArray(): 'letter: s'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: t"
      Counting only...
       writeDataElement()...
         chr "letter: t"
        Data type: 'character'
        writeCharArray(): 'letter: t'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: t'...
         writeCharPart(): 'letter: t'...done
        writeCharArray(): 'letter: t'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: t'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: t'...
       writeCharPart(): 'letter: t'...done
      writeCharArray(): 'letter: t'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: u"
      Counting only...
       writeDataElement()...
         chr "letter: u"
        Data type: 'character'
        writeCharArray(): 'letter: u'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: u'...
         writeCharPart(): 'letter: u'...done
        writeCharArray(): 'letter: u'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: u'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: u'...
       writeCharPart(): 'letter: u'...done
      writeCharArray(): 'letter: u'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: v"
      Counting only...
       writeDataElement()...
         chr "letter: v"
        Data type: 'character'
        writeCharArray(): 'letter: v'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: v'...
         writeCharPart(): 'letter: v'...done
        writeCharArray(): 'letter: v'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: v'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: v'...
       writeCharPart(): 'letter: v'...done
      writeCharArray(): 'letter: v'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: w"
      Counting only...
       writeDataElement()...
         chr "letter: w"
        Data type: 'character'
        writeCharArray(): 'letter: w'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: w'...
         writeCharPart(): 'letter: w'...done
        writeCharArray(): 'letter: w'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: w'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: w'...
       writeCharPart(): 'letter: w'...done
      writeCharArray(): 'letter: w'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: x"
      Counting only...
       writeDataElement()...
         chr "letter: x"
        Data type: 'character'
        writeCharArray(): 'letter: x'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: x'...
         writeCharPart(): 'letter: x'...done
        writeCharArray(): 'letter: x'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: x'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: x'...
       writeCharPart(): 'letter: x'...done
      writeCharArray(): 'letter: x'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: y"
      Counting only...
       writeDataElement()...
         chr "letter: y"
        Data type: 'character'
        writeCharArray(): 'letter: y'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: y'...
         writeCharPart(): 'letter: y'...done
        writeCharArray(): 'letter: y'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: y'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: y'...
       writeCharPart(): 'letter: y'...done
      writeCharArray(): 'letter: y'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: z"
      Counting only...
       writeDataElement()...
         chr "letter: z"
        Data type: 'character'
        writeCharArray(): 'letter: z'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: z'...
         writeCharPart(): 'letter: z'...done
        writeCharArray(): 'letter: z'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: z'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: z'...
       writeCharPart(): 'letter: z'...done
      writeCharArray(): 'letter: z'...done
     writeDataElement()...done
    writeDataElement()...done
    Number of bytes written: 2128
   Writing element #1 of 1...done
  writeAll()...done
  > data <- readMat(filename)
  > str(data)
  List of 1
   $ e:List of 26
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: a"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: b"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: c"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: d"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: e"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: f"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: g"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: h"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: i"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: j"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: k"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: l"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: m"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: n"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: o"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: p"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: q"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: r"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: s"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: t"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: u"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: v"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: w"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: x"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: y"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: z"
    ..- attr(*, "dim")= int [1:2] 26 1
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:17:24 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(length(data$e) == length(e))
  > 
  > unlink(filename)
  > 
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > 
  > writeMat(filename, E = E, verbose = -120)
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 1...
    Element name: 'E'
    List of 1
     $ E: chr [1:13, 1:4] "letter: a" "letter: b" "letter: c" "letter: d" ...
    writeDataElement()...
     List of 1
      $ E: chr [1:13, 1:4] "letter: a" "letter: b" "letter: c" "letter: d" ...
     Counting only...
      writeDataElement()...
       List of 1
        $ E: chr [1:13, 1:4] "letter: a" "letter: b" "letter: c" "letter: d" ...
       Data type: 'character'
       writeArrayFlags(): mxCELL_CLASS...
       writeArrayFlags(): mxCELL_CLASS...done
       writeDimensionsArray(): dim = c(13, 4)...
       writeDimensionsArray(): dim = c(13, 4)...done
       writeArrayName(): 'E'...
       writeArrayName(): 'E'...done
       writeDataElement()...
         chr "letter: a"
        Counting only...
         writeDataElement()...
           chr "letter: a"
          Data type: 'character'
          writeCharArray(): 'letter: a'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: a'...
           writeCharPart(): 'letter: a'...done
          writeCharArray(): 'letter: a'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: a'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: a'...
         writeCharPart(): 'letter: a'...done
        writeCharArray(): 'letter: a'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: b"
        Counting only...
         writeDataElement()...
           chr "letter: b"
          Data type: 'character'
          writeCharArray(): 'letter: b'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: b'...
           writeCharPart(): 'letter: b'...done
          writeCharArray(): 'letter: b'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: b'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: b'...
         writeCharPart(): 'letter: b'...done
        writeCharArray(): 'letter: b'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: c"
        Counting only...
         writeDataElement()...
           chr "letter: c"
          Data type: 'character'
          writeCharArray(): 'letter: c'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: c'...
           writeCharPart(): 'letter: c'...done
          writeCharArray(): 'letter: c'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: c'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: c'...
         writeCharPart(): 'letter: c'...done
        writeCharArray(): 'letter: c'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: d"
        Counting only...
         writeDataElement()...
           chr "letter: d"
          Data type: 'character'
          writeCharArray(): 'letter: d'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: d'...
           writeCharPart(): 'letter: d'...done
          writeCharArray(): 'letter: d'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: d'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: d'...
         writeCharPart(): 'letter: d'...done
        writeCharArray(): 'letter: d'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: e"
        Counting only...
         writeDataElement()...
           chr "letter: e"
          Data type: 'character'
          writeCharArray(): 'letter: e'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: e'...
           writeCharPart(): 'letter: e'...done
          writeCharArray(): 'letter: e'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: e'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: e'...
         writeCharPart(): 'letter: e'...done
        writeCharArray(): 'letter: e'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: f"
        Counting only...
         writeDataElement()...
           chr "letter: f"
          Data type: 'character'
          writeCharArray(): 'letter: f'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: f'...
           writeCharPart(): 'letter: f'...done
          writeCharArray(): 'letter: f'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: f'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: f'...
         writeCharPart(): 'letter: f'...done
        writeCharArray(): 'letter: f'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: g"
        Counting only...
         writeDataElement()...
           chr "letter: g"
          Data type: 'character'
          writeCharArray(): 'letter: g'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: g'...
           writeCharPart(): 'letter: g'...done
          writeCharArray(): 'letter: g'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: g'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: g'...
         writeCharPart(): 'letter: g'...done
        writeCharArray(): 'letter: g'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: h"
        Counting only...
         writeDataElement()...
           chr "letter: h"
          Data type: 'character'
          writeCharArray(): 'letter: h'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: h'...
           writeCharPart(): 'letter: h'...done
          writeCharArray(): 'letter: h'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: h'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: h'...
         writeCharPart(): 'letter: h'...done
        writeCharArray(): 'letter: h'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: i"
        Counting only...
         writeDataElement()...
           chr "letter: i"
          Data type: 'character'
          writeCharArray(): 'letter: i'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: i'...
           writeCharPart(): 'letter: i'...done
          writeCharArray(): 'letter: i'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: i'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: i'...
         writeCharPart(): 'letter: i'...done
        writeCharArray(): 'letter: i'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: j"
        Counting only...
         writeDataElement()...
           chr "letter: j"
          Data type: 'character'
          writeCharArray(): 'letter: j'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: j'...
           writeCharPart(): 'letter: j'...done
          writeCharArray(): 'letter: j'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: j'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: j'...
         writeCharPart(): 'letter: j'...done
        writeCharArray(): 'letter: j'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: k"
        Counting only...
         writeDataElement()...
           chr "letter: k"
          Data type: 'character'
          writeCharArray(): 'letter: k'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: k'...
           writeCharPart(): 'letter: k'...done
          writeCharArray(): 'letter: k'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: k'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: k'...
         writeCharPart(): 'letter: k'...done
        writeCharArray(): 'letter: k'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: l"
        Counting only...
         writeDataElement()...
           chr "letter: l"
          Data type: 'character'
          writeCharArray(): 'letter: l'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: l'...
           writeCharPart(): 'letter: l'...done
          writeCharArray(): 'letter: l'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: l'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: l'...
         writeCharPart(): 'letter: l'...done
        writeCharArray(): 'letter: l'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: m"
        Counting only...
         writeDataElement()...
           chr "letter: m"
          Data type: 'character'
          writeCharArray(): 'letter: m'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: m'...
           writeCharPart(): 'letter: m'...done
          writeCharArray(): 'letter: m'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: m'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: m'...
         writeCharPart(): 'letter: m'...done
        writeCharArray(): 'letter: m'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: n"
        Counting only...
         writeDataElement()...
           chr "letter: n"
          Data type: 'character'
          writeCharArray(): 'letter: n'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: n'...
           writeCharPart(): 'letter: n'...done
          writeCharArray(): 'letter: n'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: n'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: n'...
         writeCharPart(): 'letter: n'...done
        writeCharArray(): 'letter: n'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: o"
        Counting only...
         writeDataElement()...
           chr "letter: o"
          Data type: 'character'
          writeCharArray(): 'letter: o'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: o'...
           writeCharPart(): 'letter: o'...done
          writeCharArray(): 'letter: o'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: o'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: o'...
         writeCharPart(): 'letter: o'...done
        writeCharArray(): 'letter: o'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: p"
        Counting only...
         writeDataElement()...
           chr "letter: p"
          Data type: 'character'
          writeCharArray(): 'letter: p'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: p'...
           writeCharPart(): 'letter: p'...done
          writeCharArray(): 'letter: p'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: p'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: p'...
         writeCharPart(): 'letter: p'...done
        writeCharArray(): 'letter: p'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: q"
        Counting only...
         writeDataElement()...
           chr "letter: q"
          Data type: 'character'
          writeCharArray(): 'letter: q'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: q'...
           writeCharPart(): 'letter: q'...done
          writeCharArray(): 'letter: q'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: q'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: q'...
         writeCharPart(): 'letter: q'...done
        writeCharArray(): 'letter: q'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: r"
        Counting only...
         writeDataElement()...
           chr "letter: r"
          Data type: 'character'
          writeCharArray(): 'letter: r'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: r'...
           writeCharPart(): 'letter: r'...done
          writeCharArray(): 'letter: r'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: r'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: r'...
         writeCharPart(): 'letter: r'...done
        writeCharArray(): 'letter: r'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: s"
        Counting only...
         writeDataElement()...
           chr "letter: s"
          Data type: 'character'
          writeCharArray(): 'letter: s'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: s'...
           writeCharPart(): 'letter: s'...done
          writeCharArray(): 'letter: s'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: s'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: s'...
         writeCharPart(): 'letter: s'...done
        writeCharArray(): 'letter: s'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: t"
        Counting only...
         writeDataElement()...
           chr "letter: t"
          Data type: 'character'
          writeCharArray(): 'letter: t'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: t'...
           writeCharPart(): 'letter: t'...done
          writeCharArray(): 'letter: t'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: t'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: t'...
         writeCharPart(): 'letter: t'...done
        writeCharArray(): 'letter: t'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: u"
        Counting only...
         writeDataElement()...
           chr "letter: u"
          Data type: 'character'
          writeCharArray(): 'letter: u'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: u'...
           writeCharPart(): 'letter: u'...done
          writeCharArray(): 'letter: u'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: u'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: u'...
         writeCharPart(): 'letter: u'...done
        writeCharArray(): 'letter: u'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: v"
        Counting only...
         writeDataElement()...
           chr "letter: v"
          Data type: 'character'
          writeCharArray(): 'letter: v'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: v'...
           writeCharPart(): 'letter: v'...done
          writeCharArray(): 'letter: v'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: v'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: v'...
         writeCharPart(): 'letter: v'...done
        writeCharArray(): 'letter: v'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: w"
        Counting only...
         writeDataElement()...
           chr "letter: w"
          Data type: 'character'
          writeCharArray(): 'letter: w'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: w'...
           writeCharPart(): 'letter: w'...done
          writeCharArray(): 'letter: w'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: w'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: w'...
         writeCharPart(): 'letter: w'...done
        writeCharArray(): 'letter: w'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: x"
        Counting only...
         writeDataElement()...
           chr "letter: x"
          Data type: 'character'
          writeCharArray(): 'letter: x'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: x'...
           writeCharPart(): 'letter: x'...done
          writeCharArray(): 'letter: x'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: x'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: x'...
         writeCharPart(): 'letter: x'...done
        writeCharArray(): 'letter: x'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: y"
        Counting only...
         writeDataElement()...
           chr "letter: y"
          Data type: 'character'
          writeCharArray(): 'letter: y'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: y'...
           writeCharPart(): 'letter: y'...done
          writeCharArray(): 'letter: y'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: y'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: y'...
         writeCharPart(): 'letter: y'...done
        writeCharArray(): 'letter: y'...done
       writeDataElement()...done
       writeDataElement()...
         chr "letter: z"
        Counting only...
         writeDataElement()...
           chr "letter: z"
          Data type: 'character'
          writeCharArray(): 'letter: z'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 9)...
           writeDimensionsArray(): dim = c(1, 9)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'letter: z'...
           writeCharPart(): 'letter: z'...done
          writeCharArray(): 'letter: z'...done
         writeDataElement()...done
         nbrOfBytes = 72
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'letter: z'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: z'...
         writeCharPart(): 'letter: z'...done
        writeCharArray(): 'letter: z'...done
       writeDataElement()...done
       writeDataElement()...
         chr "a"
        Counting only...
         writeDataElement()...
           chr "a"
          Data type: 'character'
          writeCharArray(): 'a'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'a'...
           writeCharPart(): 'a'...done
          writeCharArray(): 'a'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'a'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'a'...
         writeCharPart(): 'a'...done
        writeCharArray(): 'a'...done
       writeDataElement()...done
       writeDataElement()...
         chr "b"
        Counting only...
         writeDataElement()...
           chr "b"
          Data type: 'character'
          writeCharArray(): 'b'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'b'...
           writeCharPart(): 'b'...done
          writeCharArray(): 'b'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'b'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'b'...
         writeCharPart(): 'b'...done
        writeCharArray(): 'b'...done
       writeDataElement()...done
       writeDataElement()...
         chr "c"
        Counting only...
         writeDataElement()...
           chr "c"
          Data type: 'character'
          writeCharArray(): 'c'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'c'...
           writeCharPart(): 'c'...done
          writeCharArray(): 'c'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'c'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'c'...
         writeCharPart(): 'c'...done
        writeCharArray(): 'c'...done
       writeDataElement()...done
       writeDataElement()...
         chr "d"
        Counting only...
         writeDataElement()...
           chr "d"
          Data type: 'character'
          writeCharArray(): 'd'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'd'...
           writeCharPart(): 'd'...done
          writeCharArray(): 'd'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'd'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'd'...
         writeCharPart(): 'd'...done
        writeCharArray(): 'd'...done
       writeDataElement()...done
       writeDataElement()...
         chr "e"
        Counting only...
         writeDataElement()...
           chr "e"
          Data type: 'character'
          writeCharArray(): 'e'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'e'...
           writeCharPart(): 'e'...done
          writeCharArray(): 'e'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'e'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'e'...
         writeCharPart(): 'e'...done
        writeCharArray(): 'e'...done
       writeDataElement()...done
       writeDataElement()...
         chr "f"
        Counting only...
         writeDataElement()...
           chr "f"
          Data type: 'character'
          writeCharArray(): 'f'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'f'...
           writeCharPart(): 'f'...done
          writeCharArray(): 'f'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'f'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'f'...
         writeCharPart(): 'f'...done
        writeCharArray(): 'f'...done
       writeDataElement()...done
       writeDataElement()...
         chr "g"
        Counting only...
         writeDataElement()...
           chr "g"
          Data type: 'character'
          writeCharArray(): 'g'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'g'...
           writeCharPart(): 'g'...done
          writeCharArray(): 'g'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'g'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'g'...
         writeCharPart(): 'g'...done
        writeCharArray(): 'g'...done
       writeDataElement()...done
       writeDataElement()...
         chr "h"
        Counting only...
         writeDataElement()...
           chr "h"
          Data type: 'character'
          writeCharArray(): 'h'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'h'...
           writeCharPart(): 'h'...done
          writeCharArray(): 'h'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'h'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'h'...
         writeCharPart(): 'h'...done
        writeCharArray(): 'h'...done
       writeDataElement()...done
       writeDataElement()...
         chr "i"
        Counting only...
         writeDataElement()...
           chr "i"
          Data type: 'character'
          writeCharArray(): 'i'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'i'...
           writeCharPart(): 'i'...done
          writeCharArray(): 'i'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'i'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'i'...
         writeCharPart(): 'i'...done
        writeCharArray(): 'i'...done
       writeDataElement()...done
       writeDataElement()...
         chr "j"
        Counting only...
         writeDataElement()...
           chr "j"
          Data type: 'character'
          writeCharArray(): 'j'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'j'...
           writeCharPart(): 'j'...done
          writeCharArray(): 'j'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'j'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'j'...
         writeCharPart(): 'j'...done
        writeCharArray(): 'j'...done
       writeDataElement()...done
       writeDataElement()...
         chr "k"
        Counting only...
         writeDataElement()...
           chr "k"
          Data type: 'character'
          writeCharArray(): 'k'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'k'...
           writeCharPart(): 'k'...done
          writeCharArray(): 'k'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'k'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'k'...
         writeCharPart(): 'k'...done
        writeCharArray(): 'k'...done
       writeDataElement()...done
       writeDataElement()...
         chr "l"
        Counting only...
         writeDataElement()...
           chr "l"
          Data type: 'character'
          writeCharArray(): 'l'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'l'...
           writeCharPart(): 'l'...done
          writeCharArray(): 'l'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'l'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'l'...
         writeCharPart(): 'l'...done
        writeCharArray(): 'l'...done
       writeDataElement()...done
       writeDataElement()...
         chr "m"
        Counting only...
         writeDataElement()...
           chr "m"
          Data type: 'character'
          writeCharArray(): 'm'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'm'...
           writeCharPart(): 'm'...done
          writeCharArray(): 'm'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'm'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'm'...
         writeCharPart(): 'm'...done
        writeCharArray(): 'm'...done
       writeDataElement()...done
       writeDataElement()...
         chr "n"
        Counting only...
         writeDataElement()...
           chr "n"
          Data type: 'character'
          writeCharArray(): 'n'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'n'...
           writeCharPart(): 'n'...done
          writeCharArray(): 'n'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'n'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'n'...
         writeCharPart(): 'n'...done
        writeCharArray(): 'n'...done
       writeDataElement()...done
       writeDataElement()...
         chr "o"
        Counting only...
         writeDataElement()...
           chr "o"
          Data type: 'character'
          writeCharArray(): 'o'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'o'...
           writeCharPart(): 'o'...done
          writeCharArray(): 'o'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'o'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'o'...
         writeCharPart(): 'o'...done
        writeCharArray(): 'o'...done
       writeDataElement()...done
       writeDataElement()...
         chr "p"
        Counting only...
         writeDataElement()...
           chr "p"
          Data type: 'character'
          writeCharArray(): 'p'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'p'...
           writeCharPart(): 'p'...done
          writeCharArray(): 'p'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'p'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'p'...
         writeCharPart(): 'p'...done
        writeCharArray(): 'p'...done
       writeDataElement()...done
       writeDataElement()...
         chr "q"
        Counting only...
         writeDataElement()...
           chr "q"
          Data type: 'character'
          writeCharArray(): 'q'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'q'...
           writeCharPart(): 'q'...done
          writeCharArray(): 'q'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'q'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'q'...
         writeCharPart(): 'q'...done
        writeCharArray(): 'q'...done
       writeDataElement()...done
       writeDataElement()...
         chr "r"
        Counting only...
         writeDataElement()...
           chr "r"
          Data type: 'character'
          writeCharArray(): 'r'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'r'...
           writeCharPart(): 'r'...done
          writeCharArray(): 'r'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'r'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'r'...
         writeCharPart(): 'r'...done
        writeCharArray(): 'r'...done
       writeDataElement()...done
       writeDataElement()...
         chr "s"
        Counting only...
         writeDataElement()...
           chr "s"
          Data type: 'character'
          writeCharArray(): 's'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 's'...
           writeCharPart(): 's'...done
          writeCharArray(): 's'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 's'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 's'...
         writeCharPart(): 's'...done
        writeCharArray(): 's'...done
       writeDataElement()...done
       writeDataElement()...
         chr "t"
        Counting only...
         writeDataElement()...
           chr "t"
          Data type: 'character'
          writeCharArray(): 't'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 't'...
           writeCharPart(): 't'...done
          writeCharArray(): 't'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 't'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 't'...
         writeCharPart(): 't'...done
        writeCharArray(): 't'...done
       writeDataElement()...done
       writeDataElement()...
         chr "u"
        Counting only...
         writeDataElement()...
           chr "u"
          Data type: 'character'
          writeCharArray(): 'u'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'u'...
           writeCharPart(): 'u'...done
          writeCharArray(): 'u'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'u'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'u'...
         writeCharPart(): 'u'...done
        writeCharArray(): 'u'...done
       writeDataElement()...done
       writeDataElement()...
         chr "v"
        Counting only...
         writeDataElement()...
           chr "v"
          Data type: 'character'
          writeCharArray(): 'v'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'v'...
           writeCharPart(): 'v'...done
          writeCharArray(): 'v'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'v'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'v'...
         writeCharPart(): 'v'...done
        writeCharArray(): 'v'...done
       writeDataElement()...done
       writeDataElement()...
         chr "w"
        Counting only...
         writeDataElement()...
           chr "w"
          Data type: 'character'
          writeCharArray(): 'w'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'w'...
           writeCharPart(): 'w'...done
          writeCharArray(): 'w'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'w'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'w'...
         writeCharPart(): 'w'...done
        writeCharArray(): 'w'...done
       writeDataElement()...done
       writeDataElement()...
         chr "x"
        Counting only...
         writeDataElement()...
           chr "x"
          Data type: 'character'
          writeCharArray(): 'x'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'x'...
           writeCharPart(): 'x'...done
          writeCharArray(): 'x'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'x'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'x'...
         writeCharPart(): 'x'...done
        writeCharArray(): 'x'...done
       writeDataElement()...done
       writeDataElement()...
         chr "y"
        Counting only...
         writeDataElement()...
           chr "y"
          Data type: 'character'
          writeCharArray(): 'y'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'y'...
           writeCharPart(): 'y'...done
          writeCharArray(): 'y'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'y'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'y'...
         writeCharPart(): 'y'...done
        writeCharArray(): 'y'...done
       writeDataElement()...done
       writeDataElement()...
         chr "z"
        Counting only...
         writeDataElement()...
           chr "z"
          Data type: 'character'
          writeCharArray(): 'z'...
           writeArrayFlags(): mxCHAR_CLASS...
           writeArrayFlags(): mxCHAR_CLASS...done
           writeDimensionsArray(): dim = c(1, 1)...
           writeDimensionsArray(): dim = c(1, 1)...done
           writeArrayName(): ''...
           writeArrayName(): ''...done
           writeCharPart(): 'z'...
           writeCharPart(): 'z'...done
          writeCharArray(): 'z'...done
         writeDataElement()...done
         nbrOfBytes = 56
        Counting only...done
        Data type: 'character'
        writeCharArray(): 'z'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'z'...
         writeCharPart(): 'z'...done
        writeCharArray(): 'z'...done
       writeDataElement()...done
      writeDataElement()...done
      nbrOfBytes = 3784
     Counting only...done
     Data type: 'character'
     writeArrayFlags(): mxCELL_CLASS...
     writeArrayFlags(): mxCELL_CLASS...done
     writeDimensionsArray(): dim = c(13, 4)...
     writeDimensionsArray(): dim = c(13, 4)...done
     writeArrayName(): 'E'...
     writeArrayName(): 'E'...done
     writeDataElement()...
       chr "letter: a"
      Counting only...
       writeDataElement()...
         chr "letter: a"
        Data type: 'character'
        writeCharArray(): 'letter: a'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: a'...
         writeCharPart(): 'letter: a'...done
        writeCharArray(): 'letter: a'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: a'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: a'...
       writeCharPart(): 'letter: a'...done
      writeCharArray(): 'letter: a'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: b"
      Counting only...
       writeDataElement()...
         chr "letter: b"
        Data type: 'character'
        writeCharArray(): 'letter: b'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: b'...
         writeCharPart(): 'letter: b'...done
        writeCharArray(): 'letter: b'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: b'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: b'...
       writeCharPart(): 'letter: b'...done
      writeCharArray(): 'letter: b'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: c"
      Counting only...
       writeDataElement()...
         chr "letter: c"
        Data type: 'character'
        writeCharArray(): 'letter: c'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: c'...
         writeCharPart(): 'letter: c'...done
        writeCharArray(): 'letter: c'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: c'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: c'...
       writeCharPart(): 'letter: c'...done
      writeCharArray(): 'letter: c'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: d"
      Counting only...
       writeDataElement()...
         chr "letter: d"
        Data type: 'character'
        writeCharArray(): 'letter: d'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: d'...
         writeCharPart(): 'letter: d'...done
        writeCharArray(): 'letter: d'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: d'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: d'...
       writeCharPart(): 'letter: d'...done
      writeCharArray(): 'letter: d'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: e"
      Counting only...
       writeDataElement()...
         chr "letter: e"
        Data type: 'character'
        writeCharArray(): 'letter: e'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: e'...
         writeCharPart(): 'letter: e'...done
        writeCharArray(): 'letter: e'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: e'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: e'...
       writeCharPart(): 'letter: e'...done
      writeCharArray(): 'letter: e'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: f"
      Counting only...
       writeDataElement()...
         chr "letter: f"
        Data type: 'character'
        writeCharArray(): 'letter: f'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: f'...
         writeCharPart(): 'letter: f'...done
        writeCharArray(): 'letter: f'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: f'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: f'...
       writeCharPart(): 'letter: f'...done
      writeCharArray(): 'letter: f'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: g"
      Counting only...
       writeDataElement()...
         chr "letter: g"
        Data type: 'character'
        writeCharArray(): 'letter: g'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: g'...
         writeCharPart(): 'letter: g'...done
        writeCharArray(): 'letter: g'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: g'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: g'...
       writeCharPart(): 'letter: g'...done
      writeCharArray(): 'letter: g'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: h"
      Counting only...
       writeDataElement()...
         chr "letter: h"
        Data type: 'character'
        writeCharArray(): 'letter: h'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: h'...
         writeCharPart(): 'letter: h'...done
        writeCharArray(): 'letter: h'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: h'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: h'...
       writeCharPart(): 'letter: h'...done
      writeCharArray(): 'letter: h'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: i"
      Counting only...
       writeDataElement()...
         chr "letter: i"
        Data type: 'character'
        writeCharArray(): 'letter: i'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: i'...
         writeCharPart(): 'letter: i'...done
        writeCharArray(): 'letter: i'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: i'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: i'...
       writeCharPart(): 'letter: i'...done
      writeCharArray(): 'letter: i'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: j"
      Counting only...
       writeDataElement()...
         chr "letter: j"
        Data type: 'character'
        writeCharArray(): 'letter: j'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: j'...
         writeCharPart(): 'letter: j'...done
        writeCharArray(): 'letter: j'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: j'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: j'...
       writeCharPart(): 'letter: j'...done
      writeCharArray(): 'letter: j'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: k"
      Counting only...
       writeDataElement()...
         chr "letter: k"
        Data type: 'character'
        writeCharArray(): 'letter: k'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: k'...
         writeCharPart(): 'letter: k'...done
        writeCharArray(): 'letter: k'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: k'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: k'...
       writeCharPart(): 'letter: k'...done
      writeCharArray(): 'letter: k'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: l"
      Counting only...
       writeDataElement()...
         chr "letter: l"
        Data type: 'character'
        writeCharArray(): 'letter: l'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: l'...
         writeCharPart(): 'letter: l'...done
        writeCharArray(): 'letter: l'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: l'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: l'...
       writeCharPart(): 'letter: l'...done
      writeCharArray(): 'letter: l'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: m"
      Counting only...
       writeDataElement()...
         chr "letter: m"
        Data type: 'character'
        writeCharArray(): 'letter: m'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: m'...
         writeCharPart(): 'letter: m'...done
        writeCharArray(): 'letter: m'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: m'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: m'...
       writeCharPart(): 'letter: m'...done
      writeCharArray(): 'letter: m'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: n"
      Counting only...
       writeDataElement()...
         chr "letter: n"
        Data type: 'character'
        writeCharArray(): 'letter: n'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: n'...
         writeCharPart(): 'letter: n'...done
        writeCharArray(): 'letter: n'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: n'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: n'...
       writeCharPart(): 'letter: n'...done
      writeCharArray(): 'letter: n'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: o"
      Counting only...
       writeDataElement()...
         chr "letter: o"
        Data type: 'character'
        writeCharArray(): 'letter: o'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: o'...
         writeCharPart(): 'letter: o'...done
        writeCharArray(): 'letter: o'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: o'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: o'...
       writeCharPart(): 'letter: o'...done
      writeCharArray(): 'letter: o'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: p"
      Counting only...
       writeDataElement()...
         chr "letter: p"
        Data type: 'character'
        writeCharArray(): 'letter: p'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: p'...
         writeCharPart(): 'letter: p'...done
        writeCharArray(): 'letter: p'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: p'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: p'...
       writeCharPart(): 'letter: p'...done
      writeCharArray(): 'letter: p'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: q"
      Counting only...
       writeDataElement()...
         chr "letter: q"
        Data type: 'character'
        writeCharArray(): 'letter: q'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: q'...
         writeCharPart(): 'letter: q'...done
        writeCharArray(): 'letter: q'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: q'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: q'...
       writeCharPart(): 'letter: q'...done
      writeCharArray(): 'letter: q'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: r"
      Counting only...
       writeDataElement()...
         chr "letter: r"
        Data type: 'character'
        writeCharArray(): 'letter: r'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: r'...
         writeCharPart(): 'letter: r'...done
        writeCharArray(): 'letter: r'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: r'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: r'...
       writeCharPart(): 'letter: r'...done
      writeCharArray(): 'letter: r'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: s"
      Counting only...
       writeDataElement()...
         chr "letter: s"
        Data type: 'character'
        writeCharArray(): 'letter: s'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: s'...
         writeCharPart(): 'letter: s'...done
        writeCharArray(): 'letter: s'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: s'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: s'...
       writeCharPart(): 'letter: s'...done
      writeCharArray(): 'letter: s'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: t"
      Counting only...
       writeDataElement()...
         chr "letter: t"
        Data type: 'character'
        writeCharArray(): 'letter: t'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: t'...
         writeCharPart(): 'letter: t'...done
        writeCharArray(): 'letter: t'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: t'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: t'...
       writeCharPart(): 'letter: t'...done
      writeCharArray(): 'letter: t'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: u"
      Counting only...
       writeDataElement()...
         chr "letter: u"
        Data type: 'character'
        writeCharArray(): 'letter: u'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: u'...
         writeCharPart(): 'letter: u'...done
        writeCharArray(): 'letter: u'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: u'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: u'...
       writeCharPart(): 'letter: u'...done
      writeCharArray(): 'letter: u'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: v"
      Counting only...
       writeDataElement()...
         chr "letter: v"
        Data type: 'character'
        writeCharArray(): 'letter: v'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: v'...
         writeCharPart(): 'letter: v'...done
        writeCharArray(): 'letter: v'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: v'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: v'...
       writeCharPart(): 'letter: v'...done
      writeCharArray(): 'letter: v'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: w"
      Counting only...
       writeDataElement()...
         chr "letter: w"
        Data type: 'character'
        writeCharArray(): 'letter: w'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: w'...
         writeCharPart(): 'letter: w'...done
        writeCharArray(): 'letter: w'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: w'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: w'...
       writeCharPart(): 'letter: w'...done
      writeCharArray(): 'letter: w'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: x"
      Counting only...
       writeDataElement()...
         chr "letter: x"
        Data type: 'character'
        writeCharArray(): 'letter: x'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: x'...
         writeCharPart(): 'letter: x'...done
        writeCharArray(): 'letter: x'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: x'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: x'...
       writeCharPart(): 'letter: x'...done
      writeCharArray(): 'letter: x'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: y"
      Counting only...
       writeDataElement()...
         chr "letter: y"
        Data type: 'character'
        writeCharArray(): 'letter: y'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: y'...
         writeCharPart(): 'letter: y'...done
        writeCharArray(): 'letter: y'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: y'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: y'...
       writeCharPart(): 'letter: y'...done
      writeCharArray(): 'letter: y'...done
     writeDataElement()...done
     writeDataElement()...
       chr "letter: z"
      Counting only...
       writeDataElement()...
         chr "letter: z"
        Data type: 'character'
        writeCharArray(): 'letter: z'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 9)...
         writeDimensionsArray(): dim = c(1, 9)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'letter: z'...
         writeCharPart(): 'letter: z'...done
        writeCharArray(): 'letter: z'...done
       writeDataElement()...done
       nbrOfBytes = 72
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'letter: z'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 9)...
       writeDimensionsArray(): dim = c(1, 9)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'letter: z'...
       writeCharPart(): 'letter: z'...done
      writeCharArray(): 'letter: z'...done
     writeDataElement()...done
     writeDataElement()...
       chr "a"
      Counting only...
       writeDataElement()...
         chr "a"
        Data type: 'character'
        writeCharArray(): 'a'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'a'...
         writeCharPart(): 'a'...done
        writeCharArray(): 'a'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'a'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'a'...
       writeCharPart(): 'a'...done
      writeCharArray(): 'a'...done
     writeDataElement()...done
     writeDataElement()...
       chr "b"
      Counting only...
       writeDataElement()...
         chr "b"
        Data type: 'character'
        writeCharArray(): 'b'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'b'...
         writeCharPart(): 'b'...done
        writeCharArray(): 'b'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'b'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'b'...
       writeCharPart(): 'b'...done
      writeCharArray(): 'b'...done
     writeDataElement()...done
     writeDataElement()...
       chr "c"
      Counting only...
       writeDataElement()...
         chr "c"
        Data type: 'character'
        writeCharArray(): 'c'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'c'...
         writeCharPart(): 'c'...done
        writeCharArray(): 'c'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'c'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'c'...
       writeCharPart(): 'c'...done
      writeCharArray(): 'c'...done
     writeDataElement()...done
     writeDataElement()...
       chr "d"
      Counting only...
       writeDataElement()...
         chr "d"
        Data type: 'character'
        writeCharArray(): 'd'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'd'...
         writeCharPart(): 'd'...done
        writeCharArray(): 'd'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'd'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'd'...
       writeCharPart(): 'd'...done
      writeCharArray(): 'd'...done
     writeDataElement()...done
     writeDataElement()...
       chr "e"
      Counting only...
       writeDataElement()...
         chr "e"
        Data type: 'character'
        writeCharArray(): 'e'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'e'...
         writeCharPart(): 'e'...done
        writeCharArray(): 'e'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'e'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'e'...
       writeCharPart(): 'e'...done
      writeCharArray(): 'e'...done
     writeDataElement()...done
     writeDataElement()...
       chr "f"
      Counting only...
       writeDataElement()...
         chr "f"
        Data type: 'character'
        writeCharArray(): 'f'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'f'...
         writeCharPart(): 'f'...done
        writeCharArray(): 'f'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'f'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'f'...
       writeCharPart(): 'f'...done
      writeCharArray(): 'f'...done
     writeDataElement()...done
     writeDataElement()...
       chr "g"
      Counting only...
       writeDataElement()...
         chr "g"
        Data type: 'character'
        writeCharArray(): 'g'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'g'...
         writeCharPart(): 'g'...done
        writeCharArray(): 'g'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'g'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'g'...
       writeCharPart(): 'g'...done
      writeCharArray(): 'g'...done
     writeDataElement()...done
     writeDataElement()...
       chr "h"
      Counting only...
       writeDataElement()...
         chr "h"
        Data type: 'character'
        writeCharArray(): 'h'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'h'...
         writeCharPart(): 'h'...done
        writeCharArray(): 'h'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'h'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'h'...
       writeCharPart(): 'h'...done
      writeCharArray(): 'h'...done
     writeDataElement()...done
     writeDataElement()...
       chr "i"
      Counting only...
       writeDataElement()...
         chr "i"
        Data type: 'character'
        writeCharArray(): 'i'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'i'...
         writeCharPart(): 'i'...done
        writeCharArray(): 'i'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'i'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'i'...
       writeCharPart(): 'i'...done
      writeCharArray(): 'i'...done
     writeDataElement()...done
     writeDataElement()...
       chr "j"
      Counting only...
       writeDataElement()...
         chr "j"
        Data type: 'character'
        writeCharArray(): 'j'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'j'...
         writeCharPart(): 'j'...done
        writeCharArray(): 'j'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'j'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'j'...
       writeCharPart(): 'j'...done
      writeCharArray(): 'j'...done
     writeDataElement()...done
     writeDataElement()...
       chr "k"
      Counting only...
       writeDataElement()...
         chr "k"
        Data type: 'character'
        writeCharArray(): 'k'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'k'...
         writeCharPart(): 'k'...done
        writeCharArray(): 'k'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'k'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'k'...
       writeCharPart(): 'k'...done
      writeCharArray(): 'k'...done
     writeDataElement()...done
     writeDataElement()...
       chr "l"
      Counting only...
       writeDataElement()...
         chr "l"
        Data type: 'character'
        writeCharArray(): 'l'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'l'...
         writeCharPart(): 'l'...done
        writeCharArray(): 'l'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'l'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'l'...
       writeCharPart(): 'l'...done
      writeCharArray(): 'l'...done
     writeDataElement()...done
     writeDataElement()...
       chr "m"
      Counting only...
       writeDataElement()...
         chr "m"
        Data type: 'character'
        writeCharArray(): 'm'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'm'...
         writeCharPart(): 'm'...done
        writeCharArray(): 'm'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'm'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'm'...
       writeCharPart(): 'm'...done
      writeCharArray(): 'm'...done
     writeDataElement()...done
     writeDataElement()...
       chr "n"
      Counting only...
       writeDataElement()...
         chr "n"
        Data type: 'character'
        writeCharArray(): 'n'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'n'...
         writeCharPart(): 'n'...done
        writeCharArray(): 'n'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'n'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'n'...
       writeCharPart(): 'n'...done
      writeCharArray(): 'n'...done
     writeDataElement()...done
     writeDataElement()...
       chr "o"
      Counting only...
       writeDataElement()...
         chr "o"
        Data type: 'character'
        writeCharArray(): 'o'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'o'...
         writeCharPart(): 'o'...done
        writeCharArray(): 'o'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'o'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'o'...
       writeCharPart(): 'o'...done
      writeCharArray(): 'o'...done
     writeDataElement()...done
     writeDataElement()...
       chr "p"
      Counting only...
       writeDataElement()...
         chr "p"
        Data type: 'character'
        writeCharArray(): 'p'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'p'...
         writeCharPart(): 'p'...done
        writeCharArray(): 'p'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'p'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'p'...
       writeCharPart(): 'p'...done
      writeCharArray(): 'p'...done
     writeDataElement()...done
     writeDataElement()...
       chr "q"
      Counting only...
       writeDataElement()...
         chr "q"
        Data type: 'character'
        writeCharArray(): 'q'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'q'...
         writeCharPart(): 'q'...done
        writeCharArray(): 'q'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'q'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'q'...
       writeCharPart(): 'q'...done
      writeCharArray(): 'q'...done
     writeDataElement()...done
     writeDataElement()...
       chr "r"
      Counting only...
       writeDataElement()...
         chr "r"
        Data type: 'character'
        writeCharArray(): 'r'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'r'...
         writeCharPart(): 'r'...done
        writeCharArray(): 'r'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'r'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'r'...
       writeCharPart(): 'r'...done
      writeCharArray(): 'r'...done
     writeDataElement()...done
     writeDataElement()...
       chr "s"
      Counting only...
       writeDataElement()...
         chr "s"
        Data type: 'character'
        writeCharArray(): 's'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 's'...
         writeCharPart(): 's'...done
        writeCharArray(): 's'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 's'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 's'...
       writeCharPart(): 's'...done
      writeCharArray(): 's'...done
     writeDataElement()...done
     writeDataElement()...
       chr "t"
      Counting only...
       writeDataElement()...
         chr "t"
        Data type: 'character'
        writeCharArray(): 't'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 't'...
         writeCharPart(): 't'...done
        writeCharArray(): 't'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 't'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 't'...
       writeCharPart(): 't'...done
      writeCharArray(): 't'...done
     writeDataElement()...done
     writeDataElement()...
       chr "u"
      Counting only...
       writeDataElement()...
         chr "u"
        Data type: 'character'
        writeCharArray(): 'u'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'u'...
         writeCharPart(): 'u'...done
        writeCharArray(): 'u'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'u'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'u'...
       writeCharPart(): 'u'...done
      writeCharArray(): 'u'...done
     writeDataElement()...done
     writeDataElement()...
       chr "v"
      Counting only...
       writeDataElement()...
         chr "v"
        Data type: 'character'
        writeCharArray(): 'v'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'v'...
         writeCharPart(): 'v'...done
        writeCharArray(): 'v'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'v'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'v'...
       writeCharPart(): 'v'...done
      writeCharArray(): 'v'...done
     writeDataElement()...done
     writeDataElement()...
       chr "w"
      Counting only...
       writeDataElement()...
         chr "w"
        Data type: 'character'
        writeCharArray(): 'w'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'w'...
         writeCharPart(): 'w'...done
        writeCharArray(): 'w'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'w'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'w'...
       writeCharPart(): 'w'...done
      writeCharArray(): 'w'...done
     writeDataElement()...done
     writeDataElement()...
       chr "x"
      Counting only...
       writeDataElement()...
         chr "x"
        Data type: 'character'
        writeCharArray(): 'x'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'x'...
         writeCharPart(): 'x'...done
        writeCharArray(): 'x'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'x'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'x'...
       writeCharPart(): 'x'...done
      writeCharArray(): 'x'...done
     writeDataElement()...done
     writeDataElement()...
       chr "y"
      Counting only...
       writeDataElement()...
         chr "y"
        Data type: 'character'
        writeCharArray(): 'y'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'y'...
         writeCharPart(): 'y'...done
        writeCharArray(): 'y'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'y'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'y'...
       writeCharPart(): 'y'...done
      writeCharArray(): 'y'...done
     writeDataElement()...done
     writeDataElement()...
       chr "z"
      Counting only...
       writeDataElement()...
         chr "z"
        Data type: 'character'
        writeCharArray(): 'z'...
         writeArrayFlags(): mxCHAR_CLASS...
         writeArrayFlags(): mxCHAR_CLASS...done
         writeDimensionsArray(): dim = c(1, 1)...
         writeDimensionsArray(): dim = c(1, 1)...done
         writeArrayName(): ''...
         writeArrayName(): ''...done
         writeCharPart(): 'z'...
         writeCharPart(): 'z'...done
        writeCharArray(): 'z'...done
       writeDataElement()...done
       nbrOfBytes = 56
      Counting only...done
      Data type: 'character'
      writeCharArray(): 'z'...
       writeArrayFlags(): mxCHAR_CLASS...
       writeArrayFlags(): mxCHAR_CLASS...done
       writeDimensionsArray(): dim = c(1, 1)...
       writeDimensionsArray(): dim = c(1, 1)...done
       writeArrayName(): ''...
       writeArrayName(): ''...done
       writeCharPart(): 'z'...
       writeCharPart(): 'z'...done
      writeCharArray(): 'z'...done
     writeDataElement()...done
    writeDataElement()...done
    Number of bytes written: 3792
   Writing element #1 of 1...done
  writeAll()...done
  > data <- readMat(filename)
  > str(data)
  List of 1
   $ E:List of 52
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: a"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: b"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: c"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: d"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: e"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: f"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: g"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: h"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: i"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: j"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: k"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: l"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: m"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: n"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: o"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: p"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: q"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: r"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: s"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: t"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: u"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: v"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: w"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: x"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: y"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "letter: z"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "a"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "b"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "c"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "d"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "e"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "f"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "g"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "h"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "i"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "j"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "k"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "l"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "m"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "n"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "o"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "p"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "q"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "r"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "s"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "t"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "u"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "v"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "w"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "x"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "y"
    ..$ :List of 1
    .. ..$ : chr [1, 1] "z"
    ..- attr(*, "dim")= int [1:2] 13 4
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:18:13 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(length(data$E) == length(E))
  > 
  > unlink(filename)
  > 
  > message("writeMat() - character objects ... DONE")
  writeMat() - character objects ... DONE
  > 
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > # Multi-dimensional arrays
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > message("writeMat() - multidimensional arrays ...")
  writeMat() - multidimensional arrays ...
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > X <- array(1:24, dim = c(2, 3, 4))
  > writeMat(filename, X = X)
  > data <- readMat(filename)
  > str(data)
  List of 1
   $ X: int [1:2, 1:3, 1:4] 1 2 3 4 5 6 7 8 9 10 ...
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:18:59 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(all.equal(data$X, X))
  > unlink(filename)
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > A <- 1:4
  > X <- array(1:24, dim = c(2, 3, 4))
  > data <- list(A = A, X = X)
  > writeMat(filename, data = data)
  > data2 <- readMat(filename)$data
  > str(data2)
  List of 2
   $ : int [1:4, 1] 1 2 3 4
   $ : int [1:24, 1] 1 2 3 4 5 6 7 8 9 10 ...
   - attr(*, "dim")= int [1:3] 2 1 1
   - attr(*, "dimnames")=List of 3
    ..$ : chr [1:2] "A" "X"
    ..$ : NULL
    ..$ : NULL
  > ## FIXME: https://github.com/HenrikBengtsson/R.matlab/issues/30
  > ## stopifnot(all.equal(data2$A, data$A), all.equal(data2$X, data$X),
  > ##           all.equal(data2, data))
  > unlink(filename)
  > 
  > message("writeMat() - multidimensional arrays ... DONE")
  writeMat() - multidimensional arrays ... DONE
  > 
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > # All objects written must be named uniquely
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > message("writeMat() - onWrite ...")
  writeMat() - onWrite ...
  > 
  > g <- 0L
  > onWrite <- function(...) {
  +   args <- list(...)
  +   str(args)
  +   g <<- g + 1L
  + }
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > writeMat(filename, x = 1, onWrite = onWrite)
  List of 1
   $ :List of 2
    ..$ con   : 'file' int 3
    .. ..- attr(*, "conn_id")=<externalptr> 
    ..$ length: num 192
    .. ..- attr(*, "tagSize")= num 8
  > unlink(filename)
  > print(g)
  [1] 1
  > stopifnot(g == 1L)
  > 
  > message("writeMat() - onWrite ... DONE")
  writeMat() - onWrite ... DONE
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > # Renaming variable and field names
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > message("writeMat() - fixNames ...")
  writeMat() - fixNames ...
  > 
  > truth <- list(a.b = 1, c_d = 2, e_f.g = 3, x = 4)
  > str(truth)
  List of 4
   $ a.b  : num 1
   $ c_d  : num 2
   $ e_f.g: num 3
   $ x    : num 4
  > names <- names(truth)
  > names. <- gsub("_", ".", names(truth), fixed = TRUE)
  > names_ <- gsub(".", "_", names(truth), fixed = TRUE)
  > 
  > message("writeMat() - fixNames and variable names ...")
  writeMat() - fixNames and variable names ...
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > do.call(writeMat, args = c(list(filename), truth, fixNames = FALSE))
  > data <- readMat(filename, fixNames = FALSE)
  > str(data)
  List of 4
   $ a.b  : num [1(1d)] 1
   $ c_d  : num [1(1d)] 2
   $ e_f.g: num [1(1d)] 3
   $ x    : num [1(1d)] 4
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:21:29 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(length(data) == length(truth), all(names(data) == names))
  > data <- readMat(filename, fixNames = TRUE)
  > str(data)
  List of 4
   $ a.b  : num [1(1d)] 1
   $ c.d  : num [1(1d)] 2
   $ e.f.g: num [1(1d)] 3
   $ x    : num [1(1d)] 4
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:21:29 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(length(data) == length(truth), all(names(data) == names.))
  > unlink(filename)
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > do.call(writeMat, args = c(list(filename), truth, fixNames = TRUE))
  > data <- readMat(filename, fixNames = FALSE)
  > str(data)
  List of 4
   $ a_b  : num [1(1d)] 1
   $ c_d  : num [1(1d)] 2
   $ e_f_g: num [1(1d)] 3
   $ x    : num [1(1d)] 4
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:22:21 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(length(data) == length(truth), all(names(data) == names_))
  > data <- readMat(filename, fixNames = TRUE)
  > str(data)
  List of 4
   $ a.b  : num [1(1d)] 1
   $ c.d  : num [1(1d)] 2
   $ e.f.g: num [1(1d)] 3
   $ x    : num [1(1d)] 4
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:22:21 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(length(data) == length(truth), all(names(data) == names.))
  > unlink(filename)
  > 
  > message("writeMat() - fixNames and variable names ... DONE")
  writeMat() - fixNames and variable names ... DONE
  > 
  > message("writeMat() - fixNames and field names ...")
  writeMat() - fixNames and field names ...
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > writeMat(filename, x = truth, fixNames = FALSE)
  > data <- readMat(filename, fixNames = FALSE)
  > str(data)
  List of 1
   $ x:List of 4
    ..$ : num [1, 1] 1
    ..$ : num [1, 1] 2
    ..$ : num [1, 1] 3
    ..$ : num [1, 1] 4
    ..- attr(*, "dim")= int [1:3] 4 1 1
    ..- attr(*, "dimnames")=List of 3
    .. ..$ : chr [1:4] "a.b" "c_d" "e_f.g" "x"
    .. ..$ : NULL
    .. ..$ : NULL
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:23:16 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(nrow(data) == length(truth), all(rownames(data$x) == names))
  > data <- readMat(filename, fixNames = TRUE)
  > str(data)
  List of 1
   $ x:List of 4
    ..$ : num [1, 1] 1
    ..$ : num [1, 1] 2
    ..$ : num [1, 1] 3
    ..$ : num [1, 1] 4
    ..- attr(*, "dim")= int [1:3] 4 1 1
    ..- attr(*, "dimnames")=List of 3
    .. ..$ : chr [1:4] "a.b" "c.d" "e.f.g" "x"
    .. ..$ : NULL
    .. ..$ : NULL
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:23:16 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(nrow(data) == length(truth), all(rownames(data$x) == names.))
  > unlink(filename)
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > writeMat(filename, x = truth, fixNames = TRUE)
  > data <- readMat(filename, fixNames = FALSE)
  > str(data)
  List of 1
   $ x:List of 4
    ..$ : num [1, 1] 1
    ..$ : num [1, 1] 2
    ..$ : num [1, 1] 3
    ..$ : num [1, 1] 4
    ..- attr(*, "dim")= int [1:3] 4 1 1
    ..- attr(*, "dimnames")=List of 3
    .. ..$ : chr [1:4] "a_b" "c_d" "e_f_g" "x"
    .. ..$ : NULL
    .. ..$ : NULL
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:24:10 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(nrow(data) == length(truth), all(rownames(data$x) == names_))
  > data <- readMat(filename, fixNames = TRUE)
  > str(data)
  List of 1
   $ x:List of 4
    ..$ : num [1, 1] 1
    ..$ : num [1, 1] 2
    ..$ : num [1, 1] 3
    ..$ : num [1, 1] 4
    ..- attr(*, "dim")= int [1:3] 4 1 1
    ..- attr(*, "dimnames")=List of 3
    .. ..$ : chr [1:4] "a.b" "c.d" "e.f.g" "x"
    .. ..$ : NULL
    .. ..$ : NULL
   - attr(*, "header")=List of 3
    ..$ description: chr "MATLAB 5.0 MAT-file, Platform: windows, Software: R v4.4.0, Created on: Sat Mar 23 09:24:10 2024                            "
    ..$ version    : chr "5"
    ..$ endian     : chr "little"
  > stopifnot(nrow(data) == length(truth), all(rownames(data$x) == names.))
  > unlink(filename)
  > 
  > message("writeMat() - fixNames and field names ... DONE")
  writeMat() - fixNames and field names ... DONE
  > 
  > message("writeMat() - fixNames ... DONE")
  writeMat() - fixNames ... DONE
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > # All objects written must be named uniquely
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > message("writeMat() - exceptions ...")
  writeMat() - exceptions ...
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > tryCatch({
  +   # Named
  +   writeMat(filename, A = A, verbose = -120)
  +   # Not named
  +   writeMat(filename, A, verbose = -120)
  + }, error = function(ex) {
  +   cat("ERROR:", ex$message, "\n")
  + })
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 1...
    Element name: 'A'
    List of 1
     $ A: int [1:4(1d)] 1 2 3 4
    writeDataElement()...
     List of 1
      $ A: int [1:4(1d)] 1 2 3 4
     Counting only...
      writeDataElement()...
       List of 1
        $ A: int [1:4(1d)] 1 2 3 4
       Data type: 'numeric'
       writeNumericArray(): A...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(4)...
        writeDimensionsArray(): dim = c(4)...done
        writeArrayName(): 'A'...
        writeArrayName(): 'A'...done
        writeNumericPart(): 4 value(s)....
        writeNumericPart(): 4 value(s)....done
       writeNumericArray(): A...done
      writeDataElement()...done
      nbrOfBytes = 64
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): A...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(4)...
      writeDimensionsArray(): dim = c(4)...done
      writeArrayName(): 'A'...
      writeArrayName(): 'A'...done
      writeNumericPart(): 4 value(s)....
      writeNumericPart(): 4 value(s)....done
     writeNumericArray(): A...done
    writeDataElement()...done
    Number of bytes written: 72
   Writing element #1 of 1...done
  writeAll()...done
  ERROR: Detected non-named objects. Non-named objects will not be available in MATLAB if completed. Use writeMat(..., x = a, y = y) and not writeMat(..., x = a, y): writeMat.default(filename, A, verbose = -120) 
  > unlink(filename)
  > 
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > tryCatch({
  +   # Uniquely named
  +   writeMat(filename, A = A, B = B, C = C, verbose = -120)
  +   # Not uniquely named
  +   writeMat(filename, A = A, B = B, A = C, verbose = -120)
  + }, error = function(ex) {
  +   cat("ERROR:", ex$message, "\n")
  + })
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 3...
    Element name: 'A'
    List of 1
     $ A: int [1:4(1d)] 1 2 3 4
    writeDataElement()...
     List of 1
      $ A: int [1:4(1d)] 1 2 3 4
     Counting only...
      writeDataElement()...
       List of 1
        $ A: int [1:4(1d)] 1 2 3 4
       Data type: 'numeric'
       writeNumericArray(): A...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(4)...
        writeDimensionsArray(): dim = c(4)...done
        writeArrayName(): 'A'...
        writeArrayName(): 'A'...done
        writeNumericPart(): 4 value(s)....
        writeNumericPart(): 4 value(s)....done
       writeNumericArray(): A...done
      writeDataElement()...done
      nbrOfBytes = 64
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): A...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(4)...
      writeDimensionsArray(): dim = c(4)...done
      writeArrayName(): 'A'...
      writeArrayName(): 'A'...done
      writeNumericPart(): 4 value(s)....
      writeNumericPart(): 4 value(s)....done
     writeNumericArray(): A...done
    writeDataElement()...done
    Number of bytes written: 72
   Writing element #1 of 3...done
   Writing element #2 of 3...
    Element name: 'B'
    List of 1
     $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
    writeDataElement()...
     List of 1
      $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
     Counting only...
      writeDataElement()...
       List of 1
        $ B: int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
       Data type: 'numeric'
       writeNumericArray(): B...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(10, 1)...
        writeDimensionsArray(): dim = c(10, 1)...done
        writeArrayName(): 'B'...
        writeArrayName(): 'B'...done
        writeNumericPart(): 10 value(s)....
        writeNumericPart(): 10 value(s)....done
       writeNumericArray(): B...done
      writeDataElement()...done
      nbrOfBytes = 88
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): B...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(10, 1)...
      writeDimensionsArray(): dim = c(10, 1)...done
      writeArrayName(): 'B'...
      writeArrayName(): 'B'...done
      writeNumericPart(): 10 value(s)....
      writeNumericPart(): 10 value(s)....done
     writeNumericArray(): B...done
    writeDataElement()...done
    Number of bytes written: 96
   Writing element #2 of 3...done
   Writing element #3 of 3...
    Element name: 'C'
    List of 1
     $ C: logi [1:2, 1:2] TRUE FALSE FALSE TRUE
    writeDataElement()...
     List of 1
      $ C: logi [1:2, 1:2] TRUE FALSE FALSE TRUE
     Counting only...
      writeDataElement()...
       List of 1
        $ C: logi [1:2, 1:2] TRUE FALSE FALSE TRUE
       Data type: 'logical'
       writeNumericArray(): C...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(2, 2)...
        writeDimensionsArray(): dim = c(2, 2)...done
        writeArrayName(): 'C'...
        writeArrayName(): 'C'...done
        writeNumericPart(): 4 value(s)....
        writeNumericPart(): 4 value(s)....done
       writeNumericArray(): C...done
      writeDataElement()...done
      nbrOfBytes = 64
     Counting only...done
     Data type: 'logical'
     writeNumericArray(): C...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(2, 2)...
      writeDimensionsArray(): dim = c(2, 2)...done
      writeArrayName(): 'C'...
      writeArrayName(): 'C'...done
      writeNumericPart(): 4 value(s)....
      writeNumericPart(): 4 value(s)....done
     writeNumericArray(): C...done
    writeDataElement()...done
    Number of bytes written: 72
   Writing element #3 of 3...done
  writeAll()...done
  ERROR: Detected objects with duplicated names (A). Only the last occurance of each duplicated object will be available in MATLAB if completed: writeMat.default(filename, A = A, B = B, A = C, verbose = -120) 
  > unlink(filename)
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > res <- tryCatch({
  +   writeMat(filename, expr = substitute(x <- 2))
  + }, error = identity)
  > print(res)
  <simpleError in dim(x) <- length(x): invalid first argument, must be vector (list or atomic)>
  > unlink(filename)
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > res <- tryCatch({
  +   writeMat(filename, formula = y ~ x)
  + }, error = identity)
  > print(res)
  <simpleError in dim(x) <- length(x): invalid first argument, must be vector (list or atomic)>
  > unlink(filename)
  > 
  > 
  > filename <- paste(tempfile(), ".mat", sep = "")
  > res <- tryCatch({
  +   writeMat(filename, x = 1, matVersion = "99")
  + }, error = identity)
  > print(res)
  <simpleError in writeMat.default(filename, x = 1, matVersion = "99"): Can not write MAT file. Unknown or unsupported MAT version: 99>
  > unlink(filename)
  > 
  > message("writeMat() - exceptions ... DONE")
  writeMat() - exceptions ... DONE
  > 
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > # Octave compatibility
  > # [1] GNU Octave, bug #42562: 3.8.1 can't load mat file
  > #     (>maltab r2010b), 2014-06-15
  > #     https://savannah.gnu.org/bugs/?42562
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > message("writeMat() - Octave compatibility ...")
  writeMat() - Octave compatibility ...
  > 
  > value <- double(0L)
  > filename <- file.path(tempdir(), "octave-bug42562-empty.mat")
  > writeMat(filename, value = value, verbose = -120)
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 1...
    Element name: 'value'
    List of 1
     $ value: num[0 (1d)] 
    writeDataElement()...
     List of 1
      $ value: num[0 (1d)] 
     Counting only...
      writeDataElement()...
       List of 1
        $ value: num[0 (1d)] 
       Data type: 'numeric'
       writeNumericArray(): value...
        writeArrayFlags(): mxDOUBLE_CLASS...
        writeArrayFlags(): mxDOUBLE_CLASS...done
        writeDimensionsArray(): dim = c(0)...
        writeDimensionsArray(): dim = c(0)...done
        writeArrayName(): 'value'...
        writeArrayName(): 'value'...done
        writeNumericPart(): 0 value(s)....
        writeNumericPart(): 0 value(s)....done
       writeNumericArray(): value...done
      writeDataElement()...done
      nbrOfBytes = 56
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): value...
      writeArrayFlags(): mxDOUBLE_CLASS...
      writeArrayFlags(): mxDOUBLE_CLASS...done
      writeDimensionsArray(): dim = c(0)...
      writeDimensionsArray(): dim = c(0)...done
      writeArrayName(): 'value'...
      writeArrayName(): 'value'...done
      writeNumericPart(): 0 value(s)....
      writeNumericPart(): 0 value(s)....done
     writeNumericArray(): value...done
    writeDataElement()...done
    Number of bytes written: 64
   Writing element #1 of 1...done
  writeAll()...done
  > data <- readMat(filename, verbose = -100)
  Opens binary file: D:\temp\RtmpkRHdOv/octave-bug42562-empty.mat
  Trying to read MAT v5 file stream.
  Reading data element...
   Reading Tag...
   Reading Tag...done
   Reading (outer) miMATRIX...
    Reading miMATRIX...
     Argument 'tag':
     List of 7
      $ type      : chr "miMATRIX"
      $ signed    : Named logi NA
       ..- attr(*, "names")= chr "miMATRIX"
      $ sizeOf    : Named int NA
       ..- attr(*, "names")= chr "miMATRIX"
      $ what      : logi NA
      $ nbrOfBytes: int 56
      $ padding   : int 0
      $ compressed: logi FALSE
     Reading Tag...
     Reading Tag...done
     Reading Array Flags...
     Reading Array Flags...done
     List of 6
      $ logical  : logi FALSE
      $ global   : logi FALSE
      $ complex  : logi FALSE
      $ class    : chr "mxDOUBLE_CLASS"
      $ classSize: Named int NA
       ..- attr(*, "names")= chr "mxDOUBLE_CLASS"
      $ nzmax    : int 0
     Reading Dimensions Array...
      Reading Tag...
      Reading Tag...done
     Reading Dimensions Array...done
     DimensionsArray: 0
     Reading Array Name...
      Reading Tag...
      Reading Tag...done
      Name: 'value'
     Reading Array Name...done
     Array name: 'value'
     Reading Values...
      Reading Tag...
      Reading Tag...done
     Reading Values...done
     Converting to mxDOUBLE_CLASS matrix.
    Reading miMATRIX...done
    List of 1
     $ value: num[0 (1d)] 
   Reading (outer) miMATRIX...done
  Reading data element...done: 'value' [numeric: 0]
  Reading data element...
   Reading Tag...
   Reading Tag...done
  Reading data element...done
  Binary file closed.
  > value2 <- data$value
  > str(value2)
   num[0 (1d)] 
  > stopifnot(length(value2) == length(value))
  > stopifnot(all(value2 == value))
  > 
  > value <- 0
  > filename <- file.path(tempdir(), "octave-bug42562-scalar.mat")
  > writeMat(filename, value = value, verbose = -120)
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 1...
    Element name: 'value'
    List of 1
     $ value: num [1(1d)] 0
    writeDataElement()...
     List of 1
      $ value: num [1(1d)] 0
     Counting only...
      writeDataElement()...
       List of 1
        $ value: num [1(1d)] 0
       Data type: 'numeric'
       writeNumericArray(): value...
        writeArrayFlags(): mxDOUBLE_CLASS...
        writeArrayFlags(): mxDOUBLE_CLASS...done
        writeDimensionsArray(): dim = c(1)...
        writeDimensionsArray(): dim = c(1)...done
        writeArrayName(): 'value'...
        writeArrayName(): 'value'...done
        writeNumericPart(): 1 value(s)....
        writeNumericPart(): 1 value(s)....done
       writeNumericArray(): value...done
      writeDataElement()...done
      nbrOfBytes = 64
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): value...
      writeArrayFlags(): mxDOUBLE_CLASS...
      writeArrayFlags(): mxDOUBLE_CLASS...done
      writeDimensionsArray(): dim = c(1)...
      writeDimensionsArray(): dim = c(1)...done
      writeArrayName(): 'value'...
      writeArrayName(): 'value'...done
      writeNumericPart(): 1 value(s)....
      writeNumericPart(): 1 value(s)....done
     writeNumericArray(): value...done
    writeDataElement()...done
    Number of bytes written: 72
   Writing element #1 of 1...done
  writeAll()...done
  > data <- readMat(filename, verbose = -100)
  Opens binary file: D:\temp\RtmpkRHdOv/octave-bug42562-scalar.mat
  Trying to read MAT v5 file stream.
  Reading data element...
   Reading Tag...
   Reading Tag...done
   Reading (outer) miMATRIX...
    Reading miMATRIX...
     Argument 'tag':
     List of 7
      $ type      : chr "miMATRIX"
      $ signed    : Named logi NA
       ..- attr(*, "names")= chr "miMATRIX"
      $ sizeOf    : Named int NA
       ..- attr(*, "names")= chr "miMATRIX"
      $ what      : logi NA
      $ nbrOfBytes: int 64
      $ padding   : int 0
      $ compressed: logi FALSE
     Reading Tag...
     Reading Tag...done
     Reading Array Flags...
     Reading Array Flags...done
     List of 6
      $ logical  : logi FALSE
      $ global   : logi FALSE
      $ complex  : logi FALSE
      $ class    : chr "mxDOUBLE_CLASS"
      $ classSize: Named int NA
       ..- attr(*, "names")= chr "mxDOUBLE_CLASS"
      $ nzmax    : int 0
     Reading Dimensions Array...
      Reading Tag...
      Reading Tag...done
     Reading Dimensions Array...done
     DimensionsArray: 1
     Reading Array Name...
      Reading Tag...
      Reading Tag...done
      Name: 'value'
     Reading Array Name...done
     Array name: 'value'
     Reading Values...
      Reading Tag...
      Reading Tag...done
     Reading Values...done
     Converting to mxDOUBLE_CLASS matrix.
    Reading miMATRIX...done
    List of 1
     $ value: num [1(1d)] 0
   Reading (outer) miMATRIX...done
  Reading data element...done: 'value' [numeric: 1]
  Reading data element...
   Reading Tag...
   Reading Tag...done
  Reading data element...done
  Binary file closed.
  > value2 <- data$value
  > str(value2)
   num [1(1d)] 0
  > stopifnot(length(value2) == length(value))
  > stopifnot(all(value2 == value))
  > 
  > value <- 1:5
  > filename <- file.path(tempdir(), "octave-bug42562-vector.mat")
  > writeMat(filename, value = value, verbose = -120)
  writeHeader()...
  writeHeader()...done
  writeAll()...
   Writing element #1 of 1...
    Element name: 'value'
    List of 1
     $ value: int [1:5(1d)] 1 2 3 4 5
    writeDataElement()...
     List of 1
      $ value: int [1:5(1d)] 1 2 3 4 5
     Counting only...
      writeDataElement()...
       List of 1
        $ value: int [1:5(1d)] 1 2 3 4 5
       Data type: 'numeric'
       writeNumericArray(): value...
        writeArrayFlags(): mxINT32_CLASS...
        writeArrayFlags(): mxINT32_CLASS...done
        writeDimensionsArray(): dim = c(5)...
        writeDimensionsArray(): dim = c(5)...done
        writeArrayName(): 'value'...
        writeArrayName(): 'value'...done
        writeNumericPart(): 5 value(s)....
        writeNumericPart(): 5 value(s)....done
       writeNumericArray(): value...done
      writeDataElement()...done
      nbrOfBytes = 80
     Counting only...done
     Data type: 'numeric'
     writeNumericArray(): value...
      writeArrayFlags(): mxINT32_CLASS...
      writeArrayFlags(): mxINT32_CLASS...done
      writeDimensionsArray(): dim = c(5)...
      writeDimensionsArray(): dim = c(5)...done
      writeArrayName(): 'value'...
      writeArrayName(): 'value'...done
      writeNumericPart(): 5 value(s)....
      writeNumericPart(): 5 value(s)....done
     writeNumericArray(): value...done
    writeDataElement()...done
    Number of bytes written: 88
   Writing element #1 of 1...done
  writeAll()...done
  > data <- readMat(filename, verbose = -100)
  Opens binary file: D:\temp\RtmpkRHdOv/octave-bug42562-vector.mat
  Trying to read MAT v5 file stream.
  Reading data element...
   Reading Tag...
   Reading Tag...done
   Reading (outer) miMATRIX...
    Reading miMATRIX...
     Argument 'tag':
     List of 7
      $ type      : chr "miMATRIX"
      $ signed    : Named logi NA
       ..- attr(*, "names")= chr "miMATRIX"
      $ sizeOf    : Named int NA
       ..- attr(*, "names")= chr "miMATRIX"
      $ what      : logi NA
      $ nbrOfBytes: int 80
      $ padding   : int 0
      $ compressed: logi FALSE
     Reading Tag...
     Reading Tag...done
     Reading Array Flags...
     Reading Array Flags...done
     List of 6
      $ logical  : logi FALSE
      $ global   : logi FALSE
      $ complex  : logi FALSE
      $ class    : chr "mxINT32_CLASS"
      $ classSize: Named int 32
       ..- attr(*, "names")= chr "mxINT32_CLASS"
      $ nzmax    : int 0
     Reading Dimensions Array...
      Reading Tag...
      Reading Tag...done
     Reading Dimensions Array...done
     DimensionsArray: 5
     Reading Array Name...
      Reading Tag...
      Reading Tag...done
      Name: 'value'
     Reading Array Name...done
     Array name: 'value'
     Reading Values...
      Reading Tag...
      Reading Tag...done
     Reading Values...done
     Converting to mxINT32_CLASS matrix.
    Reading miMATRIX...done
    List of 1
     $ value: int [1:5(1d)] 1 2 3 4 5
   Reading (outer) miMATRIX...done
  Reading data element...done: 'value' [numeric: 5]
  Reading data element...
   Reading Tag...
   Reading Tag...done
  Reading data element...done
  Binary file closed.
  > value2 <- data$value
  > str(value2)
   int [1:5(1d)] 1 2 3 4 5
  > stopifnot(length(value2) == length(value))
  > stopifnot(all(value2 == value))
  > 
  > message("writeMat() - Octave compatibility ... DONE")
  writeMat() - Octave compatibility ... DONE
  > 
  > message("writeMat() ... DONE")
  writeMat() ... DONE
  > 
  > proc.time()
     user  system elapsed 
    87.76  777.56  884.20