Can't close/hide any folders in Jupyter Lab - jupyter-notebook

I needed to clear my file browser in Jupyter Lab because I have too many open folders and i just lost among them.
I couldn't delete or hide any because it's said that they are not empty. Many of them are system like Desktop or Downloads, so i don't want to delete all files there.
What u could recommend to do? Or maybe someone had same problem

So solution is simple:
Put your notebook in folder u wish
Then go to Jupyter Notebook
And use File -> "Open from path" -> and get path u need

Related

Atom editor not tracking changes and updating the application

I have been using atom editor for making changes to my application code. I recently made a change in my directory - deleted .git and then moved all my files to a new folder.
Now, when I open the folder in atom editor, I do not see different file colors that I use to. It doesn't track which files have changed or anything like that. When I launch the app locally using MacOS terminal, I don't see the changes reflected in my App.
It's quite strange. What do I need to do to fix this issue?
Here's my root directory in atom. All files appear is same color. something doesn't look right.

cant get rscript to open in rstudio instead of web

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

Brackets, remembering previous session

Every time I open brackets, it points to a start-up folder instead of previously opened files and folder. Is there a way to retain previous session?
It should remember what folder you had open, so it's hard to know exactly why not. Here are some things to try though:
If you have any extensions installed, try uninstalling them. (If that fixes it, you can reinstall them one by one to see which one was the problem).
If you select Debug > Show Developer Tools in the menu, are there any errors listed in the Console tab?
If you select Help > Show Extensions Folder and then go up one level, is there a state.json file there? If so, try deleting/renaming it to see if that fixes things. If not, make sure the permissions on that folder are ok.

How to make RStudio File Navigator open Current Working Directory by default?

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.

DirCopy() Not Working

I'm working in AutoIT to script a basic task I'll have to repeat on 50ish workstations.
I need to copy a directory and it's subdirectories and files (recursively) to a network share as a backup. For some reason, DirCopy() does not work at all.
I've tried running it on several different directories (thinking permissions issue, I'm Domain Admin account), tried doing a RunAs (again thinking permissions), and also put the #RequireAdmin tag to force the program to run on an elevated account. Nothing has worked. I can't even get it to copy empty directories.
DirCopy(#DesktopDir & "\SAMPLE\TEST1", #DesktopDir & "\SAMPLE\TEST2", 0)
Please advise!
Just figured this one out.
Turns out DirCopy() is a pretty stupid function that cannot handle if the destination directory already exists (it wants to create it for you). So if you kill the destination directory, then run the above code line, all woks as expected. But then if you add a new file into the source directory (TEST1 in my example), then it breaks again and does nothing.
Go figure...
Now time to find a work-around using something like xcopy...

Resources