similar to: 'pausing' in R

Displaying 20 results from an estimated 1100 matches similar to: "'pausing' in R"

2000 Jun 22
1
Summary: 'pausing' in R (fwd)
The question was: > I have this 'odd' problem; I need to let R pause, for a given time, before > starting next iteration in a loop. I'm using the following to do this > task, but feel a little bit guilty because I'm using as much CPU time as I > can get while pausing: > > while(keepGoing) { > t.end <- proc.time()[3] + 5 ## the time this loop should end
2002 Nov 27
1
problem with attr()
I got this wired behaviour of the attr() function using R-1.6.1 on both linux redhat 7.3 (i386) and Solaris 8 (Sparc): > tmp <- list(id=1) > > attr(tmp,"n.ch") <- 2 > attr(tmp,"n") <- 1 > tmp $id [1] 1 attr(,"n.ch") [1] 2 attr(,"n") [1] 1 > > attributes(tmp) $names [1] "id" $n.ch [1] 2 $n [1] 1 >
2001 Nov 26
2
R not giving memory back to system?
This might be because I didn't get it right, but; I thought R would release memory back to the system as (big) objects get removed? Here is my platform (with 1Gb of RAM): platform sparc-sun-solaris2.8 arch sparc os solaris2.8 system sparc, solaris2.8 status major 1 minor 3.1 year 2001 month 08 day 31 language R A little example: Start a new section of R, with
2001 Dec 20
1
optimizing R-1.4.0 build on Solaris; a show-and-tell storry
This is a little success story about the benefits of changing the defaults in config.site when I was building R-1.4.0 for Solaris (on a Sun Sparc that I'm currently using). For previous versions of R, I had just used the default config.site and not given it any thought. Since the Sun machine that I'm using is not getting any faster, I decided I would give config.site a look when building
2002 Sep 18
1
problem with make fullcheck on Sparc Solaris 8
I have been trying out R-1.6.0 tarballs (2002-9-10 and 2002-9-17) on: arch sparc os solaris2.8 system sparc, solaris2.8 status beta major 1 minor 6.0 year 2002 month 09 day 17 language R As you see form above, R-1.6.0 compiles fine and works. However, when I "make fullcheck" I get the following error: running code in 'tools-Ex.R' ... OK
2004 Apr 14
2
attaching data.frame/list within a function
I'm trying to find a good way of attaching a list within a function such that the attached variables (the list's members) precede the global environment (.GlobalEnv) in the search list. Here is a non-working example using attach(), which hopefully explains better what I'm trying to do: > foo <- function(x=0, input=list(a=10)) { + attach(input) + on.exit(detach(input)) +
2002 Sep 20
0
problem with make on sparc solaris 8 ( R-1.6.0beta_2002-09-18.tar.gz)
This is something that I have not seen in earlier beta versions of 1.6.0: . . . ts.plot text html latex example ts.union text html latex example tsSmooth text html latex tsdiag text html latex example R_LIBS= ../../../bin/R CMD INSTALL ERROR: no packages
2003 Aug 24
1
regression constraints (again)
Im trying to do regressions with constraints that the weights are all >=0 and sum(weights) = 1. I've read the archive and have set the problem up with solve.QP and just the non-negativity constraints along the lines of: y as the data vector X as the design matrix D <- t(X) %*% X d <- t(t(y) %*% X) A <- diag(ncol(X)) b <- rep(0,ncol(X)) fit <-
2007 Apr 24
1
Matrix: how to re-use the symbolic Cholesky factorization?
I have been playing around with sparse matrices in the Matrix package, in particularly with the Cholesky factorization of matrices of class dsCMatrix. And BTW, what a fantastic package. My problem is that I have to carry out repeated Cholesky factorization of a spares symmetric matrices, say Q_1, Q_2, ...,Q_n, where the Q's have the same non-zero pattern. I know in this case one does
2001 Nov 20
0
Summary: non-negative least squares
Thank you Brian Ripley, Gardar Johannesson, and Marcel Wolbers for your prompt and friendly help! I will share any further learnings as I move through these suggestions. -Bob Abugov Brian Ripley wrote: I just use optim() on the sum of squares with non-negativity constraints. That did not exist in 1999. Gardar Johannesson wrote: You can always just use the quadratic programing library in R
2005 Jan 04
2
x11 is not available
Dear list, I have problems installing R-2.0.1 on SUSE Linux 9.2. I used the following commands in order install R in /usr/local ./configure --with x11 --with-readline make make install When starting R and trying to display a plot on the X-window system output is written to a postscript file. When I try to run x11 with >x11() Error in X11(): X11 is not available. I do have a running
2003 Oct 16
1
Improving efficiency in "outer"-like calculation
Hello, I am doing mcmc=10000 simulations from a posterior distribution of the parameters of a mixture of K=6 normal densities. I have mcmc by K matrices simMeans, simVars and simWeights containing the simulation output: one row for each simulation, one column for each normal component of the mixture. One thing I would like to do is a plot of the posterior predictive density. In order to do that
2003 Mar 16
4
xgobi?
Hi all, As far as I understood from the documentation of xgobi. The package is intended to plot data in 3D (and more). Why if I enter example(xgobi) nothing displays even though the example calls also the xgobi command (yes I did load the library)? Do I need to install anything else for xgobi to work? I use R 1.6.1. on Windows 2000 platform or R 1.5.1 with RedHat 7.3 (none works). Miha
1999 Oct 07
1
Xgobi
I have been trying to get Xgobi to work with the function xgobi( ), but I keep on getting the message ""Xgobi requires a filename or some data from stdin" in the DOS-shell. My Xgobi.bat file is : @echo off PATH=c:\windows\ set DISPLAY=195.23.18.11:0.0 set XGOBIDIR=c:/Xgobi3 c:\Xgobi3\xgobi.exe In R I get: > xgobi(D1) C:\RW0642/library/xgobi/scripts/xgobi.bat -vtitle
2001 Aug 15
1
Help with XGobi.
Hi, I followed the following sequence of commands after installing 'XGobi': >library(xgobi); >data(ToothGrowth); >xgobi(ToothGrowth); I got the following warning message: C:/R13 1.0/rw1030/library/xgobi/scripts/xgobi.bat -vtitle 'ToothGrowth' -std mmx C:/DOCUME~1/h1452992/LOCALS 1/Temp/xgobi-TthGr5705 Warning message: argument `pkg' is deprecated. Use
2002 Jul 24
2
No subject
Hi, I am trying to use xgobi with R on a windows XP machine. I downloaded the package, which seems to have worked and started on the tutorial supplied. The command data(laser) works fine but the command xgobi(laser) returns C:/PROGRA~1/R/rw1051/library/xgobi/scripts/xgobi.bat -vtitle 'laser' -std mmx C:/DOCUME~1/Adam/LOCALS~1/Temp/xgobi-laser19169 > with nothing
2000 Apr 11
2
xgobi interface
i just installed the xgobi interrface, and this is what i get when i try to run the example things don't work > xgobi(laser) xgobi -title 'laser' -std mmx -dev 2 /tmp/unixR3e07S15fb & > Neither the file 2 nor 2.dat exists what am i doing wrong? p.s.: xgobi is installed and works -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2002 Apr 12
1
xgobi
Hi, Just started with exploring R. Nice ! (for many years using Splus). I tried to install and activate the package xgobi. - first download of xgobi.zip - then the R-command to install: install.packages('N:\\d024\\xgobi.zip',CRAN=NULL) - finally the command to attach the library: library(xgobi) Up to now, everything seemed to work. Also the help. No warnings that the
2007 Jan 26
1
Question about the xgobi package
Hi, When I tried an example of the xgobi function, I got the following error. Could someone explain to me what is wrong ? Thanks a lot. xgobi(crabs,colors=c("SkyBlue","SlateBlue","Orange","Red")[rep(1:4,each=50)]) c:/PROGRA~1/R/R-23~1.1/library/xgobi/scripts/xgobi.bat -vtitle 'crabs' -std mmx
2002 Jan 04
1
RH and packages
Dear colleagues, I just upgraded to 1.4.0 version from RH RPM on a RH72 linux i686 machine. Maybe I am the only one, but when I tried then to install 2 packages (namely pspline and xgobi), weird things happened. First on call of library(xgobi) or library(help=xgobi), all looks good, but on call of ?xgobi, or data(PaulKAI), or when trying to look at html help, the package seems empty. More