Displaying 20 results from an estimated 2000 matches similar to: "OpenSuSE 11.2 bug, dom0-cpus limit causes xenwatch_cb running 100% and xm command freeze and xend dead"
2013 May 16
2
A function that can modify an object? Or at least shows principles how to modify an object?
Hi, If I have an R object UUU, where the second element is U2, based on
"g" column of my.table
my.table of UUU is:
mmm ggg gindex map Info
aaa123 U1 1 1 1
aaa124 U1 1 2 1
bbb1378 U2 2 1 1
bbb8888 U2 2 2 0
bbb1389 U2 2 3
2009 Feb 05
1
optimal control, maximization with several variables?
Dear all,
I would like to solve the following problem, which can be done with optimal control theory or dynamic programming:
max(x,y) a*u1+b*u2+c*f1(u2) s.t. 0<u1<x, 0<u2<f2(x,u2), x'=f3(u1,u2,x)
which can be rewritten if optimal control theory should be applied as
H=a*u1+b*u2+c*f1(u2)+lambda*(x') s.t. 0<u1<x, 0<u2<f2(x,u2)
The maximum principle
2011 Oct 27
2
creating vector os zeros for simulations (beginner's question)
Dear R helpers,
I know this is a simple task, but I'm new to R and I'm still havind difficulties with the language.
I want to create 30 vectors to be used in a simulation, each with 1 columm and 5 lines, of random numbers N(0,1).
What I tried was this:
N=150
u2<-rep(1:150,0)
u2<-list(matrix(0,5))
u2
for(i in 1:N)
{
u2[i]<-rnorm(5)
}
u2
### also tried this:
N=150
2012 Dec 06
1
Anomalous outputs from rbeta when using two different random number seeds
Hi, in the code below, I am drawing 1000 samples from two beta
distributions, each time using the same random number seed.
Using set.seed(80) produces results I expect, in that the differences
between the distributions are very small.
Using set.seed(20) produces results I can't make sense of. Around half of
the time, it behaves as with set.seed(80), but around half of the time, it
behaves
2020 Apr 29
1
grid 4.0 generates wrong results when adding two complex units by sum()
Hi,
In grid 4.0, adding two complex units by `sum()` seems to give wrong results.
In the following example, `u1 + u2` gives the correct result, but `sum(u1, u2)` also `sum(unit.c(u1, u2))` give the wrong results.
```
library(grid)
u1 = 0.4*sum(unit(1, "inch"), unit(1, "mm"))
u2 = 0.1*sum(unit(1, "inch"), unit(1, "mm"))
u1
# [1] 0.4*sum(1inches, 1mm)
2018 Jan 15
1
"linkfile not having link" occurrs sometimes after renaming
There are two users u1 & u2 in the cluster. Some files are created by u1,
and they are read only for u2. Of course u2 can read these files. Later
these files are renamed by u1. Then I switch to the user u2. I find that u2
can't list or access the renamed files. I see these errors in log:
[2018-01-15 17:35:05.133711] I [MSGID: 109045]
[dht-common.c:2393:dht_lookup_cbk] 25-data-dht:
2016 Oct 18
3
CyberPower SX650G no driver.
Hi. I have this this on a Odroid-u2 backing it up. Have the USB from the
CyberPower SX650G plug in the Odroid-u2 and when I do a lsusb it looks
like this:
Bus 001 Device 008: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
The User's Manual list SE450G and SX650G. So I guess they would take the
same driver.
CyberPower web page has a driver but it's for i386 not ARM like
2011 Jan 27
2
help for a loop procedure
Hello everybody!
I’m trying to define the optimal number of surveys to detect the highest
number of species within a monitoring season/session.
To do this I want to run all the possible combinations between a set of
samples and to calculate the total number of species for each combination of
2, 3, 4 …n samples events, so that at the end I will be able to define which
is the lowest number of
2007 Apr 20
1
Estimating a Normal Mixture Distribution
Hi everyone,
I am using R 2.4.1 on a MacOS X ("Tiger") operating system. In the
last few day I was trying to estimate the parameters of a mixture of
two normal distributions using Maximum Likelihood.
The code is from Modern Applied Statistics with S (4th edition),
chapter 16 ("Optimization"), the dataset is available under MASS in
R. Unfortunately, when I tried out the
2018 Mar 12
0
subsetting comparison problem
> On Mar 11, 2018, at 3:32 PM, Neha Aggarwal <aggarwalneha2000 at gmail.com> wrote:
>
> Hello All,
> I am facing a unique problem and am unable to find any help in R help pages
> or online. I will appreciate your help for the following problem:
> I have 2 data-frames, samples below and there is an expected output
>
> R Dataframe1:
> C1 C2
2003 Apr 25
4
Kinderman-Ramage (PR#2846)
Hi,
Our department has detected a bug in the implementation of the
Kinderman-Ramage generator for normal random variates in version
1.7.0, which can be seen from the below R session.
(Consecutive calls for chisq.test(...) always gives p-values very
close to 0.)
We have already encountered this bug in version 1.6.2
The error is in file
R-1.7.0/src/nmath/snorm.c
Here is a patch for this file to
2011 Sep 11
3
(no subject)
Dear all,
Can anyone take a look at my program below?
There are two functions: f1 (lambda,z,p1) and f2(p1,cl, cu).
I fixed p1=0.15 for both functions. For any fixed value of lambda (between
0.01 and 0.99),
I solve f1(p1=0.15, lambda=lambda, z)=0 for the corresponding cl and cu
values.
Then I plug the calculated cl and cu back into the function f2.
Eventually, I want to find the lambda value
2011 Mar 29
5
Integration with variable bounds
If this is posted elsewhere I cannot find it. I need to perform multiple
integration where some of the variables are in the bounds of the other
variables. I was trying to use R2Cuba function but cannot set the upper and
lower bounds. My code so far is :
int <- function(y){
u2 = y[1]
z2 = y[2]
u1 =y[3]
z1 = y[4]
ff <- u1*(z1-u1)*u2*(z2-u2)*exp(-0.027*(12-z2))
return(ff)
}
2016 Dec 07
4
You have not permission to view content of this location
OS: CentosOS 7
I have installed samba + openldap + smbldap-tools + pam by:
yum --enablerepo=extras install -y epel-release
yum install -y smbldap-tools
yum install -y samba openldap openldap-clients openldap-servers migrationtools
yum install -y nss-pam*
I know that smbldap-tools is a dead project, but I'm interested in it and would like research on it.
I create users and
2010 Apr 05
1
using difftime()
I'm new to R and have the following problem with difftime:
if I directly assign date/time strings in difftime I get the expected
result:
> a<-"2010-03-23 10:52:00"
> a
[1] "2010-03-23 10:52:00"
> b<-"2010-03-23 11:53:00"
> u2<-as.difftime(c(a,b), format ="%Y-%m-%d %H:%M:%S", units="mins")
> u2
Time differences in mins
2016 Oct 30
3
CyberPower SX650G no driver.
I went to the link to test the power off if the battery gets to low. Here is what I got on the command line.
root at odroid-u2:/etc/nut# /usr/local/ups/bin/upsdrvctl -t shutdown
-bash: /usr/local/ups/bin/upsdrvctl: No such file or directory
root at odroid-u2:/etc/nut# find / -name upsdrvctl
/sbin/upsdrvctl
^C
root at odroid-u2:/etc/nut# /sbin/upsdrvctl -t shutdown
Network UPS Tools - UPS driver
2007 Mar 27
7
Replacement in an expression - can't use parse()
Dear all,
Suppose I have a very long expression e. Lets assume, for simplicity, that it is
e = expression(u1+u2+u3)
Now I wish to replace u2 with x and u3 with 1. I.e. the 'new'
expression, after replacement, should be:
> e
expression(u1+x+1)
My question is how to do the replacement?
I have tried using:
> e = parse(text=gsub("u2","x",e))
> e =
2006 Nov 21
2
Symbolic derivation using D in package stats - how do I properly convert the returned call into a character string?
Dear all,
I am using the function 'D' in the 'stats' package to perform symbolic
derivation.
This works very well and it is much faster than e.g. Mathematica (at
least for my purposes).
First, I would like to thank the development team for this excellent
function.
However, I run into trouble in some cases, particularly when I am to do
some operations on long expressions
2003 Oct 01
1
Samba 3.0.0 compilation errors under Unixware 7.1.1
Hello,
I tried to build the latest samba source package with errors, it seems there
is a problem with the compatibility from the awk script mkbuildoptions.awk.
With older version 2.2.8a there was no problem compiling the sources. With
3.0.0 i got the following error:
###########################################
...
...
configure: creating ./config.status
config.status: creating include/stamp-h
2004 Oct 06
4
R2.0.0 bug in function vcov in library survival (PR#7266)
Full_Name: Sven Sandin
Version: 2.0.0
OS: SuSE Linux 9.0
Submission from: (NULL) (81.227.17.135)
Have just compiled and installed R-2.0.0.tar.gz running SuSE9.0.
The function vcov do not accept "coxph" object as input any longer.
The same R-program running R1.9.1 do work. R-program attached below.
Exporting the coxph object from R2.0.0 to R1.9.1 I get vcov ouput in R1.9.1.
Exporting