I can say four through ten, and it'll give me each one of those numbers, with a little bit of random noise added on. so that's how I edit code, and that's how I load the code into R. Every time you edit your file in the editor, you have to save it, and then if you want that code to be available in R you have to use source function to source that file back into R. you don't have to use a single file, you can add a new file, so you can say New Script, and it'll open another window. 