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: |

The company maintains that it cannot act against individual or group chats, which are “private amongst their participants,” but it will respond to requests in relation to sticker sets, channels and bots which are publicly available. During the invasion of Ukraine, Pavel Durov has wrestled with this issue a lot more prominently than he has before. Channels like Donbass Insider and Bellum Acta, as reported by Foreign Policy, started pumping out pro-Russian propaganda as the invasion began. So much so that the Ukrainian National Security and Defense Council issued a statement labeling which accounts are Russian-backed. Ukrainian officials, in potential violation of the Geneva Convention, have shared imagery of dead and captured Russian soldiers on the platform. The news also helped traders look past another report showing decades-high inflation and shake off some of the volatility from recent sessions. The Bureau of Labor Statistics' February Consumer Price Index (CPI) this week showed another surge in prices even before Russia escalated its attacks in Ukraine. The headline CPI — soaring 7.9% over last year — underscored the sticky inflationary pressures reverberating across the U.S. economy, with everything from groceries to rents and airline fares getting more expensive for everyday consumers. "We as Ukrainians believe that the truth is on our side, whether it's truth that you're proclaiming about the war and everything else, why would you want to hide it?," he said. Groups are also not fully encrypted, end-to-end. This includes private groups. Private groups cannot be seen by other Telegram users, but Telegram itself can see the groups and all of the communications that you have in them. All of the same risks and warnings about channels can be applied to groups.
from nl


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