We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 Rstudio 里可以输出图片,但是在 jupyter Lab 里无法输出。
不知道是不是哪里不对?
The text was updated successfully, but these errors were encountered:
在 RStudio 中你应该是在 View 中点击 Export 导出图片的吧?目前包本身尚未支持导出成图片格式,如果想保存为图片的话可能需要用到 {webshot} 对 widgets 储存为网页然后截图导出。
{webshot}
输出图片功能肯定在未来需要加进去的,不过目前来说还是稍有难度,需要一些时间。
Sorry, something went wrong.
feat(png): implement widget to png (#26)
134c26d
Merge pull request #27 from swsoyee/convert-widget-to-png
8905a5c
@sanbeichahegongheguo 已经追加了 m_png() 可将输出转换成png了。但是我还没有试过在 Jupyter Lab 中是否可用,理论上应该没问题。可以安装 GitHub 的开发版尝试并反馈一下嘛?谢谢。
m_png()
# install.packages("devtools") devtools::install_github("swsoyee/r3dmol") r3dmol() %>% m_add_model(data = pdb_1j72, format = "pdb") %>% m_set_style(style = m_style_cartoon()) %>% m_zoom_to() %>% m_png(width = 800)
好,一会我就试试。
问题解决了。目前没有问题。 之前大概率是我自己jupyter的问题。
swsoyee
No branches or pull requests
在 Rstudio 里可以输出图片,但是在 jupyter Lab 里无法输出。
不知道是不是哪里不对?
The text was updated successfully, but these errors were encountered: