2017-11-18 9 views
1

簡単な例ということ実行しているとき、私のflexdashbordsはもうflexdashboardページレイアウトエラー

をいけない仕事3.4.2 3.3.3からRバージョンを更新した後: 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デフォルト。

あなたは2つのオプションがあります。それはCRANにプッシュされるまで

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

関連する問題