I have been working in a current session in R for a few days now, however the console has become somewhat unresponsive. I cannot get the command prompt to become 'active', though I can click on some of the menus from the menu bar. However, the "save workspace" menu option is unresponsive. Is there a way to access and save the objects I have saved in my current R session? Maybe trying to access the folder R temporarily stores data in???
THanks
Related
When I click on an ipynb file in Jupyter, a new tab opens but is completely blank. Nothing appears unless I manually refresh the browser page at least twice.
Try using Jupyter lab instead of Jupyter notebook. It'll load smoothly in lab.
As I understand it, when a link to a file is clicked in the browser, the file is silently downloaded to a temporary directory on the computer. Then the prompt is displayed which shows Open, Save, Cancel... Then if the user clicks Save, they are prompted to save it somewhere, and finally the file is basically transferred to that location when confirmed.
Assuming that is correct, I'm looking for a way to determine if the user actually downloaded the file. So basically determine if they clicked the Save button.
The bit of research that I've done leads me to believe this is not possible, because there is no standardized way of capturing that event, however I could be wrong. And the only possible solution I can come up with is to create an actual client application. Any thoughts on that?
Also, if there are any other off the wall ideas, I'm open to those as well.
And in case it makes a difference, I'm working within an ASP.NET environment.
How about turning this whole problem around and audit the file that actually being downloaded. You can turn on file/folder auditing and capture onlyt the success and failures of the IIS process. Then correlate the audit event with the pieces parts in the IIS log to get the particulars of who actually downloaded the file.
Just my $0.02 YMMV
Is there a log of recent terminal sessions at all? Or anyway I can see what was written to console before I last quit?
There is the option to save a log of your session to a file, however, by default this isn't done.
To activate the session logs, go to iTerm2 Preferences (⌘,), select the "Profiles" tab, then the "Session" tab. Under "Miscellaneous" you can specify a folder where log files for your sessions shall be saved in the future.
Edit:
These session logs can become quite big, so you might want to have a look from time to time to not clutter your drive.
I have been setting up some IPython Notebooks on public servers for training purposes.
Once logged in, you are taken to the default landing page where you can choose the Notebook you want, create a new one and since IPython 2.0 navigate directories.
I would however like to serve a default Notebook upon logging in. This would make it possible for the student to log in and automatically be taken to a notebook that was set up with some instructions.
Of course he/she could just click on the link but it would just make it easier and better looking if it could start with a default page.
On pre 2.0 IPython clicking on a notebook link took you to a temporary kernel address (e.g. http://127.0.0.1:8889/10327f95-f1f6-4016-80f0-e23c477edbfe).
Since 2.0 these links are permanent so you can just provide direct notebook links to your students, e.g. http://127.0.0.1:8888/notebooks/Test.ipynb
My page shows a grid with two column. 1st column has the hyperlink which when clicked opens the associated pdf (hosted on remote machine) in a new window. Internally I think the pdf is downloaded to the client computer's machine and he/she sees the cached copy. 2nd column has a delete button which when clicked deletes the associated pdf.
My problem is that if the pdf is currently open in the window, the delete button fails to delete the pdf because of sharing violation. I can go ahead and close the pdf and this allows the delete button to work fine.
I was wondering if I should be getting a sharing violation error since the client sees the cached copy of the pdf and not the original pdf?
Also, is there a way in IIS to release remote resources? Which might help in deleting the remote pdf even if its open on client machine?