Displaying 20 results from an estimated 14863 matches for "ps".
Did you mean:
ops
2009 May 23
2
as.numeric(levels(factor(x))) may be a decreasing sequence
...f)
# [1] "0.300000000000000" "0.3"
The levels differ in trailing zeros, but represent the same decimal number.
Besides that this is not really meaningful, it may cause a problem, when
using as.numeric(levels(f)).
In the above case, as.numeric() works fine and maps the two levels to the same
number. However, there are cases, where the difference in trailing zeros
implies different values in as.numeric(levels(f)) and these values may even
form a decreasing sequence although levels were constructed from an increasing
sequence of numbers.
Examples are platform...
2007 Oct 12
1
use ps -ef check service have some error.
hi,all.
I found that use the ps -ef command to check a service status
have some error. I test it .
run puppetd --debug --tags apache2 ,get this message.
=============
debug: Service[apache2](provider=debian): Executing ''ps -ef''
debug: Service[apache2](provider=debian): PID is 12062
============
but the apac...
2015 Dec 10
2
Field sensitive alias analysis?
Please see inline.
struct S {
>> int a[10];
>> int b;
>> };
>>
>> int foo(struct S *ps, int i) {
>> ps->a[i] = 1;
>> ps->b = 2;
>> return ps->a[0];
>> }
>>
>> define i32 @foo(%struct.S* nocapture %ps, i32 %i) #0 {
>> entry:
>> %idxprom = sext i32 %i to i64
>> %arrayidx = getelementptr inbounds %struct.S, %struct...
2007 Feb 08
1
Diffrerence in "%in%" function to boundry setting via <>
...ifferent behaviour between the %in% function and the
smaller/bigger than signs (<>). Here is are two examples to demonstrate what
I mean:
Example1:
> c(1,1,2,2,3,4,4,6,7) %in% c(1,2,3)
[1] TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE
Right, that is what I expect.
Example2:
> ps <- seq(-0.502,0.378,by=0.001)
> ps[494]
[1] -0.009
> class(ps[494])
[1] "numeric"
> class(-0.009)
[1] "numeric"
> class(ps[494])
[1] "numeric"
> ps[494] == -0.009
[1] FALSE
> ps[494] %in% -0.009
[1] FALSE
> ps[494] == c(-0.009)
[1] FALSE
>...
2009 Apr 08
0
[PATCH/Gallium] nv50: update nv50_clear to new interface
...n, so
below is the diff - my concerns/uncertainties should be contained in
the comments.
Or maybe you want to do it the way NV40 does it, just calling
surface_fill through a utility function (althoug this does currently
seem to only clear one color buffer) . I'll have a look at my REnouveau
dumps to see if there are push buffer commands to clear buffers of the
other formats, though I'll most probably fail. And I expect you
probably have another/better implementation, but here's my try (I still
need to learn a lot, I hope there are no new bugs at least):
---
src/gallium/drivers/nv5...
2009 Apr 30
2
ps error
Hi does anyone know what the problem here is
[root at dnstest lib]# ps
ps: error while loading shared libraries: libproc-3.2.3.so: cannot open
shared object file: No such file or directory
[root at dnstest lib]# ln -s libproc-3.2.7.so libproc-3.2.3.so
[root at dnstest lib]# ps
ps: /lib/libproc-3.2.3.so: version `_3_1_14' not found (required by ps)
as...
2009 May 03
1
suggestion for extending ?as.factor
In R-2.10.0, the development version, function as.factor() uses 17 digit
precision for conversion of numeric values to character type. This
is very good for the consistency of the resulting factor, however,
i expect that people will complain about, for example, as.factor(0.3)
being
[1] 0.29999999999999999
Levels: 0.29999999999999999
I suggest to extend the "Warning" section of
2006 May 17
1
Renaming Rplots.ps from BATCH scripts.
I often use R CMD BATCH to run my files (e.g. script.R), and get the
output recorded in script.Rout -- this is great. On my setup (R.2.3.0
on linux), if any plots are created, they get stored in Rplots.ps.
This can get confusing if I have several batch scripts in one
directory.
I've written a simple shell script to rename Rplots.ps to
e.g. script.Rout.ps so that later I can easily identify which script
created the original postscript file. Just thought I'd share it in
case others were inte...
2010 Dec 07
1
Two-node cluster often hanging in o2hb/jdb2
...e cluster sometimes hangs
for about 20 seconds. This happens rather frequently, say every 5
minutes, but the interval seems irregular while the time that it hangs
is quite similar. This behavior seems pretty much independent from
the (IO) load of the nodes (as long as not really high).
I tried a ps, grepping for D repeated every second on both nodes.
When hanging, both show this:
1649 D< o2hb-02BC250CDB ?
3507 R+ ps -
1649 D< o2hb-02BC250CDB ?
3511 R+ ps -
1649 D< o2hb-02BC250CDB ?
3515 R+ ps -
1649 D< o2hb-02BC250CDB...
2006 Nov 07
1
gamm(): nested tensor product smooths
...line beforehand)
###########
test1<-function(x,z,sx=0.3,sz=0.4)
{ (pi**sx*sz)*(1.2*exp(-(x-0.2)^2/sx^2-(z-0.3)^2/sz^2)+
0.8*exp(-(x-0.7)^2/sx^2-(z-0.8)^2/sz^2))
}
n<-400
x<-runif(n);z<-runif(n);
f <- test1(x,z)
y <- f + rnorm(n)*0.1
b<-gam(y~s(x,bs="ps",m=c(3,2))+s(z,bs="ps",m=c(3,2))+te(x,z,bs=c("ps","ps"),m=c(3,1),mp=F))
##works fine
b <- gamm(y~s(x,bs="ps",m=c(3,2),k=10))+s(z,bs="ps",m=c(3,2),k=10)+te(x,z,bs=c("ps","ps"),m=c(3,1),k=c(5,5)))
# : Singularity in bac...
2015 Dec 09
2
Field sensitive alias analysis?
...ut LLVM and C/C++ type agnostic. I think TBAA was
invented to partially cover this gap and give optimization opportunities
when LLVM types are not sufficient but C/C++ types have required
information.
What do you think about following example:
struct S {
int a[10];
int b;
};
int foo(struct S *ps, int i) {
ps->a[i] = 1;
ps->b = 2;
return ps->a[0];
}
define i32 @foo(%struct.S* nocapture %ps, i32 %i) #0 {
entry:
%idxprom = sext i32 %i to i64
%arrayidx = getelementptr inbounds %struct.S, %struct.S* %ps, i64 0, i32
0, i64 %idxprom
store i32 1, i32* %arrayidx, align 4, !tba...
2002 Jan 18
5
contrib/solaris/opensshd.in patch
...else's sshd session)
onanother_note: the buildpkg.sh could use some exec_prefix functionality...
to deal with ./configure --prefix= --exec_prefix=/usr
*** bak/opensshd.in Fri Oct 19 13:36:24 2001
--- opensshd.in Fri Jan 18 11:47:10 2002
***************
*** 8,16 ****
KILL=/usr/bin/kill
PS=/usr/bin/ps
XARGS=/usr/bin/xargs
prefix=%%openSSHDir%%
--- 8,19 ----
KILL=/usr/bin/kill
PS=/usr/bin/ps
XARGS=/usr/bin/xargs
+ FGREP=/usr/bin/fgrep
+ EGREP=/usr/bin/egrep
+ ME=`/usr/bin/basename $0`
prefix=%%openSSHDir%%
***************
*** 22,29 ****
killproc() {
_procna...
2015 Dec 10
2
Field sensitive alias analysis?
> On Dec 10, 2015, at 8:09 AM, Daniel Berlin via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>
> Opps, you are right in my example basicaaa could do it potentially. Correct example is slightly different:
> int foo(struct S *ps, int i) {
> ps->a[i] = 1;
> ps->b = 2;
> return ps->a[i];
> }
> Here basicaa cannot make sure that 'ps->a[i]' doesn't change a...
2010 Aug 23
1
Fitting Weibull Model with Levenberg-Marquardt regression method
...tware I obtain the following coefficients:
Weibull Model: y=a-b*exp(-c*x^d)
Coefficient Data:
a = 1.31636909714E+001
b = 7.61325570579E+002
c = 2.82150000991E+002
d = -9.23838785044E-001
For fitting the Levenberg-Marquardt in R I'm using the following lines:
pS<-list(a=1,b=1,c=1,d=1)
model<-function(pS,xx){pS$a-pS$b*exp(-pS$c*xx^-pS$d)}
resid<-function(observed,pS,xx){observed-model(pS,xx)}
lin<-nls.lm(pS,resid,observed=Y,xx=X)
Why I can't obtain the same results?
Many thanks in advance,
Fabio
Mr. Fabio Veronesi
Ph.D. student
Cranfield...
1998 Jul 06
0
R-beta: Printing documentation for R and all packages installed
...1.1
--- Makefile 1998/07/06 06:40:22
***************
*** 10,23 ****
RsrcLIB = $(rRHOME)/src/library
BUILDlatex = $(RETC)/Rdconv --type latex
! Packages = pkg-base.tex pkg-eda.tex pkg-mva.tex pkg-stepfun.tex
#- Man.tex also must have an \input{..} for each of these ^^^^
Manparts = Man-1.ps Man-2.ps Man-3.ps Man-4.ps\
Man-5.ps Man-6.ps Man-7.ps Man-8.ps
Manbooks = $(Manparts:.ps=.bps)
! all: Man.dvi
$(RLIB)/base/latex/%.tex: $(RsrcLIB)/base/man/%.Rd
$(BUILDlatex) $< > $@
--- 10,48 ----
RsrcLIB = $(rRHOME)/src/library
BUILDlatex = $(RETC)/Rdconv --type l...
2016 Dec 02
4
CentOS 7, PS-2 moose
...three-button mouse, telling me that imaging software is written for
three-button mice (so *please* don't tell me to tell him to get a new
mouse).
Anyway, no cursor. In both /var/log/messages and journalctl, I see "unable
to enable mouse".
What I read in messages and manpages is that PS-2 is default standard...
anyone have any ideas? I need to resolve this asap... so I can get onto
making sure his research imaging software running on CentOS 7.
mark
2001 Apr 14
1
Postscript font bugs (and a suggestion) (PR#914)
...ode crashes R (it asks for a font that isn't there):
postscript()
plot(0:1,0:1)
text(0.5,0.5,'crash',font=6)
The bug appears to be in the FixupFont routine in plot.c; on line 236,
it checks that the font number is in the range 1..32. Later this
crashes PostScriptStringWidth in devPS.c, because only fonts numbered
1..5 are actually defined. I don't know how to fix it.
2. The ?postscript help topic refers to .ps.profile; the actual
variable name is .ps.prolog. The C source in main/devPS.c has this
on lines 606-608, with the incorrect name in the error message:
prol...
2009 Jan 22
15
OT? File order on CentOS/Samba server
...ipage PDF file (for
electronic distribution).
Running on a workstation, Distiller watches the folder on a Samba share
and does the conversion, automatically creating bookmarks, indexes and
other information.
On the Windows server, Distiller processes the files by filename order:
M09010901A001C.ps
M09010901A002C.ps
M09010901A003C.ps
... and so on.
On the Linux server, Distiller processes the files in an order that
seems arbitrary, for example:
M09010901A021C.ps
M09010901A005C.ps
M09010901A015C.ps
... and so on.
The order Distiller uses is NOT related to the time stamp of the files.
I...
2009 Jan 22
15
OT? File order on CentOS/Samba server
...ipage PDF file (for
electronic distribution).
Running on a workstation, Distiller watches the folder on a Samba share
and does the conversion, automatically creating bookmarks, indexes and
other information.
On the Windows server, Distiller processes the files by filename order:
M09010901A001C.ps
M09010901A002C.ps
M09010901A003C.ps
... and so on.
On the Linux server, Distiller processes the files in an order that
seems arbitrary, for example:
M09010901A021C.ps
M09010901A005C.ps
M09010901A015C.ps
... and so on.
The order Distiller uses is NOT related to the time stamp of the files.
I...
2007 Feb 02
2
Help with OS X (BSD) ps command
...this in one of two ways:
pid <- Sys.getpid()
user <- Sys.info()["user"]
cmd <- paste("pgrep -fU", user, "-P", pid, "'FAME SERVER'")
fameRunning <- as.logical(length(system(cmd, intern = T)))
or I can use
cmd <- paste("ps -ef | grep", user, "| grep", pid,
"| grep -v grep | grep -c 'FAME SERVER'")
fameRunning <- as.logical(as.numeric(system(cmd, intern = T)))
Mac OS X does not have pgrep, and being a BSD derivative, takes different
arguments for the 'ps'...