Rstudio 3.3.2 Notebook verwenden:data.frame mit Datumsspalte ouput in RStudio Konsole, Vorschau, aber nicht unter den Brocken
---
title: "R Notebook"
output: html_notebook
---
Beim Versuch, eine data.frame mit einem Spalte Datum angezeigt werden, die data.frame wird in der Registerkarte Viewer angezeigt, aber nicht unter dem Brocken selbst:
```{r}
df <- data.frame(date=c("31/08/2011", "31/07/2011", "30/06/2011"),values=c(0.8378,0.8457,0.8147))
#no Date format ->OK, output below the chunk
df
df$dateformatted<-as.Date(strptime(df$date,'%d/%m/%Y'))
#with Date format -> NOK, no output below the chunk,only in Viewer.
df
```
RStudio Diagnose:
26 Feb 2017 20:42:00 [rsession-x] ERROR r error 7 (Unexpected data type); OCCURRED AT: rstudio::core::Error rstudio::r::json::{anonymous}::jsonValueFromVectorElement(SEXP, int, rstudio::core::json::Value*) /home/ubuntu/rstudio/src/cpp/r/RJson.cpp:149; LOGGED FROM: void rstudio::session::modules::rmarkdown::notebook::enqueueChunkOutput(const string&, const string&, const string&, unsigned int, ChunkOutputType, const rstudio::core::FilePath&, const Value&) /home/ubuntu/rstudio/src/cpp/session/modules/rmarkdown/NotebookOutput.cpp:449
bezieht sich auf this question.
Weiß jemand, was habe ich falsch gemacht? Vielen Dank im Voraus.
In der Tat löste die Verwendung der 1.1.89 das Problem. Danke vielmals ! –