Displaying 20 results from an estimated 9000 matches similar to: "Re: Unzip gz files in R under Windows"
2005 Apr 07
2
Zipping Rdata Files
Saving Rdata files in a zip archive form can in some cases save a
considerable amount of disk space. R has the zip.file.extract function to
extract files from zip archives, but appears not to have any corresponding
function to save in zipped form. (At least I have not been able to find
anything in the help files or through searching the mail archives.) The
system function can be used to call gzip
2009 Jan 19
1
gz netCDF files
Hello,
I am trying to access several netCDF files that are also zipped (via
gzip I guess) (and stored in a directory that I only have reading
permit)
I tried to unzip them using gzfile, gzcon, etc, and then open them
with open.ncdf (from ncdf package). Everything was unsuccesful.
I had no problem using the ncdf package with "normal" netCDF files
I would really appreciate any
2018 Jul 04
1
unexpected behavior of unzip with list=T and unzip=/usr/bin/unzip
Hello,
I encountered some unexpected behavior of unzip when using info-zip's unzip
instead of R's internal program. Specifically, unzip("file.zip", list=TRUE,
unzip=/usr/bin/unzip) produces incorrect output if the zip archive has
filenames with spaces, and results in an error if the zip archive includes
an archive comment or file comments.
Here is some code to reproduce along
2011 Sep 01
1
rJava Installation Problems: 'cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory''
Good Morning,
I'm trying to install the rJava package on a local (work) machine and having
some trouble. The following occurred in an RGui session.
> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252
LC_NUMERIC=C
[5]
2003 Jun 23
2
Problem with installation under R 1.7.1 and unzip
Dear all,
i was working under R 1.6.2 but i wanted to install bioconductor under WinXP, and because R 1.7.1 contains the TclTk package and automatic installation of bioconductor packages, so i install it.
Everything is fine except this message which appear after the installation of packages.
"> local({a<- CRAN.packages(CRAN=getOption("BIOC"))
+
2009 Sep 10
2
Insall package
Dear Sir
Subject: - *Install " rscproxy_1.3-1.tar.gz "*
I am working in Windows system. I was try to install *rscproxy* package
in two way.
*1.* install.packages ("rscproxy_1.3-1.tar.gz"), It shows the Warning:
unable to access index for repository
http://cran.pt.r-project.org/bin/windows/contrib/2.9
*2. * install.packages("C:/Program
2018 Mar 29
2
Is it good practice to have a package depend on Rtools(for unziping of .7z and.rar files)? Crab legal?
I created this package,
https://github.com/lucasmation/microdadosBrasil
which we are preparing for Cran submission. The package facilitates
downloading and reading most of the microdatasets (household surveys,
Census, etc). For each dataset it:
(a) downloads the data from the data providers
(b) "unzip" the necessary files
(c) imports the data into R.
For (b), some of the datasets
2009 Mar 25
2
no internal function "int.unzip" in R 2.9 on Windows
Dear list,
Using R 2.9, I have the following error on Windows when I try using
.Internal(int.unzip(...)):
> .Internal(int.unzip("test.zip",NULL, "."))
Error in .Internal(int.unzip("test.zip", NULL, ".")) :
no internal function "int.unzip"
The same error also happens with R 2.10 but not on R 2.8. And it does not
happen with R 2.9 on Mac or
2007 Nov 17
1
odf and unzip: unzip not found
hi list members
I am trying to use odfWeave with R 2.5.1 on Windows XP.
however when running e.g.
odfWeave(demoFile, outputFile)
I get:
Error in odfWeave(demoFile, outputFile) : Error unzipping file
In addition: Warning message:
unzip not found in: system(zipCmd[2], invisible = TRUE)
presumably my zip and unzip are not set up correctly but I dont know how to do that. I installed zip and
2016 Oct 07
1
unzip does not like a / at the end of path.
dir("inst/extdata/")
dir("./inst/extdata/")
dir("inst/extdata")
works all fine, listing the directory content.
but:
unzip(tmp[1],exdir = "inst/extdata/")
Error in unzip(tmp[1], exdir = "inst/extdata/") : 'exdir' does not exist
unzip(tmp[1],exdir = "./inst/extdata/")
Error in unzip(tmp[1], exdir = "inst/extdata/") :
2018 Mar 29
0
Is it good practice to have a package depend on Rtools(for unziping of .7z and.rar files)? Crab legal?
r-package-devel is the right mailing list for your query, not here.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Mar 29, 2018 at 6:56 AM, Lucas Ferreira Mation
<lucasmation at gmail.com> wrote:
> I created
2011 Jul 11
2
How unzip all files?
Hi
I'm starting to use R in windows. I need unzip some files. Each of them are
in different folders and subfolders. Names of folders have the same
beginning of the name. [example:( ~ / M_ /P_ (...)/ (...)R(...)/*.zip)] I do
not know the expression (character) necessary to call this direction and to
unzip files are in each subfolder.
Thank you.
--
View this message in context:
2002 Feb 04
1
read zipped files
I received several answer to my querry re reading zipped files,
R.Gentleman, Liaw Andy, BD Ripley,J Holtman, A.Matt, and others,
sorry
if I missed your names.
a- use pipe to run external unzip to a file and read from there
b- use gzfile() to open directly a gzipped file
c- use zip.file.extract()
solution b works like a charm, unfortunately it open gzipped files
and
not zipped files, would it be
2003 Oct 13
1
opening a WinZip file
Hello
I am trying to read a large number of WinZip files from inside R (v 1.7.1,
options()$unzip = internal). I have unsuccessfully tried to unpack the files
and write to an external directory so that I could read the text files using
zip.unpack. Reading some of the archives suggests that this is for .ZIP
format files only.
I have also unsuccessfully tried to use gzfile to open a connection and
2010 Dec 21
1
Bug filed on unzip() function
Hi,
A few days ago I filed a bug report on the unzip() function:
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14462
I haven't gotten any comments yet, so I thought I'd ask for comments
here. I also see on the description of R-devel that the list "also
receives all (filtered, i.e. non-spam!) bug reports from R-bugs", but
I don't see it here.
Eventually I would
2010 Aug 24
1
how to convert a unix R package to windows installable zip file?
Hi,
I downloaded a package with .gz extension, which presumably works for Unix,
when I installed it directly on windows, it has the error msg:
Error in gzfile(file, "r") : cannot open the connection
In addition: Warning messages:
1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
2: In gzfile(file, "r") :
cannot open compressed file
2010 Jun 02
1
Problems installing data package on Windows
Dear all,
I'm having difficulties installing a package on Windows. It has only R
data files, no code. I've built it on a Linux platform and installed it
there without problems. When I tried installing the .tar.gz on Windows,
via install.packages, I got the following errors:
Error in gzfile(file, "r") : unable to open connection
In addition: Warning message:
1: In
2011 May 24
1
document
Hello evryone,
Thank you for helping me to choose a CRAN MIRROR. When Icome to choose a
mirror an error message comes:
>Message d'avis :
In open.connection(con, "r") :
connexion ? 'cran.r-project.org' impossible sur le port 80.
Again, I managed to download th package ttda.zip but an error message during
the installation comes to me:
>Erreur dans gzfile(file,
2012 Aug 28
1
Unzip files from the given path to the destination path
Hi,
Any idea to - Unzip files from a given path and sub-folders to the
destination path ?
- Thanks
Antony.
--
View this message in context: http://r.789695.n4.nabble.com/Unzip-files-from-the-given-path-to-the-destination-path-tp4641549.html
Sent from the R help mailing list archive at Nabble.com.
2003 Jan 28
2
Can't unzip package
I just upgraded to Solaris 8, and downloaded the the following binary
package from www.samba.org <http://www.samba.org> :
samba-2.2.7-sol8-suncc-64bit.pkg.gz
When trying to gunzip it, here is my output:
/home/ccampbell # gunzip samba-2.2.7-sol8-suncc-64bit.pkg.gz
gunzip: samba-2.2.7-sol8-suncc-64bit.pkg.gz: not in gzip format
/home/ccampbell # file samba-2.2.7-sol8-suncc-64bit.pkg.gz