Re: [R] Double / single backticks for inline R code in an Rmarkdown file

2019-10-14 Thread Ashim Kapoor
Dear Yihui, Thank you and Best Regards, Ashim On Mon, Oct 14, 2019 at 7:30 PM Yihui Xie wrote: > params$data is "hawaii" in this case, so the output of > > ``r params$data`` > > is > > `hawaii` > > The double backticks don't have any special meaning here. Only the > inside pair of

Re: [R] Double / single backticks for inline R code in an Rmarkdown file

2019-10-14 Thread Yihui Xie
params$data is "hawaii" in this case, so the output of ``r params$data`` is `hawaii` The double backticks don't have any special meaning here. Only the inside pair of backticks (i.e. `r `) makes sense to R Markdown (or precisely speaking, knitr). The outside pair will be left untouched

Re: [R] Double / single backticks for inline R code in an Rmarkdown file

2019-10-14 Thread Ashim Kapoor
Dear Jeff, Many thanks for your reply. Best, Ashim On Mon, Oct 14, 2019 at 7:07 PM Jeff Newmiller wrote: > No, you don't misunderstand. But you might want to be aware that targeting > PDF output uses LaTeX which regards double backticks as a method of > encoding a left curly double quote

Re: [R] Double / single backticks for inline R code in an Rmarkdown file

2019-10-14 Thread Jeff Newmiller
No, you don't misunderstand. But you might want to be aware that targeting PDF output uses LaTeX which regards double backticks as a method of encoding a left curly double quote mark, so this error could derive from an incomplete adaptation of the Rmd file for HTML output even though such a

Re: [R] Installing dyplr on Linux requires a ton of chasing down dependencies

2019-10-14 Thread Collin Lynch
Adam, while I am not familiar with that particular variant of linux, it sounds like a package manager mismatch in that the ubuntu package looks for specific libraries which are named differently on your system. If you can run a GUI then you have some form of X but the libraries may be named

[R] Double / single backticks for inline R code in an Rmarkdown file

2019-10-14 Thread Ashim Kapoor
Dear All, I am reading this file :- https://rmarkdown.rstudio.com/lesson-6.html My query is : In line 14 of the above file, ie. The [marmap](https://cran.r-project.org/web/packages/marmap/index.html) package provides tools and data for visualizing the ocean floor. Here is an example contour

Re: [R] Installing dyplr on Linux requires a ton of chasing down dependencies

2019-10-14 Thread Dirk Eddelbuettel
Adam, You may find this blog post and the video instructive: http://dirk.eddelbuettel.com/blog/2019/06/09#022_rocker_and_ppas It illustrates how 'installing tidyverse' (or rstan) can be a single and done in under two minutes == on Linux, with the appropriate distribution and settings. In

Re: [R] Installing dyplr on Linux requires a ton of chasing down dependencies

2019-10-14 Thread David Winsemius
Generally problems involving Ubuntu are sent to r-sig-Debian but maybe your new OS is not in that heritage. If not, you may get a more informed audience at r-devel. (Technically this is more on-topic there than on rhelp.) But you should read the Posting Guide, subscribe, post in plain text, and

Re: [R] Installing dyplr on Linux requires a ton of chasing down dependencies

2019-10-14 Thread WU Degang
Sorry to digress here. Having used CRAN and conda to manage R packages, I find that using conda to install R packages will cause more troubles than CRAN. I would stick with CRAN. Sent from Mail for Windows 10

Re: [R] Installing dyplr on Linux requires a ton of chasing down dependencies

2019-10-14 Thread Jeff Newmiller
https://cran.r-project.org/bin/linux/ubuntu/ On October 12, 2019 1:46:29 PM PDT, Adam Frank wrote: >I just got a new Linux computer running Pop!_OS. If I download R from >the >repository, which is basically he same as on Ubuntu, I get an outdated >version that can't run ggplot2. So I went to

[R] Installing dyplr on Linux requires a ton of chasing down dependencies

2019-10-14 Thread Adam Frank
I just got a new Linux computer running Pop!_OS. If I download R from the repository, which is basically he same as on Ubuntu, I get an outdated version that can't run ggplot2. So I went to the R download page and downloaded the newest version. It has make and config files but they require an