datastorm-open / rAmCharts

API for Amcharts
48 stars 16 forks source link

RMarkdown #65

Closed wilcar closed 7 years ago

wilcar commented 7 years ago

I am using RamCharts inside an RMarkdown document with html rendering issue. The text under the chart is not correctly rendering. The RamCharts output adds a markup before my text

ramcharts1

ramcharts2

ElenaDatak commented 7 years ago

Hello,

You have to add a supplementary new line.

ElenaDatak commented 7 years ago

For example : code1

we obtain the same problem : test am1

But with : code2

We obtain : test am2

In Rmd you have to have 1 blank line to pass to the next line.

wilcar commented 7 years ago

Hello, thank you for your answer. Sorry, but it doesnt work for me... ramcharts1

I obtain:

ramcharts2

ElenaDatak commented 7 years ago

Sorry I can't reproduce your error. My sessionInfo() :

R version 3.2.3 (2015-12-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

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

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

other attached packages: [1] rAmCharts_2.1.1

loaded via a namespace (and not attached): [1] Rcpp_0.12.4 digest_0.6.9 rprojroot_1.1 chron_2.3-47 jsonlite_0.9.19 backports_1.0.4 [7] magrittr_1.5 evaluate_0.10 stringi_0.5-5 data.table_1.9.6 rmarkdown_1.2 tools_3.2.3
[13] stringr_1.0.0 htmlwidgets_0.8 rsconnect_0.4.3 yaml_2.1.13 htmltools_0.3.5 knitr_1.15.1
[19] pipeR_0.6.0.6