4D (and beyond) plots using Plotly R

I see this can be done in python, but I was wondering if anyone has used a 4th dimension, such as the size or color of the data point, to see additional dimensions? I don’t think it’s possible, but I could be missing something? Thanks!