ddediu/AdhereR

.svg.text text parameter being treated as a factor in older R versions

dffyfe opened this issue · 1 comments

Hi Dan,

In line 463 of plotting.R

.SVG.specialchars.2.XMLentities(text[i]),

When plotting the SVG it's sometimes returning 1 as it's being stored as a factor, obviously surrounding it in as.character or paste0 fixes it.

The problem is only occurring when using Rclient via MS SQL Server Management Studio which I think is essentially R3.5.2. Never once happened on the non microsoft versions of R.

Sent you an email with some screenshots.

David

Probably fixed (can't test)