similar to: Second & subsequent calls to function fails. Please help debug.

Displaying 20 results from an estimated 400 matches similar to: "Second & subsequent calls to function fails. Please help debug."

2005 Oct 19
2
Automatic rounding of values after factors , converted to numeric, are multipled by a real number
I am wondering if someone would have any suggestion about my issue? I have the following code: wgts<-aggregate(subset(lendata,select=c(Length)),list(lendata$Cruise,len data$Station,lendata$Region,lendata$Total),mean) wgts<-wgts[order(wgts$Group.3,wgts$Group.1,wgts$Group.1),] names(wgts)<-c("Cruise","Station","Region","Total","MLen")
2009 Aug 02
3
two-factor linear models with missing cells
I am wondering how to interpret the parameter estimates that lm() reports in this sort of situation: y = round(rnorm(n=24,mean=5,sd=2),2) A = gl(3,2,24,labels=c("one","two","three")) B = gl(4,6,24,labels=c("i","ii","iii","iv")) # Make both observations for A=1, B=4 missing y[19] = NA y[20] = NA data.frame(y,A,B) nonadd = lm(y ~
2006 Jan 02
2
update?
I'm having problems with environments and update() that I expect have a simple explanation. To illustrate, suppose I wanted to make a very primitive Tukey one-degree-of- freedom for nonadditivity test and naively wrote: nonadd <- function(formula){ f <- lm(formula) v <- f$fitted.values^2 g <- update(f, . ~ . + v) anova(f,g) } x <-
2005 Sep 21
2
Help on optim
Dear R-help, I am new to optim function and need some help with optimization. Problem description: I am trying to optimize a weights vector such that it produce maximum value for a function maxVal. The optimization is subjected to constraint. The constraints are a) Min weight should be greater than or equal to Zero. b) Max weight should be less than or equal to 1 c) Sum of the
2006 Dec 18
1
Upload Progress (mup.js) typo
I was using the sample_app and found out that the progress bar wasn''t changing color. It was updating the percentage but wasn''t updating the width of the status bar style... I found that the mup.js was missing and appended "px" So here it is: my first ever Merb patch! http://pastie.caboo.se/28450 cheers, -rjs- (the_mug) Blog: http://www.rosamour.com --------------
2006 Apr 19
1
Trouble with glm() .... non-integer #successes in a binomial glm
Hi R-people: When I use the command to fit a model with an intercept, only: glm ( formula=haspdata ~ 1, data=dat, family=binomial, weights= dat$hy.wgt.s, subset=(dat$haspdat0!=3) ) I get the message: Warning message: non-integer #successes in a binomial glm! in: eval(expr, envir, enclos) Does anyone know what this means?? The data for this command is listed below. Thanks, Phil Smith CDC
2007 Jan 19
5
Merb Init Script
I''m trying to emulate the mongrel_cluster_ctl but it takes a -c conf_file option... meaning I can run it from anywhere as long as I tell it where the conf file is. Merb doesn''t have that capability does it? (it has an additional/supplemental config like mup.conf etc) Do I have to be under the merb_app root /path/to/merb/app/ to be able to run merb? Let me know. Thanks,
2007 May 14
7
Help a newb with 0.3.1
Hi, first off thanks Ezra for Merb - it''s certainly interesting and I''m keen to have a play. However, I''m having difficulties in getting started. I''ve followed the docs for setting up mrblog and everything seems to be installed correctly, and merb appears to start fine: $ merb you must install the markaby gem to use .mab templates you must install the
2006 Apr 20
1
Unmodified 2003/2000/FC5 on XEN 3.0.2
I can see that Windows Loads in VM and when I run in safe mode it reaches until loading multi(0)\disk(0)\rdisk(0)\partition(1)\Windows\system32\drivers\Mup.sys After this it hangs.Attached is the qemulog. Note : These VM''s are running out of a complete disk (/dev/sdb), which has working installation of Windows on it! I am running FC5 along with Xen 3.0.2 (tried unstable too) on
2008 Sep 15
2
Perhaps slightly OT - Lots of spurious webdav requests.
Hello All, I am running a CentOS 4.6 file server for a small office network and I am getting a lot of strange webdav requests from one of the Windows workstations - I have not configured Webdav on the Windows host (hereafter "windows-laptop") in question. Some details - I have configured a Samba share called (say) "share1" on the CentOS server and the windows-laptop connects
2008 Dec 19
2
How do I generate one vector for every row of a data frame?
I am trying to generate a set of data points from a Gaussian mixture model. My mixture model is represented by a data frame that looks like this: > gmm weight mean sd 1 0.3 0 1.0 2 0.2 -2 0.5 3 0.4 4 0.7 4 0.1 5 0.3 I have written the following function that generates the appropriate data: gmm_data <- function(n, gmm) { c(rnorm(n*gmm[1,]$weight, gmm[1,]$mean,
2008 Mar 05
0
XP spontaneous reboot after folder rename on samba share.
I just want to get this information into the mailing list archives. In my situation I had Windows XP SP2 workstations mapped to a samba share on a debian etch stable server. My corporate overloards changed our AV product to Norton. After that, when users would rename a file or a folder on the samba share the workstaion would suddenly reboot (and not execute the rename). The samba server was a
2010 Sep 21
3
Error in eval(expr, envir, enclos)
I am absolutely new to R and I am aware of only a few basic command lines. I was running a robust regression in R, using the following command line library (MASS) rfdmodel1 <- rlm (TotalEmployment_2004 ~ MISSISSIPPI + LOUISIANA + TotalEmployment_2000 + PCWhitePop_2004 + UnemploymentRate_2004 + PCUrbanPop2000 + PCPeopleWithACollegeDegree_2000 + PCPopulation.of.or.over.65.years.of.age_2004)
2006 Oct 19
8
Mongrel::HttpHandlerPlugin
Hi, I''m trying to write a file upload monitor for mongrel that uses juggernaut to alert the browser of a change. I''m writing a plugin that uses Mongrel::HttpHandlerPlugin but it looks like the only method that gets called is process and that is only when the upload has finished. I''m setting the following: @request_notify = true But I am still only getting process to
2008 Jan 03
1
Can''t get upload progress bar working
Hi, Apologies if this has been asked and answered previously. I just started looking at Merb today as I''d like to use it as an upload server, especially the upload progress feature. I''ve installed the latest Merb gem (0.4.2) and created a new application to test out uploading. I took elements of the mr_blog application and integrated them into it. I realise this
2017 Jul 01
0
fsck looping duplicate mdbox GUIDs
I have recently updated with 2.2.29.1-avh1~xenial1 ubuntu package on 16.04. It appears that I have a couple of duplicate GUIDs which fsck can't clear so the machine is looping through doing continuous fsck runs. Any way to determine what the offending messages are and how to delete or otherwise stop this? Jul 1 17:09:24 post dovecot: doveadm(djk at tobit.co.uk): Warning: fscking index
2006 Jul 02
4
how to use upload progress?
I''m a bit confused about how to get upload progress to work with mongrel.. I''ve installed the mongrel_upload_progress (0.1) gem, but have no idea what to do with it. According to the following page: http://technoweenie.backpackit.com/pub/602283 there''s a patch (mup.diff) which seems like it patches the mongrel_upload_progress plugin The following blog entry makes it
2006 Nov 28
34
Uploading Large (100mb+) files
I have an Apache 2.2.3 (mod_proxy_balancer) frontend server that does not have mongrel installed. It does proxy requests to several other mongrel-only servers (each running 2 mongrel processes). Each mongrel node has the same rails code-base and it''s working perfectly. However, my question is when I add an upload file form... where is it going to physically put that file? I mean since
2008 Jul 18
4
Problems with dovecot/sieve and vacation
Hello, First of all, initial data: # dovecot --version 1.0.rc15 # dovecot -n # /etc/dovecot.conf protocols: imaps pop3s disable_plaintext_auth: yes login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_max_processes_count: 256
2013 Oct 07
2
Need help with plotting the graph
Hello All, The version of R I am using is as follows > version _ platform x86_64-pc-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 2 minor 14.1 year 2011 month 12 day 22 svn rev 57956 language R version.string R version 2.14.1 (2011-12-22) I just few days