Closed caparisek closed 5 years ago
@caparisek @rtallman01 Hmm this is strange. You should be able to right click and "Save As" and save the file as a "text document" which you can then change the file extension to ".R" Potentially this is a Mac problem?
Your work around seems fine for now, but lets be sure to take a look at what is going on before or after class today.
Thanks, will do! I have a mac, Rachelle has a PC - from what I overhear, it sounds like a few others had this issue too.
Hi @caparisek and @rtallman01!
Not sure why Save As
isn't an option, but the text document option is typical on Windows. One option you may see is to save as "text
", but a small dropdown may also have the option to save "All Files"....select that and then add .R
the end of your file name. Or as @MarthaWohlfeil said you can change the extension later. I'll poke around a bit more for the save as option...
Thanks @ryanpeek, I couldn't figure out how to change my Mac's trackpad right-click, but I checked how it works in Chrome vs Safari like you suggested and it does work in Chrome just fine! Strange..
Hi everyone! So I have a PC and tried @MarthaWohlfeil and @ryanpeek suggestion of click save as and hitting the drop down option. I've tried that and hitting the All Files option and saving it as .R but when I pulled the file up in R it still read it only as a txt file
Here is a screenshot of what it looks like from my computer.
I figured it out! Looks like when I save it to All Files I need to go back in and change the name it originally saves it as .R.txt and I just needed to delete the .txt part and it seems to have worked. Sorry this might have been said earlier but I didn't really understand. I didn't realize the file would continue to be saved as a text file even after I selected All Files.
<script src="https://raw.githubusercontent.com/.../.../main/.../app.js"></script>
This action doesn't work,
Here are the error message.
Hi @MarthaWohlfeil, @MCMaurer, @ryanpeek,
@Rtallman01 had an issue with Part 2 of the assignment. We figured out a workaround and completed the assignment but would like to know why step 2-3went wrong.
After clicking RAW and getting redirected to a plaintext version on a website background, neither of us can "save as" a .R file. I'm only getting the option "save page as" which gives me even less options, whereas Rachelle can only save as a .txt. What are we doing wrong?
Our workaround was to copy and paste the code into a new script file and save the file by the exact same file name as the partner we checked.
Instructions for Part 2: #Part II: Code Review
1) Find your code partner’s repository on GitHub, click on the scripts folder, and find the script named w3_assignment_ABC.R
2) Click on the script, then find the RAW button on the right hand side of the screen. Click on RAW.
3) You should see a plain text version of the script. Right click anywhere on the page, and select “Save As”, save the script to your scripts folder in your repository. Make sure to change the file extension to .R (instead of .txt).
(Attached is my screenshot)