Telegram Group & Telegram Channel
Кратко перечислю этапы:

1. Создаем публичный репозиторий на GitHub, как-нибудь называем его, клонируем локально на компьютер (мне помогает GitHub Desktop). Создаем Shiny-app (у меня app.R), сохраняем его в клонированную папку.

2. Обязательно нужно заветное слово автоматически создать файл manifest.json в том же каталоге, что и app.R. Для этого мы прописываем в консоли (как написано в руководстве) [я это делаю в IDE Positron]:

library(rsconnect)
writeManifest()


3. Немного колдую с .gitignore (нам не нужны .Rhistory и .DS_Store на macOS) - в терминале, там же, где и app.R, например, для .gitignore:

find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
echo .DS_Store >> .gitignore
git add .gitignore
git commit -m '.DS_Store banished!'


Публикую результат, например, через GitHub Desktop (или git push в терминале).

4. Идем на https://connect.posit.cloud/home и выбираем Publish -> Shiny, далее выбираем репозиторий, ветку (она у нас одна, сама выберется) и Primary File (это app.R). Далее просят выбрать Python Version (??? - пропускаем) и жмем Publish.

HappyEnd!

UPD: пока не стоит ожидать чуда от новых технологий, старайтесь избегать на данном этапе зависимостей от больших библиотек, например, tidyverse, приложение может не рендерится.
🔥7



group-telegram.com/naukaidannye/504
Create:
Last Update:

Кратко перечислю этапы:

1. Создаем публичный репозиторий на GitHub, как-нибудь называем его, клонируем локально на компьютер (мне помогает GitHub Desktop). Создаем Shiny-app (у меня app.R), сохраняем его в клонированную папку.

2. Обязательно нужно заветное слово автоматически создать файл manifest.json в том же каталоге, что и app.R. Для этого мы прописываем в консоли (как написано в руководстве) [я это делаю в IDE Positron]:

library(rsconnect)
writeManifest()


3. Немного колдую с .gitignore (нам не нужны .Rhistory и .DS_Store на macOS) - в терминале, там же, где и app.R, например, для .gitignore:

find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
echo .DS_Store >> .gitignore
git add .gitignore
git commit -m '.DS_Store banished!'


Публикую результат, например, через GitHub Desktop (или git push в терминале).

4. Идем на https://connect.posit.cloud/home и выбираем Publish -> Shiny, далее выбираем репозиторий, ветку (она у нас одна, сама выберется) и Primary File (это app.R). Далее просят выбрать Python Version (??? - пропускаем) и жмем Publish.

HappyEnd!

UPD: пока не стоит ожидать чуда от новых технологий, старайтесь избегать на данном этапе зависимостей от больших библиотек, например, tidyverse, приложение может не рендерится.

BY Наука и данные


Warning: Undefined variable $i in /var/www/group-telegram/post.php on line 260

Share with your friend now:
group-telegram.com/naukaidannye/504

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

"There are a lot of things that Telegram could have been doing this whole time. And they know exactly what they are and they've chosen not to do them. That's why I don't trust them," she said. At the start of 2018, the company attempted to launch an Initial Coin Offering (ICO) which would enable it to enable payments (and earn the cash that comes from doing so). The initial signals were promising, especially given Telegram’s user base is already fairly crypto-savvy. It raised an initial tranche of cash – worth more than a billion dollars – to help develop the coin before opening sales to the public. Unfortunately, third-party sales of coins bought in those initial fundraising rounds raised the ire of the SEC, which brought the hammer down on the whole operation. In 2020, officials ordered Telegram to pay a fine of $18.5 million and hand back much of the cash that it had raised. What distinguishes the app from competitors is its use of what's known as channels: Public or private feeds of photos and videos that can be set up by one person or an organization. The channels have become popular with on-the-ground journalists, aid workers and Ukrainian President Volodymyr Zelenskyy, who broadcasts on a Telegram channel. The channels can be followed by an unlimited number of people. Unlike Facebook, Twitter and other popular social networks, there is no advertising on Telegram and the flow of information is not driven by an algorithm. During the operations, Sebi officials seized various records and documents, including 34 mobile phones, six laptops, four desktops, four tablets, two hard drive disks and one pen drive from the custody of these persons. READ MORE
from es


Telegram Наука и данные
FROM American