Closed mwmclean closed 7 years ago
read.bib does not work if the .bib file has a question mark in the "key".
read.bib
.bib
tmp <- tempfile(fileext = ".bib") entry <- "@Misc{key?,\n author = \"Smith, Bob\",\n title = \"The Title\",\n year = 2012, \n}" writeLines(entry, tmp) read.bib(tmp) ## Warning message: ## In read.bib(tmp) : ## C:\Users\MMCLEA~1.ADS\AppData\Local\Temp\Rtmp6ZP3yZ\file86058c626ee.bib:1:0 ## syntax error, unexpected TOKEN_LITERAL, expecting TOKEN_COMMA ## Dropping the entry `k` (starting at line 1)
read.bib
does not work if the.bib
file has a question mark in the "key".