#Read a sample LaTeX file
file<-'connect3-minimal.tex'
filepath<-paste(sub("examples/.*","\\1",
system.file("examples","connect3-minimal.tex",package="connect3")),
"examples", sep='')
obj<-read.latex(file, filepath)
obj$tex
obj$path
Run the code above in your browser using DataLab