Rstudio view() dataframe display nothing - view

After I upated Rstudio to 1.0.153, I can't view dataframe by function view().
enter image description here
then I updated Rstudio1.1.383, the problem still exists.
I reinstalled the Rstudio, the problem still exists.
My system is windows10
Thank you.

Related

Where are copy-pasted images stored in Jupyter Notebook?

This is very similar to this question but it hasn't been answered.
I launched a Jupyter server from PyCharm. I created a screenshot, and copy and pasted it into a Jupyter Notebook. The image wasn't otherwise saved. In Jupyter Notebook, the image appears like this: ![image.png](attachment:image.png) and I can see the image on the Jupyter server, but I can't see the image in the notebook file in PyCharm. I can't find where the image.png file is stored. I looked through the folder that the notebook is in, and I used the file explorer to check if the image is anywhere on my computer.
Does Jupyter Notebook store the copy-pasted image as a file? and if yes, where?
This answer here fills in some information on what is going on.
When you pasted it into the markdown cell, it got encoded as an attachment in base64 in the cell information for that cell.
If you view the underlying code for the notebook in a text editor you should see encoded data. (You may wish to make a test notebook, separate from the one you care about, and add an image to test that after you save the edited new notebook.)
And so there is no separate saved file.

Tkinter surface is displayed wrong in exe

I'm already trying to fix this for hours but it doesn't work.
I converted my python script to an exe-file. Via pyinstaller and via cx_freeze. But both have the same problem: They display the surface in the wrong way. I include canvas as FigureCanvasTkAgg and when I run it with Spyder it is displayed well. (I tried to place them via .place() and via .pack() ). But with the exe it's all above another and it displays only one of all the canvas (when I enter data for a chart).
Can somebody tell me how to correct this? Is there a way to convert the file to an exe like I can display it via Spyder?
Thank you!!
Displayed in exe: everything is overlapping
Here displayed how it should be

How to hide cell with code Jupyter notebook

I am using jupyter notebook to create a report.I would like when converting the notebook to PDF not to show the code in the PDF file. I have tried using remove_cell in the cell tag. Can anyone help please?

Convert Markdown to pdf with images on mac

This is driving me crazy. I have a jupyter notebook with images and I'm trying to convert it to a pdf on my mac. I've installed pandoc and macTex, but when I try to convert it to pdf the images disappear. Also the formatting for my tables gets messed up. I've tried saving it as a markdown and converting it, but I get the same problem. If I convert to html the images disappear but the table formatting is correct. I've also tried converting it in the terminal with nbconvert, but the images still disappeared. And I tried converting the markdown file with rstudio, but still the images disappeared. I've tried two versions of the code to reference images. The versions are below, both display fine in the jupyter notebook but the first one throws an error and the second one the images disappear. I've googled around, it seems to be a common issue but I'm not seeing a lot of solutions. I really can't believe this is this difficult. Any solution is greatly appreciated.
code with errors:
![Stars_Boxplot](Stars_Boxplot.PNG)
code disappears when rendered:
<img src="Stars_Boxplot.PNG">
Update Solution:
![Stars_Boxplot](/Users/Desktop///Project Research//Stars_Boxplot.PNG)
The issue was it had to be an absolute reference and I had a space in my file path.

drupal node‘s image field do not dispaly the image

The problem was appeared when I migrate my site from WindowsServer2003 to CentOS.
There is a image field in the Node type.In the old server everything goes well,but in the CentOS the nodes' image field do not show the picture. It just show the image name as a link and click the image name I can see the picture in a new browser tab.
I know that the images have been upload in the sites/default/files. And also the permission for the directory is 777.
I google a lot but get no results.
so what cause the problem? any suggestions are appreciated.
Windows and Unix-based systems use different pathing syntax, so the paths for your images may not work now, under CentOS. Use a text editor's find-and-replace feature to change the paths in the database by exporting the database to a SQL file, running the find-and-replace, and then importing the file. Make sure to keep backups of everything.

Resources