How to fix (0 KB)file - jupyter-notebook

When I open Jupiter-notebook on my ipad,
and go to my files I see the file (0 KB)
enter image description here,
and when i open it i see this
“Error loading notebook”
(Unreadable Notebook: /private/var/mobile/Containers/Data/Application/9F74A3BC-6A81-4937-A524-AAFF345DF2BB/tmp/NSIRD_Carnets_GeJck5/file_name.ipy)
enter image description here
Please help me, i have 2 projects in this file

same thing happen with me my project work file I saved but when I open it in morning it not opening their size become 0kb. showing error “Error loading notebook” following steps to recover that file that i did and i get that file.
step 1) open the file explorer/my computer.
step 2) from windows explorer "view tab" click on show hidden file.
step 3) goes to that folder where you stored that jupyter (.ipnb) file.
step 4) when show hidden file option enable then you see you jupyter file
but in hidden format you need to rename it by just remove " . "
dot from its name and rename it and save.
Ex.file name is ".LSTM model" then rename it by removing dot(.)
before file name and give name " LSTM model "
step 5) now this rename file is open from jupyter notebook.
(Note: actully jupyter file backup store in hidden format in windows if we enable show hidden file from window explorer we can rename and reuse file which is corrupted)

Related

If you run a file.to_csv code in Jupyter as opposed to Google Colab, where does the file go to be downloaded?

This is the input I'm running: file = pd.DataFrame({'column': x_test, 'target': y_test}) my_file.to_csv('file.csv', index=False).
In G Colab, the file appears in the files folder in the left column and you can download it there. I'm trying to figure how to download it in Jupyter?
Once you are done with your code as you mention in your question.
Click on File.
Select Open.
It will open a new tab where you find three menu File, Running, Clusters.
The csv file that you made by the name of "file.csv" you can find in the File section.

The system cannot find the file specified in Rmarkdown

I am doing my current project in RStudio Desktop. I am doing RMarkdown to later transfer. I am having some trouble getting an error of the system cannot find the file specified RMarkdown. At first, it says that the combined_databike was not found, but I literally did it in the same file already also you can see in the upper right all of the data frames which mention "combined_databike." This being said when I am trying to hit knit it gives me the error. Now the error says is at the tripdata_202006, which I cannot understand because I imported every file from tripdata_202006 to tripdata_202105 using the "import dataset."
I want to understand why is not working and how I bring a solution.
That's because the file you want to read is not in the folder where your project or in this case your rmarkdown file is.
As you can see in the file list of your console, in your directory you have 4 files, and you don't have the folder "Bike data" where the file 202006-divvy-tripdata.csv is located, according to the path that is in line 83 of your code.
Maybe to solve that, I think you have two options, the first one is to write the whole path to the folder location and then to the file. And the second option is to move the folder "Bike data" with the files you have in it, where your rmarkdown file is located.

R Studio: Opening an RMD file that contains a report, and another of code, but there is no content. Am I missing a package?

I have a report sent to me in the format of an RMD file. Another RMD that contains the code. However, all that I see are empty files when opened. Im using anaconda: Rstudio 3 version 1.1.456 (is this outdated?)
Unless there is a script to open the file?
The .Rmd format is a particular flavor of markdown so you can open the file with any plain text editor to verify that it is not empty and indeed has the code inside.
I have a solution to my problem: For anyone trying to open an Rmd file in the future with similar circumstances.. open the file, while open, Go into "file - Reopen with encoding - UTF-8".

What is the right way to show up images at R Markdown?

I am doing an html document from R Markdown (RStudio) and I think I am following the right instructions to show it up. I read the R's Bookdown (https://bookdown.org/yihui/rmarkdown) and there says this is the way, or at least this is what I get from it. I am using this only script line to make the image calling:
![Hadley Wickham](Macintosh HD/Usuarios/ivanmendivelso/Dropbox/Escuela/IntroR Vids/HW.jpeg).
When knitting I get this error message: "File Macintosh HD/Usuarios/ivanmendivelso/Dropbox/Escuela/IntroR Vids/HW.jpeg not found in resource path
Error: pandoc document conversion failed with error 99
Execution halted".
Does anybody know what am I doing wrong? Why I can not see images in my documents?
Thanks in advance.
It looks like your path is not correct.
If the image can be moved, put it in the same directory as your .Rmd file. If you can't move it to the file directory and if you don't speak UNIX, you can get the path by:
Finding the file with the finder
Right click on it
hold the option key on your keyboard and you will see the menu change from Copy "HW.jpg" to say Copy "HW.jpeg" as pathname
Paste that path into your code.
When you have file spaces in your file path you need to put single quotes around to make them strings
![Hadley Wickham](‘Macintosh HD’/Usuarios/ivanmendivelso/Dropbox/Escuela/‘IntroR Vids’/HW.jpeg)
What about this below
![Hadley Wickham](/Macintosh HD/Usuarios/ivanmendivelso/Dropbox/Escuela/IntroR Vids/HW.jpeg).
notice the / at the begining of the file path. on Mac the very first / is meaning from the root of your hard drive

JuliaBox - Console Copy Paste - Clipboard - Not working

Machine: Windows7, browser: Firefox (lastest/recent).
I'm using Julia browser console (JuliaBox) to learn Julia. It works!
I not able to do the following though.
If I select some text in the console and right click > Copy it, the data is not getting copied to the global/system clipboard buffer.
I can open a new file within the console (vi new.txt) and there if I paste the data, it works!!
But if I want to copy the same selected/copied data outside of JuliaBox console, it doesn't work (i.e. if I try to paste it to Notepad++ or in outlook email, word doc etc).
Am I missing anything?
ALSO -- If I copy anything from notepadd++ / word doc or any data from an opened app or browser window, then I CAN'T paste it to JuliaBox console!! even if I try Control+C / Right Click Copy to copy the data.
copy-paste data from JuliaBox console:
use Ctrl+c/Ctrl+v on Windows/Linux or Cmd+c/Cmd+v on Mac.
copy-paste data into JuliaBox console:
a workaround is to use the term.js widget Paste from browser in the right-click menu.
this seems to be a bug, the issue says it will be fixed in the future.

Resources