Repository navigation
Description
System details
RStudio Edition : Desktop
RStudio Version : RStudio 2025.09.0+387 "Cucumberleaf Sunflower" Release (af5fc22a687c0f462ee27c6afeeee38ee46507b9, 2025-09-11) for windows Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2025.09.0+387 Chrome/138.0.7204.185 Electron/37.2.6 Safari/537.36, Quarto 1.8.24 (C:/Program/Files/Quarto/bin/quarto.exe)
OS Version: Windows 11 OS Build 22621.5768
R Version: 4.51
Steps to reproduce the problem
- Create a new Quarto Document (html)
- Press "create"
- In the first code chunk, add a label (or any options)
- Press enter twice (I have the "continue comment" option on)
- The code below becomes unrunnable
Describe the problem in detail
When I open a quarto document (HTML), and if I put in a code chunk option (in this case, label). It breaks the code chunk. all the code inside it goes white (dark mode), and I can't run the code chunk at all. In fact, all the code chunks don't work. This issue appears to be specific to RStudio, as I was unable to recreate it in Positron.
The problem goes away if I cut and paste the script. It happens when I am typing in the code originally.
Not working:
After copying and pasting it, the whole thing starts working again:
Highlighting and all that go back to normal, and the code chunk can run.
Describe the behavior you expected
I would expect the code to stay with its original highlighting and for it to work.
request log
1758316985644
1758316955233,-680737756,"{""method"":""copilot_doc_focused"", ""params"":[""E7063F94""], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316955376,"{""result"":null,""ep"":""false""}"
1758316955272,345089350,"{""method"":""close_document"", ""params"":[""E7063F94""], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316955403,"{""result"":null,""ep"":""false""}"
1758316955970,195853456,"{""method"":""get_events"", ""params"":[45], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316959920,"{""result"":[{""id"":46,""type"":""memory_usage_changed"",""data"":{""total"":{""kb"":66786036,""provider"":2},""used"":{""kb"":32634940,""provider"":2},""process"":{""kb"":148208,""provider"":2},""limit"":{""kb"":0,""provider"":0},""abort"":false,""limitWarning"":false,""overLimit"":false}}],""ep"":""false""}"
1758316959012,-15669568,"{""method"":""quarto_capabilities"", ""params"":[], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316959412,"{""result"":{""formats"":[""html"",""pdf"",""docx"",""odt"",""pptx"",""beamer"",""revealjs"",""gfm"",""epub"",""dashboard"",""email"",""ansi"",""asciidoc"",""asciidoc_legacy"",""asciidoctor"",""chunkedhtml"",""commonmark"",""commonmark_x"",""context"",""djot"",""docbook"",""docbook4"",""docbook5"",""dokuwiki"",""dzslides"",""epub2"",""epub3"",""fb2"",""haddock"",""html4"",""html5"",""icml"",""ipynb"",""jats"",""jats_archiving"",""jats_articleauthoring"",""jats_publishing"",""jira"",""json"",""latex"",""man"",""markdown"",""markdown_github"",""markdown_mmd"",""markdown_phpextra"",""markdown_strict"",""markua"",""mediawiki"",""ms"",""muse"",""native"",""opendocument"",""opml"",""org"",""plain"",""rst"",""rtf"",""s5"",""slideous"",""slidy"",""tei"",""texinfo"",""textile"",""typst"",""xwiki"",""zimwiki""],""themes"":[""default"",""cerulean"",""cosmo"",""cyborg"",""darkly"",""flatly"",""journal"",""litera"",""lumen"",""lux"",""materia"",""minty"",""morph"",""pulse"",""quartz"",""sandstone"",""simplex"",""sketchy"",""slate"",""solar"",""spacelab"",""superhero"",""united"",""vapor"",""yeti"",""zephyr""]},""ep"":""false""}"
1758316959923,2013475865,"{""method"":""get_events"", ""params"":[46], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316961868,"{""result"":[{""id"":47,""type"":""memory_usage_changed"",""data"":{""total"":{""kb"":66786036,""provider"":2},""used"":{""kb"":32664296,""provider"":2},""process"":{""kb"":148372,""provider"":2},""limit"":{""kb"":0,""provider"":0},""abort"":false,""limitWarning"":false,""overLimit"":false}}],""ep"":""false""}"
1758316960996,2102986996,"{""method"":""get_source_template"", ""params"":["""",""document.qmd""], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316961028,"{""result"":""## Quarto\n\nQuarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.\n\n## Running Code\n\nWhen you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:\n\n{r}\n1 + 1\n\n\nYou can add options to executable code like this \n\n{r}\n#| echo: false\n2 * 2\n\n\nThe echo: false option disables the printing of code (only output is displayed).\n"",""ep"":""false""}"
1758316961030,144411931,"{""method"":""new_document"", ""params"":[""quarto_markdown"",""---\ntitle: ""Untitled""\nformat: html\n---\n\n## Quarto\n\nQuarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.\n\n## Running Code\n\nWhen you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:\n\n{r}\n1 + 1\n\n\nYou can add options to executable code like this \n\n{r}\n#| echo: false\n2 * 2\n\n\nThe echo: false option disables the printing of code (only output is displayed).\n"",{}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316961075,"{""result"":{""id"":""0C35181D"",""path"":null,""project_path"":null,""type"":""quarto_markdown"",""hash"":""555664084"",""contents"":""---\ntitle: ""Untitled""\nformat: html\n---\n\n## Quarto\n\nQuarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.\n\n## Running Code\n\nWhen you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:\n\n{r}\n1 + 1\n\n\nYou can add options to executable code like this \n\n{r}\n#| echo: false\n2 * 2\n\n\nThe echo: false option disables the printing of code (only output is displayed).\n"",""dirty"":false,""created"":1758316961059.0,""source_on_save"":false,""relative_order"":1,""properties"":{},""folds"":"""",""lastKnownWriteTime"":3184643320562476388,""encoding"":"""",""collab_server"":"""",""source_window"":"""",""last_content_update"":1758316961059,""read_only"":false,""read_only_alternatives"":[],""extended_type"":""quarto-document"",""notebook"":{}},""ep"":""false""}"
1758316961119,1082470250,"{""method"":""modify_document_properties"", ""params"":[""0C35181D"",{""tempName"":""Untitled1""}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316961172,"{""result"":null,""ep"":""false""}"
1758316961120,1160008474,"{""method"":""discover_package_dependencies"", ""params"":[""0C35181D"","".qmd""], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316961289,"{""result"":{""ready"":true,""packages"":[]},""ep"":""false""}"
1758316961143,1416058275,"{""method"":""modify_document_properties"", ""params"":[""0C35181D"",{""source_window_id"":"""", ""Source"":""Source""}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316961289,"{""result"":null,""ep"":""false""}"
1758316961198,1113723302,"{""method"":""copilot_doc_focused"", ""params"":[""0C35181D""], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316961320,"{""result"":null,""ep"":""false""}"
1758316961870,-1251609530,"{""method"":""get_events"", ""params"":[47], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316962603,"{""result"":[{""id"":48,""type"":""async_completion"",""data"":{""handle"":""8b020fb0-c17c-48f1-8937-c9f76a67ce81"",""response"":{""result"":{""jsonrpc"":""2.0"",""id"":""58c259e6-9aba-40cc-aa6e-3c79c0afe59b"",""error"":{""code"":-32602,""message"":""Document for URI could not be found: rstudio-document://0C35181D""},""method"":null,""cancelled"":false},""ep"":""false""}}}],""ep"":""false""}"
1758316962428,-1144266855,"{""method"":""copilot_generate_completions"", ""params"":[""0C35181D"","""",true,true,13,6], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316962438,"{""asyncHandle"":""8b020fb0-c17c-48f1-8937-c9f76a67ce81"",""ep"":""false""}"
1758316962607,-1600140196,"{""method"":""get_events"", ""params"":[48], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316964352,"{""result"":[{""id"":49,""type"":""async_completion"",""data"":{""handle"":""0cc4f923-3dba-492d-8b61-121ca56571ff"",""response"":{""result"":{""jsonrpc"":""2.0"",""id"":""602e0c30-acc6-459b-bff2-d2257d56b0ce"",""error"":{""code"":-32802,""message"":""Request was superseded by a new request""},""method"":null,""cancelled"":false},""ep"":""false""}}}],""ep"":""false""}"
1758316963662,27402037,"{""method"":""save_document_diff"", ""params"":[""0C35181D"",null,null,null,"""",[],""\n\n"",377,0,true,""555664084"",true], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316963739,"{""result"":""164999929"",""ep"":""false""}"
1758316963740,425022576,"{""method"":""copilot_generate_completions"", ""params"":[""0C35181D"","""",true,true,14,0], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316963746,"{""asyncHandle"":""0cc4f923-3dba-492d-8b61-121ca56571ff"",""ep"":""false""}"
1758316964078,806698321,"{""method"":""save_document_diff"", ""params"":[""0C35181D"",null,null,null,"""",[],""#"",377,0,true,""164999929"",true], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316964156,"{""result"":""3270723889"",""ep"":""false""}"
1758316964156,-126919518,"{""method"":""copilot_generate_completions"", ""params"":[""0C35181D"","""",true,true,14,1], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316964160,"{""asyncHandle"":""53bed5a3-578c-42e3-b99c-83f57077146c"",""ep"":""false""}"
1758316964354,-649035486,"{""method"":""get_events"", ""params"":[49], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316964657,"{""result"":[{""id"":50,""type"":""async_completion"",""data"":{""handle"":""53bed5a3-578c-42e3-b99c-83f57077146c"",""response"":{""result"":{""jsonrpc"":""2.0"",""id"":""4b7d23c1-0501-4b36-b96f-d08b79750a66"",""result"":{""items"":[]},""method"":null,""cancelled"":false},""ep"":""false""}}}],""ep"":""false""}"
1758316964659,-30885186,"{""method"":""get_events"", ""params"":[50], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316965371,"{""result"":[{""id"":51,""type"":""memory_usage_changed"",""data"":{""total"":{""kb"":66786036,""provider"":2},""used"":{""kb"":32667624,""provider"":2},""process"":{""kb"":148408,""provider"":2},""limit"":{""kb"":0,""provider"":0},""abort"":false,""limitWarning"":false,""overLimit"":false}}],""ep"":""false""}"
1758316964767,1299317716,"{""method"":""modify_document_properties"", ""params"":[""0C35181D"",{""cursorPosition"":""14,1"", ""scrollLine"":""0""}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316964805,"{""result"":null,""ep"":""false""}"
1758316965373,-655654441,"{""method"":""get_events"", ""params"":[51], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316965957,"{""result"":[{""id"":52,""type"":""async_completion"",""data"":{""handle"":""c75c440d-7b42-40fb-9e72-a61157da4f11"",""response"":{""result"":{""jsonrpc"":""2.0"",""id"":""70902569-12ee-47a1-8924-b97965bf97d3"",""result"":{""items"":[{""command"":{""title"":""Completion Accepted"",""command"":""github.copilot.didAcceptCompletionItem"",""arguments"":[""a0a767de-f4b1-4019-91ef-92c354975d6f""]},""insertText"":""#| echo: true"",""range"":{""start"":{""line"":14,""character"":0},""end"":{""line"":14,""character"":2}}}]},""method"":null,""cancelled"":false},""ep"":""false""}}}],""ep"":""false""}"
1758316965498,897205313,"{""method"":""save_document_diff"", ""params"":[""0C35181D"",null,null,null,"""",[],""|"",378,0,true,""3270723889"",true], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316965572,"{""result"":""3913915891"",""ep"":""false""}"
1758316965572,701434504,"{""method"":""copilot_generate_completions"", ""params"":[""0C35181D"","""",true,true,14,2], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316965578,"{""asyncHandle"":""c75c440d-7b42-40fb-9e72-a61157da4f11"",""ep"":""false""}"
1758316965959,-332612895,"{""method"":""get_events"", ""params"":[52], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316966041,"{""result"":[{""id"":53,""type"":""memory_usage_changed"",""data"":{""total"":{""kb"":66786036,""provider"":2},""used"":{""kb"":32665580,""provider"":2},""process"":{""kb"":148408,""provider"":2},""limit"":{""kb"":0,""provider"":0},""abort"":false,""limitWarning"":false,""overLimit"":false}}],""ep"":""false""}"
1758316966043,374957735,"{""method"":""get_events"", ""params"":[53], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316967019,"{""result"":[{""id"":54,""type"":""async_completion"",""data"":{""handle"":""abc4e1cf-ca6c-4b10-86f4-306c8b84396d"",""response"":{""result"":{""jsonrpc"":""2.0"",""id"":""14352f97-b49c-45d9-bbcc-cde1190df110"",""error"":{""code"":-32802,""message"":""Request was superseded by a new request""},""method"":null,""cancelled"":false},""ep"":""false""}}}],""ep"":""false""}"
1758316966216,-1563552335,"{""method"":""set_client_state"", ""params"":[{},{""quarto"":{""new-document"":{""title"":""Untitled"", ""author"":"""", ""format"":""html"", ""engine"":""knitr"", ""kernel"":""python3"", ""language"":""r"", ""editor"":""source"", ""empty"":false}}},{""source-pane"":{""activeTab"":0}}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316966229,"{""result"":null,""ep"":""false""}"
1758316966429,125861478,"{""method"":""save_document_diff"", ""params"":[""0C35181D"",null,null,null,"""",[],"" labe"",379,0,true,""3913915891"",true], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316966505,"{""result"":""6967107"",""ep"":""false""}"
1758316966506,-1293024977,"{""method"":""copilot_generate_completions"", ""params"":[""0C35181D"","""",true,true,14,8], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316966509,"{""asyncHandle"":""abc4e1cf-ca6c-4b10-86f4-306c8b84396d"",""ep"":""false""}"
1758316966778,553285163,"{""method"":""save_document_diff"", ""params"":[""0C35181D"",null,null,null,"""",[],""l"",384,0,true,""6967107"",true], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316966854,"{""result"":""3889623896"",""ep"":""false""}"
1758316966854,2032931542,"{""method"":""copilot_generate_completions"", ""params"":[""0C35181D"","""",true,true,14,9], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316966857,"{""asyncHandle"":""cb99d112-7c58-4a7c-9091-c05f2233c592"",""ep"":""false""}"
1758316967021,1924955990,"{""method"":""get_events"", ""params"":[54], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316967199,"{""result"":[{""id"":55,""type"":""async_completion"",""data"":{""handle"":""cb99d112-7c58-4a7c-9091-c05f2233c592"",""response"":{""result"":{""jsonrpc"":""2.0"",""id"":""78654c4a-cc21-4488-84e5-03410ffd6e78"",""result"":{""items"":[{""command"":{""title"":""Completion Accepted"",""command"":""github.copilot.didAcceptCompletionItem"",""arguments"":[""8bd859b9-b39b-4aa1-b174-591ff67d0233""]},""insertText"":""#| label: example"",""range"":{""start"":{""line"":14,""character"":0},""end"":{""line"":14,""character"":9}}}]},""method"":null,""cancelled"":false},""ep"":""false""}}}],""ep"":""false""}"
1758316967200,74293535,"{""method"":""get_events"", ""params"":[55], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316967491,"{""result"":[{""id"":56,""type"":""async_completion"",""data"":{""handle"":""e1215f70-10af-4097-8d7f-2bfe48383b80"",""response"":{""result"":{""jsonrpc"":""2.0"",""id"":""e27331c1-670d-423c-907f-59d1ecdb1e39"",""result"":{""items"":[{""command"":{""title"":""Completion Accepted"",""command"":""github.copilot.didAcceptCompletionItem"",""arguments"":[""95f6a99b-8872-48cd-b7f4-50e778bc8fcd""]},""insertText"":""#| label: example"",""range"":{""start"":{""line"":14,""character"":0},""end"":{""line"":14,""character"":10}}}]},""method"":null,""cancelled"":false},""ep"":""false""}}}],""ep"":""false""}"
1758316967232,1964797703,"{""method"":""save_document_diff"", ""params"":[""0C35181D"",null,null,null,"""",[],"": "",385,0,true,""3889623896"",true], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316967305,"{""result"":""92162477"",""ep"":""false""}"
1758316967306,1110482790,"{""method"":""copilot_generate_completions"", ""params"":[""0C35181D"","""",true,true,14,10], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316967312,"{""asyncHandle"":""e1215f70-10af-4097-8d7f-2bfe48383b80"",""ep"":""false""}"
1758316967492,-1598739921,"{""method"":""copilot_did_show_completion"", ""params"":[{""command"":{""title"":""Completion Accepted"", ""command"":""github.copilot.didAcceptCompletionItem"", ""arguments"":[""95f6a99b-8872-48cd-b7f4-50e778bc8fcd""]}, ""insertText"":""#| label: example"", ""range"":{""start"":{""line"":14, ""character"":0}, ""end"":{""line"":14, ""character"":10}}}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316967498,"{""result"":null,""ep"":""false""}"
1758316967494,-1479784054,"{""method"":""get_events"", ""params"":[56], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316968553,"{""result"":[{""id"":57,""type"":""memory_usage_changed"",""data"":{""total"":{""kb"":66786036,""provider"":2},""used"":{""kb"":32684600,""provider"":2},""process"":{""kb"":148416,""provider"":2},""limit"":{""kb"":0,""provider"":0},""abort"":false,""limitWarning"":false,""overLimit"":false}}],""ep"":""false""}"
1758316967940,995008888,"{""method"":""modify_document_properties"", ""params"":[""0C35181D"",{""cursorPosition"":""14,10"", ""scrollLine"":""0""}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316967986,"{""result"":null,""ep"":""false""}"
1758316968556,-1702553332,"{""method"":""get_events"", ""params"":[57], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316970180,"{""result"":[{""id"":58,""type"":""async_completion"",""data"":{""handle"":""b3eae0b2-4fda-40d1-9690-92945c7f7072"",""response"":{""result"":{""jsonrpc"":""2.0"",""id"":""ad1f3f0c-801d-4226-a5e8-7d36c4417d2a"",""result"":{""items"":[{""command"":{""title"":""Completion Accepted"",""command"":""github.copilot.didAcceptCompletionItem"",""arguments"":[""2f5e3e79-1efb-4044-b826-3712a2e937ae""]},""insertText"":""#| echo: true"",""range"":{""start"":{""line"":15,""character"":0},""end"":{""line"":15,""character"":3}}}]},""method"":null,""cancelled"":false},""ep"":""false""}}}],""ep"":""false""}"
1758316969647,1624264834,"{""method"":""save_document_diff"", ""params"":[""0C35181D"",null,null,null,"""",[],""example\n#| "",387,0,true,""92162477"",true], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316969721,"{""result"":""1540690006"",""ep"":""false""}"
1758316969721,1825513005,"{""method"":""copilot_generate_completions"", ""params"":[""0C35181D"","""",true,true,15,3], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316969727,"{""asyncHandle"":""b3eae0b2-4fda-40d1-9690-92945c7f7072"",""ep"":""false""}"
1758316969850,63168287,"{""method"":""log_exception"", ""params"":[{""message"":""Error: infinite loop with in ace tokenizer"", ""strong_name"":""EB45A0181D81A8E3BF1991DA3A84A0B1"", ""stack"":[{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""reportError"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""getLineTokens"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/DAF350ED2C1EC724552D0677AAE49FD0.cache.js"", ""class_name"":""Unknown"", ""method_name"":""getLineTokens"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""$tokenizeRow"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""getTokens"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""getTokens"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""$renderLine"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""$renderLinesFragment"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""update"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""$updateLines"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""$renderChanges"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""_flush"", ""line_number"":-1}]}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316970165,{"result":null}
1758316969855,1324029251,"{""method"":""log_exception"", ""params"":[{""message"":""Error: infinite loop with in ace tokenizer"", ""strong_name"":""EB45A0181D81A8E3BF1991DA3A84A0B1"", ""stack"":[{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""reportError"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""getLineTokens"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/DAF350ED2C1EC724552D0677AAE49FD0.cache.js"", ""class_name"":""Unknown"", ""method_name"":""getLineTokens"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/A6AE9177A84ADFF4BDF676CE36BDD5F4.cache.js"", ""class_name"":""Unknown"", ""method_name"":""$tokenizeRow"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/DAF350ED2C1EC724552D0677AAE49FD0.cache.js"", ""class_name"":""Unknown"", ""method_name"":""tokenizeUpToRow"", ""line_number"":-1},{""file_name"":""http://127.0.0.1:29891/rstudio/DAF350ED2C1EC724552D0677AAE49FD0.cache.js"", ""class_name"":""Unknown"", ""method_name"":""$buildScopeTreeUpToRow"", ""line_number"":-1},{""file_name"":""rstudio-0.js"", ""class_name"":""Unknown"", ""method_name"":""kBs"", ""line_number"":-1},{""file_name"":""rstudio-0.js"", ""class_name"":""Unknown"", ""method_name"":""Hor"", ""line_number"":-1},{""file_name"":""rstudio-0.js"", ""class_name"":""Unknown"", ""method_name"":""Str"", ""line_number"":-1},{""file_name"":""rstudio-0.js"", ""class_name"":""Unknown"", ""method_name"":""tc"", ""line_number"":-1},{""file_name"":""rstudio-0.js"", ""class_name"":""Unknown"", ""method_name"":""anonymous"", ""line_number"":-1},{""file_name"":""rstudio-0.js"", ""class_name"":""Unknown"", ""method_name"":""Bm"", ""line_number"":-1},{""file_name"":""rstudio-0.js"", ""class_name"":""Unknown"", ""method_name"":""Em"", ""line_number"":-1},{""file_name"":""rstudio-0.js"", ""class_name"":""Unknown"", ""method_name"":""anonymous"", ""line_number"":-1}]}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316970429,{"result":null}
1758316970145,-1166981906,"{""method"":""save_document_diff"", ""params"":[""0C35181D"",null,null,null,"""",[],""\n"",395,3,true,""1540690006"",true], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316970505,"{""result"":""1883255642"",""ep"":""false""}"
1758316970182,-221400308,"{""method"":""get_events"", ""params"":[58], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316970849,"{""result"":[{""id"":59,""type"":""async_completion"",""data"":{""handle"":""7ddf3038-1ddf-474d-9ea0-c411923d14c3"",""response"":{""result"":{""jsonrpc"":""2.0"",""id"":""507fdd79-98b0-49f3-b145-2d16e9f4a01d"",""result"":{""items"":[]},""method"":null,""cancelled"":false},""ep"":""false""}}}],""ep"":""false""}"
1758316970505,1265073415,"{""method"":""copilot_generate_completions"", ""params"":[""0C35181D"","""",true,true,16,0], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316970510,"{""asyncHandle"":""7ddf3038-1ddf-474d-9ea0-c411923d14c3"",""ep"":""false""}"
1758316970829,739831851,"{""method"":""modify_document_properties"", ""params"":[""0C35181D"",{""cursorPosition"":""16,0"", ""scrollLine"":""0""}], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316970860,"{""result"":null,""ep"":""true""}"
1758316970854,-1998765345,"{""method"":""get_events"", ""params"":[59], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316971413,"{""result"":[{""id"":60,""type"":""memory_usage_changed"",""data"":{""total"":{""kb"":66786036,""provider"":2},""used"":{""kb"":32696100,""provider"":2},""process"":{""kb"":204508,""provider"":2},""limit"":{""kb"":0,""provider"":0},""abort"":false,""limitWarning"":false,""overLimit"":false}}],""ep"":""false""}"
1758316971415,-1311480494,"{""method"":""get_events"", ""params"":[60], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",1,1758316976078,"{""result"":[{""id"":61,""type"":""memory_usage_changed"",""data"":{""total"":{""kb"":66786036,""provider"":2},""used"":{""kb"":32511672,""provider"":2},""process"":{""kb"":204512,""provider"":2},""limit"":{""kb"":0,""provider"":0},""abort"":false,""limitWarning"":false,""overLimit"":false}}],""ep"":""false""}"
1758316976081,1693696927,"{""method"":""get_events"", ""params"":[61], ""clientId"":""33e600bb-c1b1-46bf-b562-ab5cba070b0e"", ""clientVersion"":""""}",0
- I have read the guide for submitting good bug reports.
- I have installed the latest version of RStudio, and confirmed that the issue still persists.
- If I am reporting an RStudio crash, I have included a diagnostics report.
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
Activity
kevinushey commentedon Sep 21, 2025
Thanks for the bug report. I've reproduced this locally, and we'll take a look ASAP.
AlbertoFabbri93 commentedon Sep 22, 2025
I am also experiencing a lot of weird bugs with Quarto lately, it seems to fail to recognize the Quarto chunks correctly. I have not been able to point out what exactly triggers the bug but it sounds like it might be correlated to what has been reported here.
AlbertoFabbri93 commentedon Sep 23, 2025
I want to add that in my case the problem is solved by closing and opening again the
.qmdfile. Even though it will happen again...kevinushey commentedon Sep 23, 2025
We have a candidate fix for this available in the latest builds here:
https://dailies.rstudio.com/version/2025.09.1+401.pro1/
Any chance you would be able to test and report back if the issue appears to be fixed on your end? We're hoping to prepare a patch release as soon as we're able, with this (and other) fixes.
G1ngie commentedon Sep 23, 2025
Just tested it, and it works! Thanks so much!!
gtritchie commentedon Sep 24, 2025
I repro'd in 2025-09.0+387, and confirmed the fix with 2025.09.1+401.
complete BRAT to Playwright migration (#17713)