Displaying 20 results from an estimated 31 matches for "exdir".
Did you mean:
egdir
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/") : 'exdir' does not exist
only
unzip(tmp[1],exdir = "inst/...
2012 Oct 24
1
[PATCH] NEW API: add a new api restorecon
...110,68 @@ do_getcon (void)
}
#endif /* !HAVE_LIBSELINUX */
+
+int
+do_restorecon (const char *pathname,
+ const char *excludedir,
+ const char *labelprefix,
+ int recursion,
+ int force)
+{
+ int r;
+ size_t i = 0;
+ char *buf;
+ char *exdir;
+ char *err;
+ const char *argv[MAX_ARGS];
+
+ buf = sysroot_path (pathname);
+ if (!buf) {
+ reply_with_error ("malloc");
+ return -1;
+ }
+
+ ADD_ARG (argv, i, str_restorecon);
+
+ if (optargs_bitmask & GUESTFS_RESTORECON_EXCLUDEDIR_BITMASK) {
+ if (excludedir) {
+...
2010 May 19
2
Error in untar2(tarfile, files, list, exdir) : unsupported entry type ‘x’
Hi R gurus,
I'm getting the following error when trying to build and install an R package:
Error in untar2(tarfile, files, list, exdir) : unsupported entry type ?x?
I build the package like so:
R --no-init-file CMD build mypackage
Then try to install it:
sudo R --no-init-file CMD INSTALL mypackage.tar.gz
...which dies with the above error. I can extract the archive fine
with tar -zxf, so I don't think the file has problems....
2010 Dec 17
2
installing package from source with Linux
...roblem.
I am trying to install a R package from source as it is not yet
available under Cran (Rssa, downloaded here: https://github.com/asl/rssa).
Running
sudo R CMD INSTALL asl-rssa-6f458e4.tar.gz
from the console however gives me these error messages:
Warnung in untar2(tarfile, files, list, exdir) :
checksum error for entry 'pax_global_header'
Fehler in untar2(tarfile, files, list, exdir) : unsupported entry type ?g?
Does anybody have any hints on how to solve this? Do I have the wrong
packing program installed?
I am trying this with Ubuntu 9.10 and the following R system:
&...
2011 Apr 01
1
"R CMD check" accepts but "R CMD INSTALL" rejects a tar ball.
I have somehow managed to made a source tar ball which "R CMD check" accepts but "R CMD INSTALL" rejects with:
------------------
Warning in untar2(tarfile, files, list, exdir) :
checksum error for entry 'pax_global_header'
Error in untar2(tarfile, files, list, exdir) : unsupported entry type ?g?
------------------
This happens with both R 2.12.2 (x86 linux) and R svn (x86_64 linux). Since R CMD check does install as part of the check process, there is probabl...
2011 Sep 01
1
rJava Installation Problems: 'cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory''
...gth 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 'http://w...
2018 May 01
2
possible internal (un)tar bug
...TION"))
tar("pkg_1.0.tar.gz", "pkg", compression = "gzip", tar = "internal")
unlink("pkg", recursive = TRUE)
con <- file("pkg_1.0.tar.gz", open = "rb")
ex <- tempfile()
untar(con, files = "pkg/DESCRIPTION", exdir = ex)
#> Error in untar2(tarfile, files, list, exdir, restore_times) :
#> incomplete block on file
2009 Sep 10
2
Insall package
...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
[[al...
2013 Oct 08
2
problems with package COZIGAM
...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 anyone help...
2010 Jun 02
1
Problems installing data package on Windows
...ode. 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 install.pack...
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?
Thanks...
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:
2011 May 24
1
document
...#39;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.n4.nab...
2013 Dec 21
2
error con install_github() del paquete devtools
...a install_github
Saludos y feliza navidad..
El 20/12/13 23:05, Oscar Perpiñan escribió:
> tmp <- paste0(tempdir(), '/likert.zip')
> download.file('https://github.com/jbryer/likert/archive/master.zip',
> destfile=tmp, method='wget')
> unzip(tmp, exdir=tempdir())
> ## instala versión de CRAN para conseguir todas las dependencias
> install.packages('likert')
> install.packages(paste0(tempdir(), '/likert-master'), repos=NULL,
> method='source')
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
2014 Sep 30
1
R's internal tar ignores files in sub-directories
...e.path(tempdir(), "test-tar")
dir.create(dir)
setwd(dir)
dir.create("foo", showWarnings = FALSE)
file.create("foo/bar.R")
tar("test.tar", files = "foo/bar.R")
dir.create("untarred")
untar("test.tar", exdir = "untarred")
list.files("untarred", recursive = TRUE) # character(0)
As far as I can see, the documentation in `?tar` does not reflect that
R's internal `tar` expects paths to directories, not files themselves.
Although I would have preferred the files being included,...
2012 Sep 13
3
Cannot install package xlsx
...(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 this....
2012 Feb 01
1
Windows 7 installation of .qz package from SourceForge
...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 in read...
2010 Oct 07
1
packaging my function
...s 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 the righ...
2009 Oct 13
1
beta build problem
...me/paul/toolchain/R/R-beta/src/library/Recommended'
begin installing recommended package boot
gzip: invalid option -- 'x'
Try `gzip --help' for more information.
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors Warning in
utils::untar(pkg, exdir = tmpdir) :
'/bin/gzip -dc boot.tgz | /home/paul/Mybin/gtar -xf '-' -C
'/tmp/RtmpIEcemZ/R.INSTALL327b23c6'' returned error code 512
ERROR: error unpacking tarball
make[2]: *** [boot.ts] Error 1
make[2]: Leaving directory
`/home/paul/toolchain/R/R-beta/src/library/Reco...