2017-11-18 1 views
1

3.4.2 3.3.3에서 R 버전을 업데이트 한 후 내 flexdashbords 더 이상 flexdashboard 페이지 레이아웃 오류

가 실행되면 작업을 해달라고 간단한 예제가 : flexdash layout error

: 결과는 다음과 같습니다

--- 
title: "Flexdash Layout Test" 
output: 
    flexdashboard::flex_dashboard: 
    orientation: columns 
    vertical_layout: fill 
--- 

```{r setup, include=FALSE} 
library(flexdashboard) 
``` 

Page 1 
=================================================== 

Column 1 {data-width=650} 
----------------------------------------------------------------------- 

### Chart A 

```{r} 
print('Chart A') 
``` 

Column 2 {data-width=350} 
----------------------------------------------------------------------- 

### Chart B 

```{r} 
print('Chart B') 
``` 

Page 2 
=============================================== 

### Chart C 

```{r} 
print('Chart C') 
``` 

분명히 서식 지정 구문이 작동하지 않습니다.

는 그 문제를

EDIT를 해결하기 위해 어떤 힌트를위한 미리 감사합니다 : 나는 그 예를 시도하고 예상처럼 출력, 포맷 결과가 보이는 HTML을 선택합니다.

--- 
title: "Rmd Formatierung Test" 
output: html_document 
--- 

Plain text 

End a line with two spaces 
to start a new paragraph. 
*italics* and _italics_ 
**bold** and __bold__ 
superscript^2^ 
~~strikethrough~~ 
[link](www.rstudio.com) 

# Header 1 

## Header 2 

그래서 오류가 확실히

> sessionInfo() 
R version 3.4.2 (2017-09-28) 
Platform: x86_64-w64-mingw32/x64 (64-bit) 
Running under: Windows >= 8 x64 (build 9200) 

Matrix products: default 

locale: 
[1] LC_COLLATE=German_Austria.1252 LC_CTYPE=German_Austria.1252  LC_MONETARY=German_Austria.1252 
[4] LC_NUMERIC=C     LC_TIME=German_Austria.1252  

attached base packages: 
[1] stats  graphics grDevices utils  datasets methods base  

other attached packages: 
[1] flexdashboard_0.5 

loaded via a namespace (and not attached): 
[1] compiler_3.4.2 backports_1.1.1 magrittr_1.5 rprojroot_1.2  htmltools_0.3.6 tools_3.4.2  
[7] yaml_2.1.14  Rcpp_0.12.13 stringi_1.1.5 rmarkdown_1.7 knitr_1.17  jsonlite_1.5 
[13] stringr_1.2.0 digest_0.6.12 evaluate_0.10.1 
+0

당신의 예는 아마도 당신은 내가 3.4.1.0 – BenoitLondon

+0

패키지를 다시 설치해야합니다 나를 위해 작동합니다. 빈센트 고마워. – Vincent

답변

1

을 flexdashboard 관련되어있는 문제는 여기에 설명되어 있습니다 : https://github.com/rstudio/flexdashboard/pull/150

기본적으로, flexdashboard 레이아웃을 나누기 기본적으로 HTML5 대신 HTML로 pandoc 2.0 기본 설정됩니다. 이 크랑 푸시 때까지

1) pandoc 1.x에서

2) Github에서 패키지를 설치로 다운 그레이드 :

당신은 두 가지 옵션이 있습니다. 이 문제가 해결되었습니다. GitHub의 문제를 해결에서 flexdashboard 패키지를 설치 -

remove.packages("flexdashboard") 
install.packages("devtools") 
library("devtools") 
install_github("rstudio/flexdashboard") 
+0

는 그냥 제안 옵션 수 (Nr) 2) 시도 마이크로 소프트 R 클라이언트와 같은 문제가 – Ron