No video

Using paths in R and why you shouldn't be using setwd (CC179)

  Рет қаралды 4,514

Riffomonas Project

Riffomonas Project

Күн бұрын

Пікірлер: 13
@BobBeatski71
@BobBeatski71 2 жыл бұрын
Using relative paths to organise data, code, and output gets a big thumbs up from me. 👍
@Riffomonas
@Riffomonas 2 жыл бұрын
🎉
@fcasoqueiroz
@fcasoqueiroz 2 жыл бұрын
fantastic!!!! I'm so glad to discover this channel!!!
@Riffomonas
@Riffomonas 2 жыл бұрын
Wonderful! Be sure to tell your friends 🤓
@drjzee
@drjzee 2 жыл бұрын
I've also found the package here to be handy for this, although this adds in an extra package so this seems a straightforward approach.
@Riffomonas
@Riffomonas 2 жыл бұрын
I’ve mainly used here within R markdown documents. Have you found it useful in scripts too?
@danielvaulot5105
@danielvaulot5105 2 жыл бұрын
@@Riffomonas I am using here for code as well... Just need to put a .here file in your root, No need for Project file to identify the root dir
@haraldurkarlsson1147
@haraldurkarlsson1147 2 жыл бұрын
Good advice! I rarely use setwd() for my projects since I keep everything in one place (project folder). However, there is a program that can help with the file path and fact that Mac uses forward slashes and PC backward slashes and that is a tiny package called "here". "here" appears to eliminate the issues with Mac vs PC in terms of path. I wondered if you could spend a few minutes going over that package?
@Riffomonas
@Riffomonas 2 жыл бұрын
Thanks! I covered it about a year ago in the context of r markdown. But that’s a good idea to revisit it package.
@cristinavesbach9612
@cristinavesbach9612 2 жыл бұрын
what is the value of using >path
@Riffomonas
@Riffomonas 2 жыл бұрын
Hmmm. I’ve never seen that before. Do you have a link to an example?
Three approaches to organize your R project (CC178)
16:59
Riffomonas Project
Рет қаралды 8 М.
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 20 МЛН
КАКУЮ ДВЕРЬ ВЫБРАТЬ? 😂 #Shorts
00:45
НУБАСТЕР
Рет қаралды 3,3 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 148 МЛН
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 82 М.
R package reviews | dlookr | diagnose, explore and repair your data quick!
17:13
Using renv to track the version of your packages in R (CC229)
20:33
Riffomonas Project
Рет қаралды 7 М.
A tutorial for writing functions in R (CC177)
14:37
Riffomonas Project
Рет қаралды 15 М.
20 R Packages You Should Know
30:42
RichardOnData
Рет қаралды 39 М.
Using dplyr's group_by function with and without summarize (CC233)
25:54
Riffomonas Project
Рет қаралды 4,8 М.
The magrittr and base R pipe: what's the difference? (CC241)
25:47
Riffomonas Project
Рет қаралды 5 М.
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 20 МЛН