similar to: Is it possible to recursively update a function?

Displaying 20 results from an estimated 3000 matches similar to: "Is it possible to recursively update a function?"

2005 Mar 17
3
how to close trellis.device?
Dear All: I need draw some figure through trellis.device and save them as pdf files. How can I close trellis.device (something like dev.off() in nonlattice figure)? Many thanks Zhongming Yang --------------------------------- [[alternative HTML version deleted]]
2003 Jan 15
2
Exception Handling
R Users: How can I catch R errors and depend on this error call other R functions in Perl? The foolowing is the error message when I use perl call R. Error in nls(modout ~ exp(-b1 * modin)/(b2 + b3 * modin), trace = F, start = c(b1 = 0.005, : singular gradient Segmentation fault Thanks, Zhongming
2005 Jan 13
1
ASTCC dimensioning
hello there, any one who used ASTCC in a real enviroment, or has successfully handled above 1k simultanous calls. need some evalution of ASTCC. if any one has such an experience please share it with the rest thank you Atif
2012 Apr 24
1
returning functions inside lapply
This has been asked before, but I just cannot figure out why lapply should behave this way given that R uses lazy evalution. Even after reading (or at least trying to read) parts of the R language definition. > f <- function(x) {function() {x}} > a <- list(f(1), f(2), f(3)) > a[[1]]() # as expected [1] 1 > a[[2]]() # as expected [1] 2 > a[[3]]() # as expected [1] 3 > b
2015 Feb 25
1
performance issue with large group and dbcheck / dc join
Hi everyone, yesterday I had to debug a failing join on a large domain for a group of primary schools with 1000+ desktop and 10k accounts. The domain run mostly ok except for some replications issues, however joining a new DC just takes eons and so does dbcheck. After some investigation into dbcheck (4.1.17) and some "human powered" valgrind like evalution using pudb, I came to the
2002 Dec 13
2
how to get Residual Standard Error
Hi, I use lm or loess to make smoothing. After smoothing I need "Residual Standard Error" in my script. Could you please tell me how can I get this information? Thanks,
2002 Dec 18
6
Can I build an array of regrssion model?
Hi, I am trying to use piecewise linear regression to approximate a nonlinear function. Actually, I don't know how many linear functions I need, therefore, I want build an array of regression models to automate the approximation job. Could you please give me any clue? Attached is ongoing code: rawData = scan("c:/zyang/mass/data/A01/1.PRN", what=list(numeric(),numeric())); len =
2002 Dec 25
2
Is there string class in R?
Hi, I want to use R handle hundreds data file. So I want use some string class to handle the names of data file. My idea procedure like: for i in 1:20 { filename = "***" + i +".PRN" scan(filename) .... } Do anyone know how to do this? Thanks,
2005 Mar 16
2
how to draw xyplot figure like figure 4.18 of MASS (4th) ?
Dear All: Could you please tell me how I can draw figure formatted like figure 4.18 of MASS (4th) with the attached data set? Thanks Zhongming Yang --------------------------------- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sample.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050316/abfdb85e/sample.txt
2005 Apr 26
2
how to modify and compile R sourse codes
Dear All: I am working on writing some R functions to make statistical reports automatically. Dr. Harrell's Hmisc has all the wonderful stuff. But sometimes I need change some formats, so I want to read through it and make some modifications to fit my project. Ideally, I want proceed as following: 1. change some source of Hmisc 2. compile and install the modified Hmisc 3. debug my
2004 Sep 10
2
Re: Need AMD debugging help
Great call, Jason. The trouble may also be from overclocking their CPU's. We ran into some similar bug reports in the Furthur project with people swearing up and down that random application hangs and glitches was our software (which in part it was). However, as soon as they brought their CPU's and video cards back to spec, their problems magically went away. I would follow this one up
2010 Jul 18
2
loop troubles
Hi all, I appreciate the help this list has given me before. I have a question which has been perplexing me. I have been working on doing a Bayesian calculating inserting studies sequentially after using a non-informative prior to get a meta-analysis type result. I created a function using three iterations of this, my code is below. I insert prior mean and precision (I add precision manually
2008 Mar 04
2
7.0-Release and 3ware 9550SXU w/BBU - horrible write performance
Hi, I've got a new server with a 3ware 9550SXU with the Battery. I am using FreeBSD 7.0-Release (tried both 4BSD and ULE) using AMD64 and the 3ware performance for writes is just plain horrible. Something is obviously wrong but I'm not sure what. I've got a 4 disk RAID 10 array. According to 3dm2 the cache is on. I even tried setting The StorSave preference to
2010 Jun 14
6
ERROR: Failed to build gem native extension (win server 2003/2008 ruby 1.9.1/1.8.7)
I am trying to install mongrel_service gem on Windows (although this problem seems to hold for any non-compiled gem). I have tried this with Windows Server 2003 and 2008. Also with Ruby version 1.8.7 and 1.9.1 (Luis Lavena''s one click installer). Both with the same result. The error message (full text below) mentions that I have to install development tools first. I have installed MinGW
2005 Mar 15
1
question on xyplot
Dear All: In the attached file, I have 3 group patients, and there are 5 in each group (the groups are decided by the prefix of the idno). I want draw a repeat measurement comparison figure. My goal is to list 5 patients from same group on one horizontal line. But xyplot sounds pick them randomly (or I was confused?). Could you please help me modify the following code to accomplish this?
2012 Aug 05
1
Possible bug with MCMCpack metropolis sampler
Hi, I'm having issues with what I believe is a bug in the MCMCpack's MCMCmetrop1R function. I have code that basically looks like this: posterior.sampler <- function(data, prior.mu){ log.posterior <- function(theta) log.likelihood(data, theta) + log.prior(prior.mu, theta) post.samples <- MCMCmetrop1R(log.posterior, theta.init=prior.mu, burnin=100, mcmc=1000, thin=40,
2004 Sep 10
7
Need AMD debugging help
To all who have an AMD + Windows based PC: I have gotten a few similar bug reports about encoding errors with FLAC. The common features are: - Repeatedly encoding the same file with verify will have verify errors some of the time (looks like aroung 50%) and the verify errors will occur in different places each time. - This is happening on AMD PCs running Windows. More reports come from
2005 Mar 17
1
ocfs seek-performance
hi list, i have a little problem with 2-node RAC using OCFS. the application running on this cluster does heavily index-based accesses. the data volumes are SAN volumes connected by fibrechannel. the throughput does not exceed 10mb/s, average is 7-8 mb/s. i've used 'iostat -x' and got rkB/s=8000 while %util=100% (device was saturated) from kernel's POV. i did some
2007 May 31
2
fork terminates thread...event-loop.rb:123
I''m getting the following error on the client: /usr/lib64/site_ruby/1.8/puppet/util.rb:300: warning: fork terminates thread at /usr/lib64/site_ruby/1.8/puppet/external/event-loop/event-loop.rb :123 when using the following code: case $operatingsystem { CentOS: { service { "nrpe": ensure => true, enable => true,
2006 Oct 12
3
Defaults for package type...
Hi I''m wondering if it''s possible to define some defaults for the package type. What I want is that package install/updates only happens at certain times of the day. I could do: class shorewall { package { "shorewall": ensure => latest, schedule => maintenance } } for every package I want to manage. But that means I have to type