I combine Tableau Software and Rstudio Tools. I have a template (Dashboard) where I add another DATA value after processing Rcode.
I want to play a book (.twbx) for this I manually compress (Data + Dashboard.twb) with 7-zip with the extension .twbx
But when I try to do the same with R, the function zipindicates an error
d<- "~/Myriam/Projets/Data/Dashboard_Template"
files <- list.files(d, recursive=TRUE)
zip("myarchive.zip", files=paste(d, files, sep="/"))
Warning message: run the command "zip" -r9X "myarchive.zip" "~ / Myriam / Projets / Data / Dashboard_Template / Dashboard_Template.twb" "~ / Myriam / Projets / Data / Dashboard_Template / Data / Data / Categorie.txt" " ~ / Myriam / Projets / Data / Dashboard_Template / Data / Data / db_histo_fake_table_subset.txt " had status 127
Sys.getenv('R_ZIPCMD')
The code I used
d<- "~/Myriam/Projets/Data/Dashboard_Template"
files <- list.files(d, recursive=TRUE)
zip("myarchive.zip", files=paste(d, files, sep="/"))
Sys.getenv('R_ZIPCMD') ""
Sys.getenv('R_ZIPCMD')
[1] ""
tar(), utils Sys.getenv('tar') ""