Displaying 20 results from an estimated 700 matches similar to: "Multiple form weirdness in IE6"
2008 Jan 31
2
Odd things happening in ie6/ie7
As always, i am again having problems in IE6 and IE7 with scripts.
The scripting works fine in FF2, opera and Safari.  IE just wont load
it.  Could anyone help?
It''s a static page for now, located at www.maifith.com/research/index.html
The problem,although quite obvious, is that it doesn''t load the JS in
IE6 or IE7.  Any help would be appreciated.
2009 Jun 03
2
code for double sum
Hi R-users,
 
I wrote a code to evaluate double sum as follows: 
 
ff2 <- function(bb,eta,z,k)
{ r <- length(z)
for (i in 1:r) 
{ sm1 <- sum((z[i]*bb/2)*(psigamma((0:k)+eta+1,deriv=0)/(factorial(0:k)*gamma((0:k)+eta+1))))
 sm2 <- sum((besselI(z[i]*bb,eta)*log(z[i]*bb/2) - sm1)/besselI(z[i]*bb,eta))
 sm2
}
ff2(bb,eta,z,10)
 
 
but it gave me the following message:
 
>
2006 Oct 23
1
R tcl/tk
Friends:
I am a long-time R user, learning tcl/tk, and am tying myself in knots over
something that should be simple.
  
I want to create a frame and put that frame inside the toplevel frame.
This works (i.e. it places text in col 1, and the corresponding entry box in
column 2) and later frame.2 resides where it should in the toplevel frame.
tkgrid(tklabel(frame.2, text="FACTOR column
2006 Jan 26
3
Help on implementing rails from html with php
Hi guys, just started using rails and is trying to implementing the 
present html with some rails...
However i met this problem when i am trying to port over some php code 
in html to rails and i cant find any method to successful convert the 
php codes.
Below is a feature i tried to implement in rails way:
there are 2 buttons on the html. Besides these 2 buttons is an infobox. 
So, whenever
2008 Mar 25
6
Prototype 1.6.0.2 + Firefox 3 Enumerable problems
I am using Prototype 1.6.0.2 on Firefox 3.0b4.
The following does not work when I enter it in Firebug:
$A([1,2,3,4]).each(function(n) {alert(n);});
The above is just an example. Any array, using $A and any enumerable
method, returns the following:
TypeError: iterator.bind is not a function
Seems like some objects are not being extended correctly?
Using Prototype 1.5.0 on Firefox 3.0b4, this
2007 Nov 07
1
Aggregate with non-scalar function
R-Helpers,
I'm sorry to have to ask this -- I've not used R very much in the last
8 or 10 months, and I've gotten rusty.
I have the following (ff2 is a subset of a much, much larger dataset):
> ff2
      hostName user sys idle             obsTime
10142     fred  0.4 0.5 98.0 2007-11-01 02:02:18
16886   barney  0.5 0.2 94.6 2007-10-25 19:12:12
8795      fred  0.0 0.1 99.8
2009 Feb 25
1
monotonic GAM with more than one term
Hi,
Does anyone know how to fit a GAM where one or more smooth terms are
constrained to be monotonic, in the presence of "by" variables or
other terms? I looked at the example in ?pcls but so far have not been
able to adapt it to the case where there is more than one predictor.
For example,
require(mgcv)
set.seed(0)
n<-100
# Generate data from a monotonic truth.
2006 Mar 29
0
css, div-tags and ajax
Hi.
I copied parts of the ajax-examples in Agile Rails prog. and modified
it so it searched for zip-codes. The result is displayed in
search.rhtml. The first version looked like this, I liked the look of
the "add to cart" in the depot-example. :class => ''button1'' is
originally addtocart which I renamed in the .css-file.
<% for city in @cities %>
  <%=
2005 Dec 30
2
help on submit_to_remote
hi,
read the API doc and made search with google but can''t get a precise
explanation on how submit_to_remote work.
can someone help on that?
thanks
2007 Mar 04
1
[PATCH] CompWindowActionMoveMask (move plugin)
Here a patch to make move plugin take care of CompWindowActionMoveMask.
http://hibbert.univ-lille3.fr/~cbellegarde/Compiz/respectWindowActions.patch
There is also a bug in gtk-window-decorator.
If you use this plugin:
http://forum.go-compiz.org/viewtopic.php?t=643
Set your terminal to be non movable, terminal window doesn't have 
_NET_WM_ACTION_MOVE, but you can move it with decoration.
2009 Aug 12
1
calling a function with dynamically generated buttons
Hallo,
I'm dynamically generating buttons depending on the number of rows of  
my dataframe. Every button is supposed to call a function which  
generates a plot with the values of one of my dataframe rows.
My code looks like this:
base <- tktoplevel()
plotten <- function(mat, namen, titel) {
         midpts <- barplot(height=mat, names.arg = namen, main =  
titel, las=2)
        
2008 Mar 21
4
Prototype.js event.stop(event) FF2 not working
stop: function(event) {
if (event.preventDefault) {
		  event.stopPropagation();
		  event.preventDefault();
		} else {
		  event.returnValue = false;
		  event.cancelBubble = true;
		}
	}
/* br original
    stop: function(event) {
      Event.extend(event);
      event.preventDefault();
      event.stopPropagation();
      event.stopped = true;
    }
*/
  };
2013 Feb 04
2
Modifying a function programmatically
Dear list
# I have a function 
 ff  <- function(a,b=2,c=4){a+b+c}
# which I programmatically want to modify to a more specialized function in which a is replaced by 1
 ff1 <- function(b=2,c=4){1+b+c}
# I do as follows:
 vals  <- list(a=1)
 (expr1 <- as.expression(body(ff)))
expression({
    a + b + c
})
 (expr2 <- do.call("substitute", list(expr1[[1]], vals)))
{
    1 +
2007 Dec 06
11
Weird Prototype behavior
In this code:
<html>
<head>
<title>PT test</title>
<script type=''text/javascript'' src=''/js/prototype/1.6.0/
prototype.js''></script>
<script type=''text/javascript''>
//<![CDATA[
Event.observe(window, ''load'', function () {
   alert($(''login_username''));
});
//]]>
2007 Jun 14
6
Firefox and Thunderbird 2.0, Centos 5, and rpms
I am making some progress on my Centos 5 notebook build.
So I am looking at Firefox and Thunderbird 2.0.
Should I install them?  Or is Redhat correct that there is nothing 
improved here and wait for 3.0?  (well I have not even had a chance to 
look at Thunderbird 2.0, that is new)?
I have the install steps we covered here back on 2/2/07; but are there 
rpms?  I did not find anything over at
2009 Mar 23
4
newton method
Hi R-users,
Does R has a topic on newton's method?
Thank you for the info.
2012 Oct 19
2
MLE of negative binomial distribution parameters
I need to estimate the parameters for negative binomial distribution (pdf)
using maximun likelihood, I also need to estimate the parameter for the
Poisson by ML, which can be done by hand, but later I need to conduct a
likelihood ratio test between these two distributions and I don't know how
to start! I'm not an expert programmer in R.  Please help  
--
View this message in context:
2008 Jun 20
3
FF3 printing problem on Centos 4.x
I'm using Centos 4.x (fully up to date) on a system at work. I have also
been using firefox 2 (directly from mozilla.org) on it for a long time, 
and it tends to work just fine.
yesterday I installed the new FF3 release. It works fine too, with one
exception: The print dialog shows no printers! The print button is greyed
out! There actually four or five printers defined on the system, and all
2006 Apr 10
3
form_remote_tag can only have one submit button?
I setup a form_remote_tag with several submit buttons, all of them share 
the same name
( ''do_action'' ) and their values differ.
eg.
button1 named do_action with value ACTION1
button2 named do_action with value ACTION2,
etc
No matter which button I press the value passed is always the one 
defined for the first of these buttons ( the correct value associated 
with the pressed
2012 May 22
2
Creating functions with a loop.
Hi
I am trying to create n functions where each function is defined in function one step before, i.e. something like
ff.k(x) = ff.j(x) - sum(1:j),      for j=k-1
Is it possible? If it isn't and I manually create each function then is their a way to call them through a loop?  My objective is to calculate something like
result.k = ff.k(x1)/ff.k(x2)      for k in 2:n
Thank you for your time,