default code chunk type when inserting code chunk

When i use the keyboard shortcut on posit.cloud to insert a code chunk (cmd-opt-i), the new chunk comes up as a bash chunk ({bash}) if the first chunk in the script is a bash chunk or as an r chunk ({r}) if the first chunk is r.

Is there a way to set a default so that i always (say) get an r chunk with the keyboard shortcut? ( i am writing a script that has some bash in the beginning, followed by lots of r

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.