Closed elvis-sik closed 7 years ago
due to how strings are translated into R the following python statement:
pygg.geom_bar(stat='identity')
is translated into the following incorrect R script
geom_bar(stat=identity)
The way to get around this is to wrap the python script with pygg's esc()
:
pygg.geom_bar(stat=esc('identity'))
or to do it manually:
pygg.geom_bar(stat="'identity'")
Thanks for your patience, now I see it has been documented since long before I opened this issue.
A minimal example is
The traceback says