Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBug: .() mis-interpreted when being used as plotmath #1912
Comments
|
You can try |
|
that would make the plot expression much more verbose... the bquote part is if there's no fast way to to put a check on the dot replacement for its could add a replace_dot argument/option to be shut off in such rare cases? On Nov 13, 2016 8:33 AM, "Jan Gorecki" notifications@github.com wrote:
|
|
This should be a matter of changing |
|
Hmm, I tried other ways of getting around |
|
I second this since I occasionally plot in j and even have a package that does so. Just add a check for
Currently, I have to use
|
I just found out that sometimes
.()is needed to create dynamically-labeled plots inbaseR:When used outside of
[.data.table, the text is converted (as expected) to the evaluated value of the regression. But[.data.table(I imagine) is detecting this as an alias forlistand substituting, leading to the unexpected result on the left.Workaround for now is to use
with(DT, {...})instead of calling[.data.tablebut obviously this won't work in situations requiring other arguments of[.data.table.