microsoft / RTVS

R Tools for Visual Studio.
MIT License
390 stars 118 forks source link

Can't view dataframe with POSIXlt objects #4252

Open arencambre opened 6 years ago

arencambre commented 6 years ago

If a dataframe has POSIXlt objects, it can't be viewed in Visual Studio when clicking on the magnifying glass (Show item details) in the Variable Explorer. Attempting to view the dataframe just shows a small rectangle on top left. If I click on the Excel icon (Open in Microsoft Excel...) again in Variable Explorer, Excel shows the data just fine.

When viewing a normal dataframe: image

When viewing a dataframe with a POSIXlt object: image

Expected behavior: The dataframe shows. The POSIXlt type should be easy to make renderable in a view.

While I wouldn't agree with this resolution for this specific issue, if for some odd reason it is infeasible to view some object type in a dataframe in Visual Studio, then the UI should tell me so. Right now, it's just leaving me hanging.

arencambre commented 6 years ago

Not sure if this is related, but interesting finding when browsing a dataframe in Variable Explorer: image

There is an error starting with the 12th row.

arencambre commented 6 years ago

Just did the frown feedback in VS. It references this issue.