R/parse_tb.R

Defines functions parse_tb

# parse_tb function [sinew] ---- 
parse_tb <- function(x,skip){
  
  y <- gsub('&',
            '_NEWCOL_',
            gsub('\\n',
                 '',
                 gsub(tex_line,
                      '_NEWROW_',
                      x,
                      fixed=TRUE)
            )
  )
  
  ret <- strsplit(y,'_NEWROW_')[[1]]
  
  ret
}
metrumresearchgroup/texblocks documentation built on July 18, 2020, 1:45 a.m.