Displaying 20 results from an estimated 2000 matches similar to: "How do I pass parameters to my program when using WINE?"
2009 Mar 24
2
Is there a web-based server status package?
I have a small squirrelmail server using Postfix & Dovecot, and I
would like to add a web-based "status" screen to remotely check its
health. Is there a preferred packaged for doing this?
I mostly want to monitor disk space usage, and CPU utilization.
2009 Apr 22
1
Cannot set user quotas
Hello, I am having some trouble getting quota's to work. When I try to
set the quota for a user, it does not show up when I run repquota. I
am doing this on a Redhat (RHEL5) machine (I assume it is the same on
Centos). I think I am missing a step, but this is what I am doing:
(1) I add usrquota to the /etc/fstab file, then reboot
LABEL=/home /home ext3 defaults,usrquota 1 2
(2) Verify
2009 Mar 21
3
How to add ClamAV to Postfix?
I sent this email to the Rehdat list, but I thought the Centos users
might be more inclined to have the command-line solution I am looking
for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have
Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use
Squirrelmail to access mail. I am looking for command-line
instructions,
2009 Mar 24
1
Limiting maildir sizes with Postfix?
I have a small Squirrelmail server, using Postfix & Dovecot. I am
trying to limit the amount of mail a user can get. The
"mailbox_size_limit" value does not seem to be being honored. I am
using the Maildir directory format.
>From googling, it appears that "mailbox_size_limit" applies to a
single file (mbox format?), and that it does not work with Maildirs.
Is this
2004 Dec 10
2
Shorewall and IPSEC
I setup some IPSEC between 2 networks. From 1 network I can ping the other
networks local connection but not anything beyond that.
Network A - 10.0.1.1 (loc) 23.23.23.23 (net)
Network B - 10.0.2.1 (loc) 44.44.44.44 (net)
I''m on local machine 10.0.1.10 on network A, I can ping 10.0.2.1 but I
cannot ping a machine on that network ex. 10.0.2.200.
I was thinking it probally has to do
2004 Sep 29
2
Approximate a f(x,y)
Hi all,
Running simulations, I'm generating market response to 2 factors X&Y..
There is no closed form for the market response.. The results are store in a
matrix Z(X <- seq(.02,.98,.02), Y <- seq(.01,.19,.01))..
For optmization purpose I need to approximate the values for any factor X in
0,02-0,98 and Y in 0,01-0,19
How can I do it ?
For one factor : Xn-1 < x <= Xn
2004 Apr 07
1
eigenvalues for a sparse matrix
Hi,
I have the following problem. It has two parts.
1. I need to calculate the stationary probabilities of a Markov chain,
eg if the transition matrix is P, I need x such that
xP = x
in other words, the left eigenvectors of P which have an eigenvalue of
one.
Currently I am using eigen(t(P)) and then pick out the vectors I need.
However, this seems to be an overkill (I only need a single
2003 Apr 02
8
lm with an arbitrary number of terms
Hello folks,
Any ideas how to do this?
data.frame is a data frame with column names "x1",...,"xn"
y is a response variable of length dim(data.frame)[1]
I want to write a function
function(y, data.frame){
lm(y~x1+...+xn)
}
This would be easy if n was always the same.
If n is arbitrary how could I feed the x1+...+xn terms into lm(response~terms)?
Thanks
Richard
--
Dr.
2011 Mar 25
4
read.xls -> rotate data.frame
Hi to all,
how could I to rotate automatically a data sheet which was imported by
read.xls?
x1 x2 x3 .... xn
y1 1 4 7 ... xn/y1
y2 2 5 8 .... xn/y2
y3 3 6 9 ....xn/y2
yn ... ... ... Xn/Yn
to
y1 y2 y3 .... yn
x1 1 2 3 ..... Yn/x1
x2 4 5 6 .... Yn/x2
x3 7 8 9 .... Yn/x2
xn ... ... ... ..... Yn/xn
Kind regards Knut
2004 Nov 03
3
fold right - recursive list (vector) operators
The programming language mosml comes with foldr that 'accumulates' a
function f over a list [x1,x2,...,xn] with initial value b as follows
foldr f b [x1,x2,...,xn] = f(x1,...,f(xn-1,f(xn,b))...)
Observe that "list" should have same elements so in R terminology it would
perhaps be appropriate to say that the accumulation takes place over a
'vector'.
I wonder if R
2004 Jul 19
10
How to compare X1 = X2 = ... = Xn?
Dear All,
I have a data frame with n columns: X1, X2, ., Xn. Now I want to create a
new column: if X1 = X2 = . = Xn, the value is 1; Otherwise, the value is 0.
How to do that in a quick way instead of doing (n choose 2) comparisons?
Thank you,
Frank
[[alternative HTML version deleted]]
2017 Dec 03
5
Rcpp, dyn.load and C++ problems
Hi,
I have written a small C++ function and compile it.
However in R I can't see the function I have defined in C++.
I have read some web-pages about Rcpp and C++ but it is a bit confusion
for me.
Anyway,
This is the C++-code:
#include <Rcpp.h>
using namespace Rcpp;
// [[Rcpp::export]]
List compute_values_cpp(int totalPoints = 1e5, double angle_increment =
0.01, int radius =
2006 Jan 02
5
NoobyQ: how to work with a table of static lookup data??
Hello out there!
Nooby question: What''s the "Rails" way to work with tables of relatively
static lookup data?
Objectively (I''m thinking); I don''t want to hit the DB each time, so for
each lookup table, initialize a globally available hash with lable/value
pairs...
Am I on the right track?
How would you do this kind of thing in Rails?
Thanks!
--
2012 Oct 11
3
Formatting data for bootstrapping for confidence intervals
Hi all,
New to R, so this may be obvious to some.
I've been trying to figure this out for a while, I have a dataset "events"
that looks something like this:
Area NAME DATE X Xn Y
1 X 1/10/10 1 1 0
1 Y 1/11/10 0 0 1
1 X 1/12/10 1 0 0
1 X 1/12/10 1 0 0
1 X 1/12/10 1 0 0
2 X 2/12/10 1 1 0
2012 Jul 03
1
integral with error:non-finite function value
Hi guys,
I'm trying to use the the integral function to estimate the area under a
PDF and a crossing curve. first I stated the function with several vectors
in it:
fn=function(a,b,F,mu,alpha,xi)
{
x<-vector()
fs<-function(x)
{
c <- (mu+(alpha*(1-(1-F)^xi)/xi))
tmp <- (1 + (xi * (x - mu))/alpha)
((as.numeric(tmp > 0) * (tmp^(-1/xi - 1) *
2015 Jul 28
2
all.equal: possible mismatch between behaviour and documentation
Dear all,
The documentation for `all.equal.numeric` says
Numerical comparisons for ?scale = NULL? (the default) are done by
first computing the mean absolute difference of the two numerical
vectors. If this is smaller than ?tolerance? or not finite,
absolute differences are used, otherwise relative differences
scaled by the mean absolute difference.
But the actual behaviour
2009 Dec 15
1
Help in R
Hello,
Can anyone give me some suggestion in term of calculating the sum below.
Is there a function in R that can help doing it faster?
x1, x2, ...xn where xi can be 0 or 1. I want to calculate the following:
sum{ beta[a+sum(xi), b+n-sum(xi) ]* [ (1-x1)dnorm(0,1)+x1dnorm(2,1) ]* [
(1-x2)dnorm(0,1)+x2dnorm(2,1) ]* ...* [ (1-xn)dnorm(0,1)+xndnorm(2,1) ] }
The sum in the beginning is over all
2008 Mar 16
5
NOOB ISSUES!@%%#@#%@%^@
HELLO EVERYONE!!!,,im rather new at WINE, and i have a couple of programs i would like to RUN with WINE, but i kinda don't understand if there is a specific way to install a program for it to run on wine,,or even running the program itself,,i tried Installing NATURAL MOTION ENDORPHIN and i click on the short cut to open with wine, the Title menu comes out but nothing after,,i also tried
2007 Jun 09
1
Rake test tasks only work with --trace
So this has left me completely confused. I''m trying to get the test
suite going on an existing app, but things going a little crazy.
In the application directory if I do ''rake'' or ''rake test'' I get:
rake aborted!
Lost connection to MySQL server during query
However if I do ''rake test:units'' or ''rake
2006 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi,
I have a trouble with deploying my ordinary rails application(myapp).
When I execute ''rake deploy'',
[...]
command finished
* executing task symlink
* executing "ls -x1 /var/www/myapp/releases"
servers: ["app1.olalog.com"]
[app1.olalog.com] executing command
command finished
* executing "ln -nfs /var/www/myapp/releases/under