Writing about R: Am I interpretting {package_name} correctly?

Hello,

I recently noticed a use of curly braces {} that I didn't recognize. I think that in text (not in code) it designates that an object is a package. For example, I would write here() to refer to a function, and {here} to refer to the package it belongs to.

Do I have that right? It seems to make sense but I don't remember seeing until recently.

Thanks very much,

--p.

[Curly parens[(http://search.r-project.org/R/library/base/html/Paren.html) are sort of squirrely, and I don't see them much in day-to-day usage. You're right about the convention to identify a {package}, and it's also a primative.

Thank you. I understood the use as a primitive in code. I was specifically referring to community conventions in text like articles, posts, and tweets.

Thanks again--question answered!

1 Like

Oh, I've also seen it as pcode placeholders f{height},{weight})

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