Я пытаюсь создать локальную версию своей информационной панели, которую можно отправить кому-то, кто не знает, как использовать R. Однако каждый раз, когда я пытаюсь создать приложение, сеанс R. прерывается.
Панель инструментов содержит только два графика и диапазон дат, который не очень велик, однако данные за ними немного больше.
R скрипт:
install.packages("RInno")
require(RInno)
RInno::install_inno()
create_app(app_name = "pelipoddb", app_dir = "app", pkgs = c("shiny","shinydashboard","plyr","dplyr","plotly"),include_R = TRUE)
compile_iss()
в консоли:
>install.packages("RInno")
>WARNING: Rtools is required to build R packages but is not currently >installed. Please download and install the appropriate version of Rtools >before proceeding:
>
>https://cran.rstudio.com/bin/windows/Rtools/
>trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/RInno_1.0.1.zip'
>Content type 'application/zip' length 2511299 bytes (2.4 MB)
>downloaded 2.4 MB
>
>package ‘RInno’ successfully unpacked and MD5 sums checked
>
>The downloaded binary packages are in
> C:\Users\612241921\AppData\Local\Temp\RtmpMjpMjs\downloaded_packages
> require(RInno)
>Loading required package: RInno
>Version: 1.0.1
>Maintainer: Jon Hill <jon.mark.hill@gmail.com>
>License: GPL-3 | file LICENSE
>URL: www.ficonsulting.com
>> RInno::install_inno()
>trying URL 'https://github.com/'
>Content type 'text/html; charset=utf-8' length unknown
>downloaded 131 KB
>
>
>The file was downloaded successfully into:
> C:\Users\612241~1\AppData\Local\Temp\RtmpMjpMjs/github.com
>Running the installer now...
>This version of C:\Users\612241~1\AppData\Local\Temp\RtmpMjpMjs\github.com >is not compatible with the version of Windows you're running. Check your >computer's system information and then contact the software publisher.
>
>Installation status: FALSE . Removing the file:
> C:\Users\612241~1\AppData\Local\Temp\RtmpMjpMjs/github.com
> (In the future, you may keep the file by setting keep_install_file=TRUE)
>Warning message:
>In shell(install_cmd, wait = wait, ...) :
> 'C:\Users\612241~1\AppData\Local\Temp\RtmpMjpMjs/github.com' execution >failed with error code 1
>
> create_app(app_name = "pelipoddb", app_dir = "app", pkgs = c("shiny",
>+ "shinydashboard","ply>r","dplyr","plotly"),include_R = TRUE)
>Downloading R-3.6.1 …