Re: [R] project path in Rmd (Ivan Calandra)

2020-04-02 Thread Ivan Calandra
Thanks Tim, that's exactly what I needed. I came across the here package before, but I didn't see the point of using it since RStudio already deals with relative paths and sets up the working directory where the file is. I didn't notice the functionality of getting the project directory with the

Re: [R] project path in Rmd (Ivan Calandra)

2020-04-02 Thread Howard, Tim G (DEC) via R-help
You also should be able to reference locations from the 'root' of your project using the here() package. https://here.r-lib.org/ Best, Tim Howard > Date: Thu, 2 Apr 2020 10:21:47 +0100 > From: Rui Barradas > To: Ivan Calandra > Cc: "r-help@r-project.org" > Subject: Re: [R] project