zip xlsx's and download from shiny

2024.11.29 16:30 Kuhl_Cow zip xlsx's and download from shiny

Hi all,
I'm trying to build an app that lets me upload multiple xlsx files to a shiny app, does something with them, and then zips and downloads them. My problem is that my code succesfully zips the xlsx files, but the files in the zip seem to be empty/corrupted (1KB size). Weirdly enough, it works if I use write_csv() instead, and the created xlsx files in the temp folder are perfect too.
Can anyone help me out here? Many thanks in advance.

output$downrate <- downloadHandler( filename = function() {"down.zip"}, content = function(file) { # definition of content to download namefile <- as.list(input$files$name) namefile <- lapply(namefile, function(x) tools::file_path_sans_ext(x)) to_dl <- list( dataname = namefile, data = results_RAC() ) # temp dir for the csv's twd <- setwd(tempdir()) on.exit(setwd(twd)) files <- NULL # loop on data to download and write individual xlsx's for (i in 1:length(to_dl[[1]])) { fileName <- paste0(to_dl[[1]][i], ".xlsx") # xlsx file name fileCont <- as.data.frame(to_dl[[2]][i]) write.xlsx(fileCont, fileName) # write xlsx in temp dir files <- c(files, fileName) # store written file name } # create archive from written files archive_write_files(file, files) } ) 
submitted by Kuhl_Cow to rstats [link] [comments]


2024.11.29 16:30 heyheyhohey Holiday gifts for Backcountry Skiers?

Any gift ideas for the backcountry skier who seems to have it all? Something around $30-$60? Or would gels and buffs be a solid way to go?
submitted by heyheyhohey to Backcountry [link] [comments]


2024.11.29 16:30 SouthernLocksmith740 Peptides and hormone purity lab test

Hi guys, I want to know the percentage of purity of some peptides powders that I would eventually buy on the internet, I live in Italy what's your suggestions? Thanks🙏
submitted by SouthernLocksmith740 to chemistry [link] [comments]


2024.11.29 16:30 DirtyBlondLion The anniversary pushed me passed the 1K mark and maxed 5* Shino.

The anniversary pushed me passed the 1K mark and maxed 5* Shino. When we get a new Shino variant, and I will continue to remain optimistic that he will, I will (hopefully) get his SA to 100 on release and make a video of it. I also finally got his 5* to 100 earlier while pulling for Mononobe.
submitted by DirtyBlondLion to TokyoAfterschool [link] [comments]


2024.11.29 16:30 newswall-org Notre Dame Reopens Amid Ongoing Restoration Efforts

Notre Dame Reopens Amid Ongoing Restoration Efforts submitted by newswall-org to newswall [link] [comments]


2024.11.29 16:30 CloudyBlue3864 There isn't a single fucking time I see this character and DON'T feel like snapping my controller in half.

So, sorry Link, I can't give props (for the ONCE IN A 1000 BLUE FUCKING MOONS moment where you actually pull off something cool), come back when you're a little, MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM, hyper (codename for not being the worst thing I've ever had the displeasure to fight in this game)!
submitted by CloudyBlue3864 to SmashRage [link] [comments]


2024.11.29 16:30 whattheheeol A guy called me angry bird 🤕

My FRIEND called two guys in our school gay out loud in front of them but they thought I said it???? So the guy look at me super mad and said
"Yeah you fucking big teeth bitch, angry bird looking"
I do not have thick eyebrows like the angry bird...but i do have big front teeth and the teeth part make me think a bit 😤
I was so speechless i couldnt even defende myself, cause like first what did i do and second damn??
submitted by whattheheeol to teenagers [link] [comments]


2024.11.29 16:30 Sweaty_Big_2571 What is the best collab weapons?

What is the best collab weapons? submitted by Sweaty_Big_2571 to sypherpk [link] [comments]


2024.11.29 16:30 cupofteacomfypillows Thoughts on this crib? [ON]

https://www.walmart.ca/en/ip/delta-children-tucker-4-in-1-convertible-crib-white/6000202025650?offerId=6000202025650&storeCode=3114
Thinking about getting this crib. I don't intend to convert it into any other type of bed. I'm hoping to go from crib to toddler floor bed and then use a regular frame later on. I just need something simple for a crib. Anyone have any opinions on this? It looks nice and I like the 3 height adjustments. Also, it's SO much cheaper on the Walmart website than anywhere else, so that's kinda odd. Also, this community is awesome for a clueless first time mom so thank you!
submitted by cupofteacomfypillows to BabyBumpsCanada [link] [comments]


2024.11.29 16:30 Electronic-Craft501 Arturia vocoder v standalone voice input help.

I'm having a problem trying to use vocoder 5 standalone on my Mac. I've tried everything that I've read in the manual and several others things I've read. I have no problem using it with logic in a project but I would like to be able to use this as a standalone without using my daw. All I see is the message about the input not being routed yet. Really frustrating. Any help would be greatly appreciated. Thank you in advance.
submitted by Electronic-Craft501 to synthesizers [link] [comments]


2024.11.29 16:30 HallLast3549 Minecraft - Survival Mode Part 9 - Discovering a Village

Minecraft - Survival Mode Part 9 - Discovering a Village submitted by HallLast3549 to PromoteGamingVideos [link] [comments]


2024.11.29 16:30 teeksquad Support groups?

Anybody in a support group or have resources on them? I was looking at the colitis and chrones foundation and they don’t have anything really going on in my state from what I can see.
I am feeling like talking to someone who understands what I am going through would be beneficial. Especially during the holidays with the stress and not feeling like anybody around me remotely understands what I’m going through
Bonus points for anyone who knows something in the Chicago/ northwest indiana area. I see Uchicago has a group but it looks to be only for their patients. Still reaching out to see though
submitted by teeksquad to UlcerativeColitis [link] [comments]


2024.11.29 16:30 gdstout27 Women’s tank recommendations for best bracelet.

Women’s tank recommendations for best bracelet. Hello! Looking for a recommendation for a women’s tank style watch around $200-400. Quartz is fine, and looking for a two toned design, but most concerned with the quality of the bracelet. Are there any companies making solid bracelets for women’s watches at this price point? I’ve seen a few Seikos that fit the bill below $200, but I have a few Seikos at that level and the bracelets do not feel great.
Any recommendations? Thanks in advance.
submitted by gdstout27 to Watches [link] [comments]


2024.11.29 16:30 Own-Ad-4157 398610213917

 398610213917 submitted by Own-Ad-4157 to PokemonGoRaids [link] [comments]


2024.11.29 16:30 orthodoxdruid Hunter Gatherer vs Farmer

Hunter Gatherer vs Farmer submitted by orthodoxdruid to illustrativeDNA [link] [comments]


2024.11.29 16:30 hat_like_dad If you’re going after a deal… this is my main target… Biossance Copper Peptide Serum

Amazing gift today… and they aren’t flagging multiple purchases this year to get more than one of the gift.
submitted by hat_like_dad to 30PlusSkinCare [link] [comments]


2024.11.29 16:30 RashGambit Stomp to power amp - cab speakers cutting out?

Got a bit of a weird one here.
So chain is guitar directly to stomp, L/R outputs into a Harley Benton Thunder 99 stereo power amp into a 2x12 v30 Harley Benton cab via stereo L/R from the power amp. Stereo switch is turned on at the cab too.
As soon as I turn either the power amp or the stomp volume past a certain way, all volume cuts to the speaker. I imagine this is what happens if your amp doesn't have enough power to drive the speakers? Note: I have also tried using the headphone out into the line in on the power amp, same result.
To troubleshoot, I swapped over to my GX-100 and tried both the same configs as on the stomp. Got the volume up to uncomfortable levels and no cutting out.
What gives? Are we saying that the stomp has more of a power requirement for the speakers than the Boss unit?
submitted by RashGambit to Line6Helix [link] [comments]


2024.11.29 16:30 JamesWinter83 Lembra daquele filme onde uma pessoa insatisfeita com sua aparência consome uma substância milagrosa que a transforma físicamente, mas acaba gerando consequências inesperadas e perturbadoras?

submitted by JamesWinter83 to jovemnerd [link] [comments]


2024.11.29 16:30 Background-Cup3276 176lbs - 174lbs (1 year) can you see reasonable results?

176lbs - 174lbs (1 year) can you see reasonable results? submitted by Background-Cup3276 to GregDoucette [link] [comments]


2024.11.29 16:30 Financial_Web2065 I moved to Canada 3 years ago and still working on my permanent residency, could you see my future on this chart?

I moved to Canada 3 years ago and still working on my permanent residency, could you see my future on this chart? submitted by Financial_Web2065 to astrologyreadings [link] [comments]


2024.11.29 16:30 Human-Tradition7905 Does anyone know how to fix messages like this?

Does anyone know how to fix messages like this? i don’t know if this bothers anyone but it’s kinda uncomfortable. Anyone know how to get happier reminders? (in case anyone asks my partner is fine and is also annoyed with this)
submitted by Human-Tradition7905 to SumoneApp [link] [comments]


2024.11.29 16:30 Puzzled-Librarian-52 Why does it say I don’t have the strongest rem

When I go to crafting it says I don't got strongest rem when I do
submitted by Puzzled-Librarian-52 to AUniversalTime [link] [comments]


2024.11.29 16:30 Andyhandy23 GameStop battle to finish over $30

GameStop battle to finish over $30 Wow. Look at how desperate they are to have this finish under $30. They have borrowed more shares today than I have seen in a while to ensure the $29.99 and under finish. Why is the cost to borrow still so cheap? Oh well I guess we are getting a Black Friday sale on our beloved GameStop stock.
submitted by Andyhandy23 to GME [link] [comments]


2024.11.29 16:30 Bromeo608 I’m so brainrotted I thought this was posted by Greg House

submitted by Bromeo608 to okbuddyvicodin [link] [comments]


2024.11.29 16:30 Bulky_Cookie9452 Bro TF is going on with GPT these days

I don't get it how it just doesn't get a basic thing to do. GPT-3.5 could do it nicely. 4 was irritating. 4o just pushes me to straight-up rage and racism to get it to do anything. GPT response quality has fallen off. Anything is better these days
submitted by Bulky_Cookie9452 to ChatGPT [link] [comments]


https://yandex.ru/