I have a .7z file that is not password protected that cannot be read or extracted with archive on an RStudio server, but is extracted without issue on a desktop with 7-zip.
Running archive("FILE.7z"), correctly prints the file contents (a folder with 2 csv files), but running read.csv(archive_read("FILE.7z", file = 2, format = "7zip")) generates "Error in open.connection(file, "rt") : The file content is encrypted, but currently not supported". Running archive_extract("FILE.7z") generates "Error: archive_extract.cpp:21 archive_read_data_block(): The file content is encrypted, but currently not supported".
Unfortunately I cannot share the example as the data must remain on secure servers, but I was wondering if there is a known issue and/or solution for reading and extracting .7z files on a server? Thank you!
I have a .7z file that is not password protected that cannot be read or extracted with archive on an RStudio server, but is extracted without issue on a desktop with 7-zip.
Running
archive("FILE.7z")
, correctly prints the file contents (a folder with 2 csv files), but runningread.csv(archive_read("FILE.7z", file = 2, format = "7zip"))
generates "Error in open.connection(file, "rt") : The file content is encrypted, but currently not supported". Runningarchive_extract("FILE.7z")
generates "Error: archive_extract.cpp:21 archive_read_data_block(): The file content is encrypted, but currently not supported".Unfortunately I cannot share the example as the data must remain on secure servers, but I was wondering if there is a known issue and/or solution for reading and extracting .7z files on a server? Thank you!