Rstudio Server hangs when creating new Rmarkdown file - r-markdown

I have trouble with running markdown on RStudio Server (1.4.1106) on CentOS7 offline server. When I click new->R Markdown..., R Markdown sign appears in the middle, and the program hangs. Same when I try to knit existing .Rmd document. I have to quit and restart rstudio-server. I have
R 3.5.1
knitr 1.22
rprojroot 1.3-2
rmarkdown 1.12
htmltools 0.5.2
Any help appreciated.

RStudio is trying to figure out if the rmarkdown package is installed, and it is probably hanging because it can't hit the Internet to see if a suitable version is available.
Does installing the rmarkdown package on your offline server fix the issue?
More info: https://github.com/rstudio/rstudio/issues/9246

Related

How to find which R package version should be used for shiny server deployment?

I just started to use rsconnect in my company, and tried to deploy a shiny app from my windows machine. The server comes with R 4.1.0, and one of the packages requires to install terra.
I have tried multiple R package repos from Rstudio dev-cran with different dates to install terra, and tried version 1.2-10, 1.3-4, ... all the way to the latest version.
However, none of them was able to be uploaded, or installed during deployment.
For the versions before 1.4, the error was
Uploading bundle for application: 335...Error: node stack overflow
Execution halted
while for versions above 1.4, parts of the error were
The requested URL returned error: 407
RStudio Connect cannot download a package because the R package repository (for example, CRAN or RStudio Package Manager) cannot be accessed.
This happened to other packages too, but the issue was usually resolved after I uninstalled and re-installed with a different repo. But for terra, I was not able to find a repo to fix the issue.
Any suggestions for the next step?

Redmine 4.1 Exporting PDF's images missing

Posted on the Redmine forum, but after a few days didn't get a response. I thought someone here might know.
I am trying to export PDF's with images. I have tried using the copy/paste and upload when creating an issue and specifying the file name; all seem to fail exporting the picture. Tried different formats jpg and png, with same results. I have read several forum postings from several years ago, when rmagick would be installed to help solve the issue. From Redmine install page I read that the rmagick is not necessary for 4.1.0.
I am really new to running the redmine world. Running redmine on a Windows box.
How can I allow the images to be exported to PDF for an issue?
Could someone point me in the right direction?
Environment:
Redmine version 4.1.0.stable
Ruby version 2.6.5-p114 (2019-10-01) [x64-mingw32]
Rails version 5.2.4.1
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Git 1.9.4
Filesystem
Redmine plugins:
redmine_issue_templates 1.0.1
It appears that Redmine 4.1 introudced new way and new checkmark in order to have Images visible in PDF
Notice the ImageMagick optional requirement:
If you check in Redmine log, it would probably dump this message:
Imagemagick's convert binary is not available...
On the underlying Linux system, Ghostscript is also required for above to work.

tensorboard sidebar size problem for log names

As seen in the screenshot below the name of my logs doesn't span to the whole sidebar section and I see a large blank space to the right (red arrows). If the name of my log is long, it will make it hard to compare with other logs especially if I have a lot of logs.
Browsers: Chrome (Version 78.0.3904.97 (Official Build) (64-bit)) / Firefox (70.0.1 (64-bit))
Updating to newer tensorboard (2.0.1) fixes this!
pip uninstall tensorboard
pip install tensorboard

How to install older version of Firefox on AWS (Ubuntu)?

I'm trying to use an older version of Firefox on AWS (running selenium, 55 isn't compatible) but I haven't had any luck. When I try to download the compressed older files, I get
(firefox:6186): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
/usr/bin/dbus-launch terminated abnormally without any error message
Any ways to fix this/alternate ways to download?
I faced same issue with firefox when I was running selenium project with it. I did the following things that helped me. First uninstall the firefox by using command,
sudo apt-get remove --purge firefox
Some of the old files could also be there, you need to remove them manually.
Then you can install the previous version from the link provided below which shows list of all previous versions of the firefox, version 54, works fine for selenium.
https://support.mozilla.org/en-US/kb/install-older-version-of-firefox
When you install it, Mozilla build for Firefox would be opened as a browser and you can perform selenium tests there.
Hope this helps!

Shiny / Shiny-Server does not render outputs (plots, datatable)

I'm having trouble with my shiny installation. I have Shiny Server (1.5.3.838) on Ubuntu 16.04.3 LTS with Shiny package version 1.0.3. Here is the screenshot;
Shiny-server does not render the sample-app's plot. But i think the problem is not about the shiny-server because the same issue exists when i ran the application via Rstudio.
Things i've tried so far;
Change the shiny-server log level to TRACE
Change the application log level
Install different versions of Shiny-server (1.5.x, 1.4.x)
Install different versions of Shiny package (1.0.x)
Try on different browsers (Chrome, Firefox, IE)
Change the shiny-server conf file into this;
preserve_logs true;
sanitize_errors off;
disable_protocols xdr-streaming xhr-streaming iframe-eventsource iframe-htmlfile;
Edit: My R version is Microsoft R Server 9.1.0 (on top of MRO 3.3.3)