Displaying 20 results from an estimated 26 matches for "zipname".
2009 Mar 19
1
zip.file.extract
...fficult to
understand.
For example, the name of my zip file is "refGene.txt.gz", which is
located in "C:\Documents and Settings\Desktop\test1". I would like to
unzip this file to the same directory.
Here's the syntax from the help file,
zip.file.extract(file, zipname = "R.zip", unzip = getOption("unzip"))
What I should use for the "file" and the "zipname" arguments? I tried
different ways, but none of them is working. Thank you!
Best regards,
Arthur
Arthur Xuejun Li
City of Hope Comprehensive Cancer Cen...
2011 Sep 01
1
rJava Installation Problems: 'cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory''
...' length 654936 bytes (639 Kb)
opened URL
downloaded 338 Kb
Error in gzfile(file, "r") : cannot open the connection
In addition: Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 347116 != reported length 654936
2: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
3: In gzfile(file, "r") :
cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such
file or directory'
> install.packages("rJava",repos="http://www.rforge.net")
trying URL 'h...
2007 Mar 30
1
zip.file.extract on Windows
Hello R-help!
I just wanted to share a tip might help others of us stuck on R.
The documentation for zip.file.extract is rather scant, and a few
examples would.
When using zip.file.extract, the first argument should be the full (or
relative) path and the second the name of the zip file, it seems.
While this is counterintuitive to me, that it should get the part from
the first argument,
2009 Sep 10
2
Insall package
...index for repository
http://cran.pt.r-project.org/bin/windows/contrib/2.9
*2. * install.packages("C:/Program Files/R/rscproxy_1.3-1.tar.gz", repos =
NULL) It also show warning ( 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 'rscproxy_1.3-1.tar.gz/DESCRIPTION', probable
reason 'No such file or directory' )
Could you please suggest, how to solve this problem,
--
Wesley C Mathew...
2013 Oct 08
2
problems with package COZIGAM
...t find it in the list of available packages.
If I try to install it from a local zip file I do get this error message:
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
2: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'COZIGAM_2.0-3.tar.gz/DESCRIPTION', probable reason 'No such file or directory'
>
Could anyo...
2004 Mar 06
1
Installing packages
...b/1.8/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length
16079 bytes
opened URL
downloaded 15Kb
trying URL
`http://cran.r-project.org/bin/windows/contrib/1.8/fdim_1.0-2.zip'
Content type `application/zip' length 71062 bytes
opened URL
downloaded 69Kb
Error in int.unzip(zipname, NULL, dest) : destination
does not exist
--- "Andrew C. Ward" <acward at uqconnect.net.au> wrote:
> You won't have to type anything if you install CRAN
> packages through the menu system (Packages->Install
> package(s) from CRAN..). Failing that, please tell
> u...
2005 May 09
1
Cannot get help after reinstalling
I installed the latest version of R after unistalling the previous
version. Now I am having trouble getting help. For example,
> ?mean
Error in int.unzip(file.path(path, zipname), topic, tmpd) :
'destination' does not exist
What did I do wrong?
(OS is Windows XP Pro)
Thanks.
FS
2006 Aug 17
1
unlink disables help?
...6-06-01)
When I use unlink as below, the help system is disabled:
> ?print
> testPath <- tempdir()
> print(testPath)
[1] "C:\\WINDOWS\\TEMP\\Rtmpo5Wnqb"
> file.exists(testPath)
[1] TRUE
> unlink(testPath, recursive = TRUE)
> ?print
Error in int.unzip(file.path(path, zipname), topic, tmpd) :
'destination' does not exist
I can produce the same error with Version 2.3.0 (2006-04-24) on Windows.
I haven't been able to reproduce this with directories that are created
using other means:
> ?print
> testPath <- "c:\\tmp\\unlinkTest"
&...
2010 Jun 02
1
Problems installing data package on Windows
...les, 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 unzip(zipname, exdir = dest) :
error 1 in extracting from zip file
2: In gzfile(file, "r") :
cannot open compressed file 'pkgname.tar.gz/DESCRIPTION', probable
reason 'No such file or directory'
After searching in the web, I tried installing the Rtools kit. The
problem with insta...
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 'CustomCDF_1.1.0.tar.gz/DESCRIPTION', probable
reason 'No such file or directory'
Does anyone know how to convert the package into a windows installable zip
file?...
2009 Apr 26
1
Install packages not working in latest version?
...install.packages("ff")
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.fhcrc.org/bin/windows/contrib/2.9/ff_2.0.1.zip'
Content type 'application/zip' length 779664 bytes (761 Kb)
opened URL
downloaded 761 Kb
Error in .Internal(int.unzip(zipname, NULL, dest)) :
no internal function "int.unzip"
>
Bruce
2009 May 27
1
no internal function "int.unzip" in R 2.9.0 for Windows
> library(R2HTML)
Loading required package: R2HTML
Error in .Internal(int.unzip(zipname, NULL, dest)) :
no internal function "int.unzip"
Error : .onLoad failed in 'loadNamespace' for 'R2HTML'
Error: package 'R2HTML' could not be loaded
Version: R 2.9.0 for Windows
****Internet Email Confidentiality Footer****
Privileged/Confidential In...
2011 May 24
1
document
...exion ? '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, "r") : impossible d'ouvrir la connexion
De plus : Messages d'avis :
1: In unzip(zipname, exdir = dest) :
erreur 1 lors de l'extraction d'un fichier zip
2: In gzfile(file, "r") :
impossible d'ouvrir le fichier compress? 'ttda/DESCRIPTION', cause
probable : 'No such file or directory'.
thanks.
--
View this message in context: http://r.789695...
2013 Oct 19
1
XML package not working
I know I cannot be the only one who is not able to install the XML package from CRAN (zip or tar file) Many packages depend on this XML package. Can someone help me either access the source for a good binary? I have received no assistance from the author/developer of the package.
Steven
Steven D. Randolph
Associate Consultant
Enterprise Capabilities - Business Intelligence & Analytics
Eli
2012 Sep 13
3
Cannot install package xlsx
...read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 9027584 != reported length 9041607
2: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
3: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'xlsxjars/DESCRIPTION', probable reason 'No
such file or directory'
Has anyone else experienced...
2002 Feb 04
1
read zipped files
...se to add
a
zipfile() function?
solution c. There is a problem here a) the help says it can be
changed
at any moment b) it does not work in some platforms.
Well it does not work in a Win98 machine with R1.4.0 The work
inside
zip.file.extract() is done by:
rc <- .Internal(int.unzip(file.path(path,zipname),topic,tempdir))
it return rc = 0 which I assume means OK
but I can not find the unzipped file anywhere or using rc as file
pointer.
Can somebody tell me how to access the unzipped file, i.e."topic"
How
do I write txt <- readLines(pfile,n=2), what do I put instead of
pfile?
As always t...
2012 Feb 01
1
Windows 7 installation of .qz package from SourceForge
...ere's no .zip extension, but R seems to go to work on the installation with a couple warning messages and one error.
The menu Packages > Load Package ... doesn't provide metrology as one of the choices.
======R session window ========
> utils:::menuInstallLocal()
Warning in unzip(zipname, exdir = dest) :
error 1 in extracting from zip file
Warning in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'metRology_0.9-06.tar.gz/DESCRIPTION', probable reason 'No such file or directory'
Error...
2010 Oct 07
1
packaging my function
...l packages from local zip file'
This is were the problem occured. Namely, when trying to install my package
from local zip file, I get the error message:
> utils:::menuInstallLocal()
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 'pggui_2.1.tar.gz/DESCRIPTION', probable
reason 'No such file or directory'
By checking the file manually, I can confirm that the DESCRIPTION file is in
fact in t...
2003 Jun 23
2
Problem with installation under R 1.7.1 and unzip
...windows/contrib/1.7/PACKAGES'
Content type `text/plain' length 11255 bytes
opened URL
downloaded 10Kb
trying URL `http://www.bioconductor.org/bin/windows/contrib/1.7/Biobase_1.3.22.zip'
Content type `application/zip' length 444272 bytes
opened URL
downloaded 433Kb
Error in int.unzip(zipname, NULL, dest) : destination does not exist"
the function int.unzip doesn't exist in R and i don't know which destination must be specified to unzip packages and install it. In fact i am doing this manually now and it works using "Load package" but i won't do this always...
2005 May 12
0
Batch mode problem: figure margins too large
...R as it will download a table from a US gov site)
download.file("http://www.cftc.gov/files/dea/history/deacot2005.zip",
"c:/deacot2005.zip",
"internal", quiet = FALSE, mode = "wb",cacheOK = TRUE)
unzipped<-zip.file.extract("c:/annual.txt", zipname =
"deacot2005.zip") #Unzip
data <-read.table(unzipped, header=TRUE, sep=',')
#windows(height=11,width=8.5)
z <- layout(matrix(c(1:8), 4,2, byrow = TRUE))
for (i in 1:8) { #loop to fill layout
tbonds<-data[data$'Market.and.Exchange.Names'=="U.S.
TR...