Hi,
I want to deploy an app using this library: CRAN - Package httk
I am trying to put in packages something like r-cran-httk, but it doesn’t work, could you help me please?
Thanks
Hi,
I want to deploy an app using this library: CRAN - Package httk
I am trying to put in packages something like r-cran-httk, but it doesn’t work, could you help me please?
Thanks
Hi @PARODBE,
I’m not familiar with httk
but have you checked @dataprofessor’s repo? It shows how to use R in a Streamlit app.
Best,
Charly
Hi @PARODBE
As @Charly_Wargnier had pointed out, I’ve made a tutorial video showing how to run R right inside a Streamlit app.
To install R packages, you can insert the name of the R cran package name inside the packages.txt file. As shown in the video, the file looks like the following:
r-base
r-base-dev
r-cran-ggplot2
r-cran-cowplot
Thus, for your use case it can be something like:
r-base
r-base-dev
r-cran-httk
Next, you’ll have to run the R code which in the tutorial we’ve run R from the command line directly from the .R
file.
Hope this helps!
Thank you @Charly_Wargnier and @dataprofessor for your reply. I watch a lot of your videos @dataprofessor since I am PhD candidate in computational toxicology! Nice to talk with you…and yes…I put r-cran-httk such as you point out and it doesn’t work (in my local environment I don’t have any problem). Please, have you attempted to deploy a simple app putting in packeges.txt r-cran-httk? the error is: E: Unable to locate package r-cran-httk
Could you help me, please?
Thanks
Pablo
Hi @dataprofessor , my problem persists…and I’ve read in other issue that the problem was solved, but I don’t understand well how they did it: R package (mirt) cannot be installed during deployment
how I can install a package to a writable location in streamlit…Could you provide me your code please?
Thanks!
Pablo
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.