[06:23:31] [Q] Does anyone know if it is possible to install R packages in PAWS? I tried to do it by using different CRAN mirrors, but all of them showed "cannot open URL" even though I could download from them on my personal computer, I suppose it has something to do with the allowed connections. Here you can see the error: https://public.paws.wmcloud.org/User:Rdrg109/Untitled1.ipynb . I want to [06:23:32] download the R package "leaflet" to show an interactive map and include it as a link in the Wikidata property proposal that I'm writing. [11:35:25] rdrg109: I don't believe you've installed leaflet before trying to run it. When I ran the above I got the same error, though when I ran: [11:35:25] `install.packages("leaflet")` [11:35:25] the leaflet section ran without error [14:41:09] Rook: My bad, I shown the error with the package "gtable", because it is more lightweight than "leaflet", but here's with "leaflet". You can see the same errors: https://public.paws.wmcloud.org/User:Rdrg109/Untitled1.ipynb [14:42:21] Rook: Did you try to run the commands in PAWS? As I said, I can run those commands in my desktop computer (R running locally) and the packages are successfully downloaded, but this doesn't happen PAWS. [14:42:29] doesn't happen in PAWS* [15:12:54] rdrg109: yeah I was running in PAWS, though in the terminal at first. Tried again in a notebook seems to work for me there too: [15:12:54] https://public.paws.wmcloud.org/User:VRook_(WMF)/leaflet.ipynb [15:12:54] Loads the map up for me when I run the notebook. [15:12:54] looks like your problem might be with `repos = 'https://cran.wu.ac.at/'` is there a reason you're not using the default? [15:21:22] Rook: I wasn't using the default, because it was showing errors, so I tried with other mirrors. I tried without "repos = ", but again the same errors: https://public.paws.wmcloud.org/User:Rdrg109/Untitled1.ipynb [15:22:50] Now that you have shared a link, I've realized solving this issue wouldn't help in my ultimate goal, because it seems other people can't see the map when sharing it through the PAWS public link. [15:24:16] Ah yes, I believe that just shares the code and text. And it is some kind of jupyter magic that loads the images. You might be able to get somewhere by sharing your session, but that may not be appropriate to your intended goal. [15:24:30] This being said, sounds like a good feature. I'll open a ticket for it [15:28:32] Actually it would appear that I am wrong, some notebooks do show images: https://public.paws.wmcloud.org/11901271/Lab%201%20-%20Revision%20Histories.ipynb has some images of graphs at least. [15:28:32] tracking in https://phabricator.wikimedia.org/T314223 [15:58:38] Rook: Thanks. I've replied in the ticket [15:59:21] Do anyone know other alternatives for publishing a R leaflet map on the web so that other people can see and interact with it (preferably, not by self-hosting it)? These is what I've thought so far: (1) Toolforge or (2) Github Pages (3) RPubs [16:16:52] rdrg109: I was going to suggest toolforge, though I see you've already thought of that. But that would be my first suggestion. PAWS itself started as a toolforge project, but eventually outgrew that and became a cloud vps project [17:26:42] Rook: Ok! I'll give Toolforge a try [17:27:38] 👍