Displaying 20 results from an estimated 2000 matches similar to: "Samba4(linux cloud) PDC remote clients(windows)"
2008 Oct 21
4
subscripting a one column matrix drops dimension
Hi all,
Why subscripting a one column matrix drops one dimension?
> x<- matrix(rnorm(100), ncol=1)
> str(x)
num [1:100, 1] -0.413 -0.845 -1.625 -1.393 0.507 ...
> str(x[20:30,])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
> str(x[20:30])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
This breaks:
> cov(x)
[,1]
[1,] 0.9600812
>
2009 Feb 18
1
alpha shape function
Hi all,
I want to approximate te shape of an area defined by a set of points.
The convex hull is not good enough, but I think that an alpha shape
would be fine. I did an RSiteSearch(), google search, RSeek.org search,
looked at the CRAN Views, but was unable do find a function in R that
computes the alpha shape. Does anyone know if there is such a function
in R?
Theank you very much.
Moacir
2008 Feb 26
2
Subsetting within xyplot()
All,
I'm having problems w/ a simple attempt to subset an xyplot.
The first plot below is a plot of y versus x for certain values of a third
categorical variable z. Now I'd like to further restrict this to certain
values of variable y. Neither of the two attempts below work. Any
suggestions much appreciated. (note: I don't want to merely use ylim since
I have a loess plot and I
2012 Mar 30
1
avoiding expression evaluation when calling a function
Another question on functions - I have something that looks like
plotter<-function(i){
temp.i<-rwb[rwb$vector1 <=(i*.10),]
with(temp.i, plot(vector2, vector3, main=(i*.10),))
mod<-lm(vector3~vector3-1,data=temp.i)
r2<-summary(mod)$adj.r.squared
rsqrd[i]<-r2
legend("bottomright", legend=signif(r2), col="black")
abline(mod)
rsqrd<<-rsqrd
}
I'd
2006 Jun 14
3
appending
All,
In the function below I have 24 individuals and 6 calculations per
individual.
The 6 calculations are collected each time in a 1:24 loop when
calculating "delta".
I'd like to collect all 144 = 24*6 calculations in one vector
("delta.patient.comb").
The function works as is via indexing, but is there an easier way to
collect the measurements via appendinng the 6
2006 Jun 08
1
BN8S0 problem - Extension can never match, so disconnecting
hi
i've configured a Beronet BN8S0 Card with misdn beronet utility.
the card is configured with all lines in TE and P2P mode, and it is
connected with the special cable with an ISDN connection.
i've turned on debugging to level 4, this is the output from the
asterisk cli when i receive a call:
P[ 5] MGMT: Short status dinfo 1000001
P[ 5] MGMT: SSTATUS: L1_ACTIVATED
P[ 5] handle_frm:
2008 Feb 28
2
Replacing plot symbols w/ subject IDs in xyplot()
All,
How does one replace plot symbols with say subject IDs when using xyplot? Or
superimpose them next to plot symbols? I searched the archives under
various key words but haven't had much. Any suggestions or links much
appreciated. Sample code below.
David
junk.frm = data.frame(ID = rep(1:16, each = 2), x, y, z = rep(c("D", "P"),
16))
y = c( 0.4, 0.6, -0.1,
2010 Jan 28
1
rails files are missing
I''ve built the slackware packages of rails.
rails path is: /frm/ruby/1.8.6/lib/ruby/site_ruby/1.8
RUBYLIB : /frm/ruby/1.8.6/lib/ruby/site_ruby/1.8:/frm/ruby/1.8.6/lib/
ruby/site_ruby/1.8/i686-linux/
I could created the rails application, but files are missing.
Config
- boot.rb, database.yml, environment.rb and routes.rb
Public
-
2007 Jan 24
1
Query Failed because: Incorrect information in file: './asterisk/sip.frm'
Hi,
I have a working asterisk 1.4.0 with Mysql Realtime configuration, and today
I encountered this error.
Now, I have no acces to any information in mysql realtime, so nothing work
now !!!!!
[Jan 24 10:32:40] DEBUG[31070] res_config_mysql.c: MySQL RealTime:
Everything is fine.
[Jan 24 10:32:40] DEBUG[31070] res_config_mysql.c: MySQL RealTime: Retrieve
SQL: SELECT * FROM extensions
2010 Jun 02
2
pdf function, resize xyplot plot automatically
All,
When saving plots to a pdf file via the pdf function, I would like to be
able to automatically expand the graphics device to achieve the same result
as when one does this manually (e.g., clicking the green expand button on
the upper left of the graph on Mac OS). Consider simple example below:
library("lattice")
foo.frm = data.frame(Subject = rep(c(1:4), each = 9), Y =
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys,
I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl
will not resize horizontally no matter what I''m doing. I''ve attached a
sample code below. Any help will be greatly appreciated, as I really
like wxRuby :)
I''ve also tried to copy from the example from listtest.rbw, but that
also doesn''t seem to work.
Another thing
2008 Oct 24
1
Repetitive correlation test
Dear all,
Through the following code, I wanted to perform correlation test repetedly (through loop) on different combinations of variables of a data set.
Code:
x=read.table("sample.txt",header=T,sep="\t")
out="corout.txt"
sink(out)
nm = names(x)
print(nm)
nvr=3
# nvr=Total no. of variables in the input data file
for (i in 1:(nvr-1))
{
for(j in (i+1):nvr)
{
frm=
2009 Jun 14
6
Access to Server frm authorized range of IPs only
Guys,
i know i saw this somewhere but i cant seem to locate that info now...
Scenario:
...............
I have a simple two interface firewall. The firewall machine also provides some services to the LAN and to the NET.
What i would like to do is allow only a particular range of IPs frm the internet to access those services.
What do i need to do with my ''rules'' file. Ideally
2014 Feb 13
2
MySQL Can't create file '/tmp/#sql2e0_98_0.frm' (errno: 9) problem
Hi.
I have a strange problem.
I installed cacti, and set it up.
When I click on the Plugins Management, I noticed Error
"FATAL: Database or Table does not exist"
Further testing revealed that at the moment MySQL can not create
temporary files in /tmp. It is same for ANY database!
SELinux is disabled.
I logged to mysql as root and error is same.
Command used is:
CREATE TEMPORARY
2010 Jan 28
5
files are missing in rails app
I''ve built the slackware packages of rails.
rails path is: /frm/ruby/1.8.6/lib/ruby/site_ruby/1.8
RUBYLIB :
/frm/ruby/1.8.6/lib/ruby/site_ruby/1.8:/frm/ruby/1.8.6/lib/ruby/site_ruby/1.8/i686-linux/
I could created the rails application, but files are missing.
Config
- boot.rb, database.yml, environment.rb and routes.rb
Public
-
2016 Apr 26
2
Linear Regressions with constraint coefficients
Ok, and if I would just like to force my slope coefficients to be inside an interval, let's say, between 0 and 1? Is there a way in R to formulate such a constraint regression?
Thanks in advance and kind regards,
Aljosa
Aljosa Aleksandrovic, FRM, CAIA
Quantitative Analyst - Convertibles
aljosa.aleksandrovic at man.com
Tel +41 55 417 7603
Man Investments (CH) AG
Huobstrasse 3 | 8808
2016 Apr 26
0
Linear Regressions with constraint coefficients
Have you tried web searching on " R constrained linear regression" or
similar. There seemed to be resources related to your issues when I
looked. You might also search on rseek.org . There are apparently
several packages that do regression with constraints, but I don't know
if they fit your situation.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that
2009 Apr 29
1
Driving me nuts!!! - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I had to put a new HD in, and now I''m reinstalling everything, and
can''t get mysql to fully work. I can''t remember how I fixed it. I''ve
searched everywhere online and can''t find anything.
when I try to use the >mysql command I get this:
Can''t connect to local MySQL server through socket ''/tmp/
mysql.sock'' (2)
My first
2016 Apr 28
2
Linear Regressions with constraint coefficients
Hi Gabor,
Thanks a lot for your help!
I tried to implement your nonlinear least squares solver on my data set. I was just wondering about the argument start. If I would like to force all my coefficients to be inside an interval, let?s say, between 0 and 1, what kind of starting values are normally recommended for the start argument (e.g. Using a 4 factor model with b1, b2, b3 and b4, I tried
2016 Apr 26
1
Linear Regressions with constraint coefficients
If the slope coefficients sum to a constant, the regressors are
dependent and so a unique solution is impossible (an infinity of
solutions would result). So I think you have something going on that
you don't understand and should consult a local statistician to help
you formulate your problem appropriately.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people