Get & Set Working Directory in R (3 Examples) | getwd & setwd Functions | Change File Path of Folder

  Рет қаралды 13,364

Statistics Globe

Statistics Globe

Күн бұрын

Пікірлер: 21
@Sharon20001004
@Sharon20001004 Ай бұрын
Vielen Dank für Ihre Erklärung!😃
@micha.statisticsglobe
@micha.statisticsglobe 29 күн бұрын
Sehr gerne! 🙂
@alaminafendy6071
@alaminafendy6071 Жыл бұрын
WHAT A GREAT EXPLANATION! THANKS.
@matthias.statisticsglobe
@matthias.statisticsglobe Жыл бұрын
That's great to hear! Thank you very much for the feedback.
@TaraGhimite
@TaraGhimite 6 ай бұрын
Your video is very helpful thank you so much
@StatisticsGlobe
@StatisticsGlobe 6 ай бұрын
Thank you so much for the kind comment! Glad it was helpful!
@ruairimccay4120
@ruairimccay4120 3 ай бұрын
I have a code which has several file paths or directories being read in and I want to change the same, one subfolder in each path. Instead of manually changing them one by one, I’ve assigned it as a value, say x
@StatisticsGlobe
@StatisticsGlobe 3 ай бұрын
Hey, could you please share your code and the error message that is returned?
@ruairimccay4120
@ruairimccay4120 3 ай бұрын
@@StatisticsGlobe thanks for your reply! code is this: Quarter
@StatisticsGlobe
@StatisticsGlobe 3 ай бұрын
I believe the problem is due to the way how you use quotation marks. Does this work for you? Test
@beachlife8367
@beachlife8367 Жыл бұрын
I've tried to change the working directory in RStudio from "/cloud/project" to a directory (file ) I first set up on an external hard drive, and then (when that wouldn't work) on my desktop. Neither will work. Any suggestions?
@cansustatisticsglobe
@cansustatisticsglobe Жыл бұрын
Hello, If you have trouble with setting a working directory you can also do it manually via the menu bar in Rstudio. Click on "Session" then "Set Working Directory" then you can pick "To Source File Section" or click on "Choose Directory" to set the location of preference. Regards, Cansu
@xxxx8901
@xxxx8901 Жыл бұрын
What is the "1:5" that you put in the write.csv2 function?
@cansustatisticsglobe
@cansustatisticsglobe Жыл бұрын
Hello, Sorry for the late response. It is our sample data. It could also be defined explicitly as follows: data
@infotainment7246
@infotainment7246 2 жыл бұрын
Amazing👍
@StatisticsGlobe
@StatisticsGlobe 2 жыл бұрын
Thanks a lot, glad you like it! :)
@SaltyNicky
@SaltyNicky 11 ай бұрын
doesnt work
@cansustatisticsglobe
@cansustatisticsglobe 11 ай бұрын
Hello, Could you please share the code and the error you received? Best, Cansu
@SaltyNicky
@SaltyNicky 11 ай бұрын
sure can't, but I did figure out what I was doing wrong. I was trying to set the file location on my computer while using R online. I just switch to R studio on my desktop and I was able to find the file location.@@cansustatisticsglobe
@cansustatisticsglobe
@cansustatisticsglobe 11 ай бұрын
Hello, For some reason, KZbin blocked your previous comment. I have just realized it. Although I have approved it now, I still can't see it here. But as far as I read, you fixed the problem already. Is it correct? Best, Cansu
@Alejandro_Gonzalez009
@Alejandro_Gonzalez009 11 ай бұрын
@@cansustatisticsglobe Hello I seem to be having the same issue as beachlife. I am using posit cloud and the directory doesn't change for me. It is currently stuck on /cloud.project. @beachlife8367 are you taking the Coursera course?
Using paths in R and why you shouldn't be using setwd (CC179)
15:14
Riffomonas Project
Рет қаралды 4,6 М.
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 24 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 16 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 64 МЛН
Setting a Working Directory in R
10:58
David Caughlin
Рет қаралды 11 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 410 М.
Handling NA in R | is.na, na.omit & na.rm Functions for Missing Values
6:19
How to Change Working Directory in R and RStudio
3:52
Animal Sciences
Рет қаралды 10 М.
R Basics 13 - Setting File Path and Loading Data into R
6:42
Maths Partner
Рет қаралды 48 М.
Setting Up Working Directory in R  | R Tutorial 1.11 | MarinStatsLectures
8:25
MarinStatsLectures-R Programming & Statistics
Рет қаралды 245 М.
Writing Your Own Functions in R: Introduction
12:45
weecology
Рет қаралды 47 М.
R Programming for Beginners | Complete Tutorial | R & RStudio
49:45
Dynamic Data Script
Рет қаралды 720 М.
FASTEST Way To Become a Data Analyst and ACTUALLY Get a Job
14:03
Unorthodox Change
Рет қаралды 243 М.