I am supposed to access an rscript in my student account and save it but whenever I click on it instead of automatically opening rstudio it opens up in web browser as just texts.I cant figure how to get it to open in rstudio. can anyone help and explain why it won't open? I have to be save it as an rfile on my files but I cant since I cant get it there in the first place.
I would suggest save the file in your computer. Then open RStudio -> File -> Open File
Related
For Atom 1.14.3, I've opened a huge file in my project and it's causing out of memory issues and crashing my Atom.
I'm trying to reopen Atom for this project without it auto-opening the massive file which is causing the problems, yet it always auto opens that file despite my window restore option being set to false in my Config.cson:
core:
restorePreviousWindowsOnStart: false
How can I open the project without any of the files open so I can continue working on it?
You can try opening Atom from terminal/command line with --clear-window-state option. It will still open the directory in tree view but won't load the files you have had opened.
Also bear in mind that this switch will destroy all unsaved changes. You may want to visit Atom's Flight Manual's page for more information about this switch.
This may not be the best answer, but it is an answer, so I'll give it a shot.
If you can open Atom at all, wait for your huge file to open once, then minimize that window, start Atom again. This will open a new window with one untitled page and nothing else. Minimize your new window, close your old one with the huge file. Now close your untitled page.
Because of how Atom's window restore works, it will re-open your last project, so now when it opens, it will open to the empty untitled page.
Hopefully that helps a little :/
just type in the current directory (with the dot)
atom .
it will load the current directory tree, with no open files
This is a very small issue but every time I do it, I wonder if there is such a convenience.
In RStudio, file navigator always opens in home directory by default. Is there a way to make it open the current working directory automatically or by using a shortcut?
To open current working directory you can simply use the "Set As Working Directory" button in Files -> More menu.
I've read tons of pages saying I need to change phpmyAdmin for WAMP. Followed instructions and changed the file, but when I go to save it says "ACCESS DENIED". Apparently I don't have permission to save a file on my own computer.
Has anyone else had this same problem?
Without you being more specific about what you are doing it's hard to help, but my guess is you need to run whatever text editor you're using as Administrator.
Right click on a Notepad (or whatever text editor) and hit Run as Administrator, then hit Open and navigate to the file. It should allow you to save it that way.
Also it goes without saying you should turn WAMP server off before editing anything.
I have installed Rstudio server Amazon EC2. It works fine, but I can't understand how to save files on my local computer...
In example,
x=5
write.csv(x,file="x.csv")
getwd()
[1] "/home/rstudio"
I can see the file in my working directory, but I cannot change w.d...
setwd("C:\\Users\\Paul\\Documents\\R")
Error in setwd("C:\\Users\\Paul\\Documents\\R") :
cannot change working directory
EDIT:
I get Network error: Connection timeout... if i use instructions from codingthis.com/platforms/ec2/… using Putty... Or "Host does not exist" if I use winSCP...
Any suggestions?
Best regards!
If you can't make SCP work, here's a simpler way. First I'll show how to save a plot, then how to save a CSV file that you've made with R.
You've started your EC2 instance of RStudio, thanks to helpful instructions elsewhere...
Now you've made a plot and you want to save that plot...
Look at the plot window for the "Export" button and click that, then click 'save plot as image' (or PDF if you prefer)
Follow the prompt and save it in the default location...
Now switch from the plot window to the files window by clicking on the 'Files' tab in RStudio... You should see your plot image file in the list there. Now click 'More' then "Export..."
You can edit the file name at this point...
And then after you click download it will download to your default download directory...
If you've used R to make a csv file of output, you can export that to your download directory in the same way, you can see my file 'd.csv', here with the checked box next to it in the 'Files' window. I've clicked on the 'More...' button, then 'Export...'
Now I can edit the name, click 'Download' and will go to my default download directory:
Does that answer your question? If your next question will be "how do I get files into RStudio on EC2?", please first experiment with the "Upload" button in the 'Files' window of Rstudio.
using:
Windows 7
Asp.Net MVC3
Visual Studio 2010
All major browsers
My problem involves failing to rename a directory after opening a pdf file
I open a pdf from my website and it appears in a separate tab.
I close the tab by clicking on the little X.
I try to rename the file that contained the pdf
Get “Access to the path 'foo' is denied.”
Another manisfestaion of the same problem, probably.
I open and close the pdf from my website.
I then stop the website ( Blue square button in Visual studio)
I then try to manually rename the direcory that contains the pdf file that I just opened.
Get: "The action can't b completed because the folder or a file in it is open in another program.
Close the folder or file and try again."
If I close down Visual Studio completely, I can then rename the directory.
Many Thanks.
1) Check your folder permissions to see whether you/current user has access to change folder. You can right click on that folder and select Security tab. You may change the permissions for the user and try again.
2) How are you opening the PDF ? The mentioned error will come when there is some memory reference still with the file . If open the file using window.open (path) and you close the browser instance which had the PDF, you should be able to rename the folder without any problem.
Apparently this is a problem with Windows 7 hat has been around for a while but not yet fixed.
http://answers.microsoft.com/en-us/windows/forum/windows_7-files/in-windows-7-getting-error-the-action-cant-be/449b2e05-8ed0-4a72-98bd-dde430d27e10
I ran the website on a Windows Server 2003 machine and was able to rename the directory after opening a pdf file with no problems.