Tip:
Highlight text to annotate it
X
So if you are using a Windows machine there's gonna be a couple of differences
in how you deal with changing your default working directory.
So you'll notice that the instructions that professor Conway gave, just aren't
applicable to you but here I'm gonna show you how.
So what you're gonna wanna do once you've opened up.
Well actually this is the way not to do it.
So the way not to do it is to go click File.
Then click Change Directory. You see it pops up like it did for Mac.
You get to pick where you're going. So I'm going to navigate somewhere.
I think I'm going to my documents. And so now that I've clicked it and hit
okay, this does change my working directory.
It changes it in the same way that set WD changed my working directory.
So while it is my working directory, it's only temporary.
So I'm gonna just prove to you that I've changed it.
Get WD, enter, and I'm in my documents. So how can you actually permanently change
it? Because if you close R right now, it's
just gonna, once you open up again, it's gonna go back to wherever.
It was. Its old default.
So, how you can do it now is to go to wherever you have your R shortcut.
You're gonna want to right click on that to get that little menu to pop up.
And, you're gonna go down and click on properties.
And once you've done that, you'll see this window pop up, and there's a lot of
different options. You're gonna want to click the one that
says, Start In. So, Start In is where that short cut is
gonna to, is gonna to force R to start with this Start In area as your working
directory. And so, it's actually set to my document,
it's my default, so it's a bad learning experience.
But if I had, had another folder, I would change the C: /theusers, all subtle
documents, and then. Maybe I had a R folder in there.
And in the same way, if you don't know how to find a folder, find the path You can
always, once you have navigated the normal way to the folder you need to go to, just
right click on it, and go to properties. And you'll see that the path is in there
the same way that it was for MAC. I don't think I have video of that.
But, hopefully thats not too hard. It works pretty much the same way.
And from there you can copy and paste into the window, the properties window of the R
shortcut. And that's been tested, I know.
My students actually figured it out for me.
Cause I don't use Windows primarily. So I know it works on Vista, and this is
Windows seven. If you have a different system and it
didn't work for you. Let me know and we'll try to figure it out
how to do it for you guys. But it, this is the only way I found that
actually permanently changes your working directory.