search for: tmpd

Displaying 20 results from an estimated 73 matches for "tmpd".

Did you mean: tmp
2023 Mar 21
2
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
...s/functions.sh -set -e +set -ex # Determine the absolute pathname of the execvpe helper binary. The "realpath" # utility is not in POSIX, but Linux, FreeBSD and OpenBSD all have it. @@ -155,7 +155,7 @@ success() # Create a temporary directory and change the working directory to it. tmpd=$(mktemp -d) -cleanup_fn rm -r -- "$tmpd" +#cleanup_fn rm -r -- "$tmpd" cd "$tmpd" # If the "file" parameter of execvpe() is an empty string, then we must fail -- $ podman build -f ci/containers/alpine-edge.Dockerfile -t libnbd-alpine-edge $ podman run -i...
2005 Oct 14
3
zip package
...s): >install.packages("c:/ProgramFiles/R/rw2011/library/lpSolve_1.1.9",destdir=" c:/ProgramFiles/R/rw2011/library/lpSolve") Mensagem de aviso: no package 'c:/Program Files/R/rw2011/library/lpSolve_1.1.9' at the repositories in: download.packages(pkgs, destdir = tmpd, available = available, >install.packages("lpSolve_1.1.9",destdir="c:/ProgramFiles/R/rw2011/library/ lpSolve") Erro em download.packages(pkgs, destdir = tmpd, available = available, : 'destdir' is not a directory >install.packages("lpSolve_1...
2023 Mar 20
1
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
...t -e > > + > > +# Determine the absolute pathname of the execvpe helper binary. The "realpath" > > @@ lib/test-fork-safe-execvpe.sh (new) > > + > > +# Create a temporary directory and change the working directory to it. > > +tmpd=$(mktemp -d) > > -+trap 'rm -r -- "$tmpd"' EXIT > > ++cleanup_fn rm -r -- "$tmpd" "$tmpd" probably starts with /, such that the -- is not strictly necessary; but keep it (good practice, and saves us in case someone sets $TMPDIR to an unusua...
2008 Oct 30
2
Small modification of zip.file.extract in utils?
...to extract a zip-archive, and found zip.file.extract in utils. My only problem was the use of tempdir(), since I wanted to permanently extract the archive at a fixed location for later use. My own fix was simple, adding an extra parameter zipdir (without default), and within the function change tmpd <- tempdir() to tmpd = ifelse(missing(zipdir),tempdir(),zipdir) This modification could maybe be useful also for other users, unless there are some problems I am not aware of? Cheers, Jon
2015 Jan 23
0
issue with update.packages()
...cannot open URL 'http://bioconductor.org/packages/3.1/bioc/src/contrib/IRanges_2.1.35.tgz' In addition: Warning message: In download.file(url, destfile, method, mode = "wb", ...) : cannot open: HTTP status was '404 Not Found' Warning in download.packages(pkgs, destdir = tmpd, available = available, : download of package ?IRanges? failed trying URL 'http://bioconductor.org/packages/3.1/bioc/src/contrib/BiocGenerics_0.13.4.tgz' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL 'http://bioconductor.org/packages/3...
2011 Jun 21
5
please help for mgcv package
i read a book from WOOD, there's an example which is talking about the pollutant. library(gamair) library(mgcv) y<-gam(death~s(time,bs="cr",k=200)+s(pm10median,bs="cr")+s(so2median,bs="cr")+s(o3median,bs="cr")+s(tmpd,bs="cr"),data=chicago,family=Possion) lag.sum<-function(a,10,11) {n<-length(a) b<-rep(0,n-11) for(i in 0:(11-10)) b<-b+a[(i+1):(n-11+i)] b} death<-chicago$death[4:5114] time<-chicago$time[4:5114] o3<-lag.sum(chicago$o3median,0,3) tmp<-lag.sum(chicago$tmpd,0,3) p...
2023 Mar 22
1
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
...e absolute pathname of the execvpe helper binary. The "realpath" > > # utility is not in POSIX, but Linux, FreeBSD and OpenBSD all have it. > > @@ -155,7 +155,7 @@ success() > > > > # Create a temporary directory and change the working directory to it. > > tmpd=$(mktemp -d) > > -cleanup_fn rm -r -- "$tmpd" > > +#cleanup_fn rm -r -- "$tmpd" > > cd "$tmpd" > > > > # If the "file" parameter of execvpe() is an empty string, then we must fail -- > > > > $ podman build -f ci/con...
2023 Mar 21
2
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
...> > # Determine the absolute pathname of the execvpe helper binary. The "realpath" > # utility is not in POSIX, but Linux, FreeBSD and OpenBSD all have it. > @@ -155,7 +155,7 @@ success() > > # Create a temporary directory and change the working directory to it. > tmpd=$(mktemp -d) > -cleanup_fn rm -r -- "$tmpd" > +#cleanup_fn rm -r -- "$tmpd" > cd "$tmpd" > > # If the "file" parameter of execvpe() is an empty string, then we must fail -- > > $ podman build -f ci/containers/alpine-edge.Dockerfile -t l...
2004 Dec 31
4
install.packages() for local source file
...- file.path(path.expand("~"), "cvknn", file.pkg) > file.exists(path.pkg) [1] TRUE > uri.pkg <- paste("file://", path.pkg, sep = "") > install.packages(contriburl = uri.pkg, lib = Sys.getenv("R_LIBS")) Error in file.info(x) : Object "tmpd" not found > traceback() 4: file.info(x) 3: dirTest(destdir) 2: download.packages(pkgs, destdir = tmpd, available = available, contriburl = contriburl, method = method) 1: install.packages(contriburl = uri.pkg, lib = Sys.getenv("R_LIBS")) > version _ platform sp...
2003 Sep 19
2
extracting the levels of a subset of data
Hi, > tmpdata<-subset(myd, TYPE=="A") > levels(tmpdata$TYPE) > [1] "A" "B" "C" I'd like to get only "A" as output... Thanks for your help Marc
2006 Mar 09
1
lsa and Rstem?
...2.0.0? In addition: Warning message: cannot create HTML package index in: make.packages.html() > install.packages('Rstem') Warning in install.packages("Rstem") : argument 'lib' is missing: using /Users/mk/Library/R/library Warning in download.packages(pkgs, destdir = tmpd, available = available, : no package 'Rstem' at the repositories Since Rstem is on http://www.omegahat.org/, I then followed the advice at http://www.omegahat.org/cranRepository.html: > options(CRAN = c(getOption("CRAN"), "http://www.omegahat.org/R")) > i...
2023 Mar 22
1
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
...name of the execvpe helper binary. The "realpath" >>> # utility is not in POSIX, but Linux, FreeBSD and OpenBSD all have it. >>> @@ -155,7 +155,7 @@ success() >>> >>> # Create a temporary directory and change the working directory to it. >>> tmpd=$(mktemp -d) >>> -cleanup_fn rm -r -- "$tmpd" >>> +#cleanup_fn rm -r -- "$tmpd" >>> cd "$tmpd" >>> >>> # If the "file" parameter of execvpe() is an empty string, then we must fail -- >>> >>> $ p...
2008 Sep 04
1
Error with update.packages()
...nload.file(url, destfile, method, mode = "wb", ...) : downloaded length 312279 != reported length 365965 2: In download.file(url, destfile, method, mode = "wb", ...) : unable to connect to 'mirrors.ibiblio.org' on port 80. Warning in download.packages(p0, destdir = tmpd, available = available, : download of package 'spam' failed trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/bin/macosx/universal/contrib/2.7/Amelia_1.1-33.tgz' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL 'http://ww...
2001 Mar 01
1
docs + packages (PR#858)
...loaded files (y/N)? y Warning messages: 1: argument `lib` is missing: using C:/STAT/R/RW1021/library in: install.packages(c("sm", "sn", "integrate", "survival5", "nlme")) 2: No package "sn" on CRAN. in: download.packages(pkgs, destdir = tmpd, available = available, 3: No package "integrate" on CRAN. in: download.packages(pkgs, destdir = tmpd, available = available, > install.packages("integrate") Warning messages: 1: argument `lib` is missing: using C:/STAT/R/RW1021/library in: install.packages("integ...
2005 Jul 11
3
misc3d package
...I get the following output... trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 27996 bytes opened URL downloaded 27Kb Warning message: No package "misc3d" on CRAN. in: download.packages(pkgs, destdir = tmpd, available = available, Any help would be much appreciated. Regards, Mark This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications w...
2005 Nov 11
3
no package 'Matrix' at the repositories
Yesterday, I installed R2.2.0 for Windows [Version 2.2.0 (2005-10-06 r35749)]. Unfortunately, 'install.packages("Matrix")' produced the following message: Warning in download.packages(pkgs, destdir = tmpd, available = available, : no package 'Matrix' at the repositories I installed lme4, maps, mapproj, CircStats, scatterplot3d, gregmisc, Hmisc without problems. To confirm, 'library(lme4)' produced the following error: Error: package 'Matrix' required by ...
2006 Dec 13
2
install.packages
I try to type this in my R-winEdt. but I got these. Do you know? Aimin > install.packages('http://rh-mirror.linux.iastate.edu/CRAN/bin/windows/contrib/2.4/plotrix_2.1-6.zip') Warning in download.packages(pkgs, destdir = tmpd, available = available, : no package 'http://rh-mirror.linux.iastate.edu/CRAN/bin/windows/contrib/2.4/plotrix_2.1-6.zip' at the repositories
2008 Sep 22
0
[LLVMdev] Overzealous PromoteCastOfAllocation
On Sep 13, 2008, at 1:07 PM, Matthijs Kooijman wrote: > Hi Dan, > >> Changing PromoteCastOfAllocation to not replace aggregate allocas >> with >> non-aggregate allocas if they have GEP users sounds reasonable to me. > This sounds reasonable indeed, but still a bit arbitrary. Haven't > figured out > anything better yet, though. > >> Finding the
2006 Dec 01
2
package installation fails only for "sp"
...or Windows (mostly) and have started using R (v 2.3.1 on i686 redhat). Installing packages has been routine except for "sp" (classes and methods for spatial data). I get the following error message > install.packages("sp") Warning in download.packages(unique(pkgs),destdir=tmpd,available=available,: no package 'sp' at the repositories Clearly I am missing something (probably obvious), but can someone enlighten me as to why the behavior of this package installation is different from others? sp is listed under "Contributed packages" at th...
2004 Oct 22
2
install.packages question / suggestion
...eat { if(any(miss <- ! p1 %in% row.names(available))) { cat("dependencies ", paste(sQuote(p1[miss]), sep=", "), @@ -54,6 +54,8 @@ } } + pkgs <- pkgs[ ! pkgs %in% have ] + foundpkgs <- download.packages(pkgs, destdir = tmpd, available = available, contriburl = contriburl, method = method) Best Regards, Thomas Stabla -------------- next part -------------- --- install.packages.R 2004-10-02 19:07:34.000000000 +0200 +++ install.packages.modified.R 2004-10-22 18:22:01.275986160 +020...