You are not logged in.

#1 2015-08-19 18:28:16

jellybean
Member
Registered: 2015-07-25
Posts: 2

problem knitting R Markdown file in RStudio

After modifying the PKGBUILD for rstudio-desktop-bin (here in the AUR) to point to the  latest release of RStudio and then installing libxslt, I installed RStudio successfully on my machine. When I tried to knit a simple R Markdown file, however, pandoc barfed the following into the R console:

pandoc: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
Error in strsplit(version_info, "\n")[[1]] : subscript out of bounds
Calls: <Anonymous> ... pandoc_available -> find_pandoc -> lapply -> FUN -> get_pandoc_version
Execution halted

After looking around the wiki and at the pandoc site, it seems like there are some issues with pandoc and haskell on Arch. Are those issues the source of this RStudio problem? Anyone know how to fix this and knit R Markdown files on Arch?

Offline

#2 2015-08-19 19:15:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: problem knitting R Markdown file in RStudio

Offline

#3 2015-08-20 18:53:20

jellybean
Member
Registered: 2015-07-25
Posts: 2

Re: problem knitting R Markdown file in RStudio

Thanks for the redirect!

Offline

#4 2015-08-25 16:04:53

alexo81
Member
Registered: 2015-08-15
Posts: 3

Re: problem knitting R Markdown file in RStudio

Offline

Board footer

Powered by FluxBB