Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal flex scanner internal error #14

Open
MichelMoser opened this issue Oct 12, 2016 · 4 comments
Open

fatal flex scanner internal error #14

MichelMoser opened this issue Oct 12, 2016 · 4 comments

Comments

@MichelMoser
Copy link

Hello,
I am trying to use bibtex package to mine a bibtex file for certain keywords.
When trying the read.bib method, i get following error:

bib <- read.bib( package = "bibtex" )
Error in read.bib(package = "bibtex") : lex fatal error:
fatal flex scanner internal error--end of buffer missed

sessionInfo()

R version 3.1.3 (2015-03-09)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 8 x64 (build 9200)

locale:
[1] LC_COLLATE=German_Switzerland.1252  LC_CTYPE=German_Switzerland.1252    LC_MONETARY=German_Switzerland.1252
[4] LC_NUMERIC=C                        LC_TIME=German_Switzerland.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] bibtex_0.4.0

loaded via a namespace (and not attached):
[1] tools_3.1.3

Thanks

@crsh
Copy link
Contributor

crsh commented Oct 13, 2016

I have encountered this error with very long bib files, too. I have implemented a hack to circumvent this problem in one of my packages.

@MichelMoser
Copy link
Author

Thank you, i will have a look for it.
Could i use CITR also to do some mining of bibtex documents (search by keywords on different fields like author or abstract?
Or is it just for citation entries in markdown text?

@crsh
Copy link
Contributor

crsh commented Oct 13, 2016

It's just for inserting citations. But you are welcome to use the code for your purposes.

@romainfrancois
Copy link
Collaborator

@MichelMoser can you prepare a reprex please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants