Displaying 20 results from an estimated 100 matches similar to: "A program running for a too long time"
2013 Feb 18
2
error: Error in if (is.na(f0$objective)) { : argument is of length zero
Dear all,
I tried running the following syntax but it keeps running for about 4 hours
and then i got the following errors:
Error in if (is.na(f0$objective)) { : argument is of length zero
In addition: Warning message:
In is.na(f0$objective) :
is.na() applied to non-(list or vector) of type 'NULL'
Here is the syntax itself:
library('nloptr')
library('pracma')
#
2013 Feb 15
1
minimizing a numerical integration
Dear all,
I am a new user to R and I am using pracma and nloptr libraries to minimize
a numerical integration subject to a single constraint . The integrand
itself is somehow a complicated function of x and y that is computed
through several steps. i formulated the integrand in a separate function
called f which is a function of x &y. I want to find the optimal value of x
such that the
2006 Nov 23
0
W3C Range specification conceptually flawed?
hi all!
check this one:
<html>
<head>
<title>Range test</title>
</head>
<body>
<div id="myText">FooBarBaz</div>
<script type="text/javascript">
myText = document.getElementById(''myText'').firstChild;
var range1 = document.createRange();
range1.setStart(myText, 3);
range1.setEnd(myText, 6);
var
2012 Jun 20
2
passing function parameters into a 'with' statement to dynamically pick out columns
Hi,
I've built a function to generate plots and would like to be able pass in column names as a parameter. Here's a boiled down version of what I have right now:
pmts <- data.frame(date=c(1,2,3), all=c(5,6,7),maj=c(4,5,6),ind=c(3,4,5))
perc.mktshare <- function(df){
range1 <- floor(min(with(df, 100*ind/all)))
range2 <- ceiling(max(with(df, 100*ind/all)))
1999 Nov 09
0
Re: numerical integration {better than integrate(.)} ?
>
> {{I first wanted to send this to R-devel;
> but then thought, maybe first hear of you all..
> and added a bit more
>
> Still could ask on R-devel later -- MM}
>
> - In R, there's currently the "integrate" package from Mike Meyer, ported to
> R by Thomas Lumley which really relies on multi-dimensional integration
> "adapt" and
2006 Jun 29
1
RCOM Package
Hi list,
I just installed the rcom package and tried to read/give out some values
from/to Excel. Altogether it works great... but nevertheless I don't know
how the syntax works or in other words: "Which command needs which
parameters?"
Is there somwhere a manual about this package with good examples? I've read
the Package description... but there are not really good
2005 Jul 14
1
Fwd: Re: Problem installing R packages
Hi,
I am trying to install the R libraries "rmutil" and "repeated" on a Mac OS
X version 10.4.1 (which has the latest version of the Mac Developer tools
installed) and I am having trouble compiling the libraries.
The error message I receive is as follows (I have only included the error
message when I try and install the rmutil library):
............................
*
2007 Nov 03
0
installing packages on OS X -- lgfortran problem
I am trying to install two packages that are not available at CRAN
(rmutil, dna). When trying the R CMD INSTALL with either file, I get
an error message that ends with
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file
for: -lgfortran
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lgfortran
is not an object file (not allowed in a library)
Can anyone
2007 Dec 14
4
rcom close Excel problem
Hello,
I just discovered that I cannot close the Excel application and task
manager shows numerous copies of Excel.exe
I tried both
x$Quit() # shown in the rcom archive
and
x$Exit()
and Excel refuses to die.
Thank you very much.
S.
"You can't kill me, I will not die" Mojo Nixon
I also have a problem with saving. It produces a pop-up dialog and
does
not take my second
2015 Jan 11
1
Help with IPv6 /48 block
On 1/10/2015 8:38 PM, Gordon Messmer wrote:
> On 01/10/2015 08:10 PM, F. Mendez wrote:
>> Hello. Yes I confirm...its a /48 (this guys are crazy here at my
>> work...).
>
> It's not crazy, that's the standard deployment for a building. It's
> almost certainly not possible to use all of the addresses in such a
> space, but that's the point. IPv6 is
2015 Jan 10
3
Help with IPv6 /48 block
Hello.
It happens that at the company I'm working decided to start migration of
IPs tech.
So they got a /48 block. I were trying to add it with:
ifcfg-eth0-range1 (0 is already in use with IPv4 range):
IPV6ADDR_START=xxxx
IPV6ADDR_END=xxxx
CLONENUM_START=0
But of course I am assuming that like in IPv4 IPADDR_START/END is
implemented.
Please give some guidance as I need this to done
2012 Aug 02
5
IP range
Hi all
Can someone explain me this:
ifcfg-eth0-range1:
ONBOOT="yes"
IPADDR_START="192.168.1.48"
IPADDR_END="192.168.1.55"
CLONENUM_START="1"
Why Bcast is 192.168.1.51 and why Mask is 255.255.255.252 ?
OS: Centos 6.3/64bit
Thanks
Levi
# ifconfig
eth0:1 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
inet addr:192.168.1.48
2009 Jan 14
1
Ordinal Package Errors
I'm trying to install the ordinal package
(http://popgen.unimaas.nl/~plindsey/rlibs.html).
I downloaded ordinal03.tgz and untarred it. rmutil was previously
installed (and appears to work ok.) Then I installed ordinal:
[root at localhost ~]# R CMD INSTALL /home/chippy/Download/ordinal
* Installing to library '/usr/lib/R/library'
* Installing *source* package 'ordinal' ...
**
2010 Jun 03
3
Multiple Serial Port Passthrough in HVM domU
So, I made a mistake a bought four systems with the Intel Core i3 processors, without doing my homework to make sure that these systems actually supported VTd. Turns out there''s plenty of information out there indicating that the Core i3 processors do *not* support VTd. I was counting on VTd for two applications: Graphics Passthrough and passing through a PCIe 4-port serial card. Of
2013 Jan 27
2
Samba Authentication With Kerberos
Hi All,
Im thrying to setup a server with Samba4 with Kerberos. When I want to see list all shares with smbclient with samba authentication, everything works fine. But when I try to authenticate using Kerberos, I get and error.
The command I execute is:
smbclient -L localhost -k
The error message from Samba is:
using SPNEGO
Selected protocol [8][NT LANMAN 1.0]
GSS server Update(krb5)(1)
2013 Feb 03
3
Samba Server Under Microsoft Windows Network
Hi All,
Im running a samba4 server. When I logged onto the server from a XP Machine and then I go to My Network Places -> Microsoft Windows Network -> Mydomain my samba4 server is not listed.
What could be the reason? Should I set up anything on my XP machine?
Your help will be appreciated.
Thanks and regards,
Fabian
2012 Dec 20
2
How to count the nos. in a range?
Dear R forum
I have a following vector of random no.s
x = runif(100, 0.01, 0.99)
[1] 0.47212037 0.77867992 0.33947474 0.93369035
[5] 0.03720073 0.79307831 0.81801835 0.92710688
.................................................
I need to count the random no. falling in the range (0 - 0.10), (0.10 - 0.20), (0.20 - 0.30)..upto (0.90 - 1)
Thus, I
need to have a data frame as
2011 Apr 22
1
How to generate normal mixture random variables with given covariance function
Dear All,
Suppose Z_i, i=1,...,m are marginally identically distributed as a two normal mixture p0*N(0,1) + (1-p0) *N( miu_i, 1) where miu_i are identically distributed according to a mixture and I have generated Z_i one by one .
Now suppose these m random variables are jointly m-dimensional normal with correlation matrix M= (m_ij).
How to proceed next or how to start correctly ?
Question:
2007 Jun 14
0
random effects in logistic regression (lmer)-- identification question
Hello R users!
I've been experimenting with lmer to estimate a mixed model with a
dichotomous dependent variable. The goal is to fit a hierarchical
model in which we compare the effect of individual and city-level
variables. I've run up against a conceptual problem that I expect one
of you can clear up for me.
The question is about random effects in the context of a model fit
with a
2013 Feb 03
2
Samba4 Authentication
Hi,
when I logon from windows machine, the username is validated against samdb. How can user be validated against Kerberos5 (principals)?
Thanks and regards,
Fabian