Displaying 20 results from an estimated 20000 matches similar to: "puppet custom fuction run as user pupprt?"
2011 May 04
2
Passenger Error "during the evaluation of config/environment.rb"
I have been through all of the instructions for setting up a
PuppetMaster using Passenger. At the present time, when I access
Passenger I receive the Passenger Error page with the message "The
application has exited during startup (i.e. during the evaluation of
config/environment.rb)". I''ve looked at the log files and there is
nothing obvious.
When I run puppetmaster
2011 Nov 16
11
What is the offical variable scope best practice?
I read the guide at
http://docs.puppetlabs.com/guides/scope_and_puppet.htmland others''
mail, i am a little confused now, below is my understanding:
1. top scope only refers to site.pp, not include node definitions and facts.
2. in puppet class, using variables not local, must specify the namespace,
like $class::variable,
if it''s a top scope variable or a fact variable or a
2011 Mar 04
3
integrate a fuction
I'm having a function of the form
1> f<-function(x){
1+
1+ return(x^p)
1+
1+ }
,and I would like to integrate it with respect to x, where p should be any
constant.
One way would be to set a value for p globally and then call integrate
function:
p=2
integrate(f, lower = -1, upper = 1)
However, I would like to use 'integrate' inside a function, so I could call
it passing
2012 Jun 15
1
help in sentDetect() fuction
hello,
I am using the following code
>s<-"I am very happy, excited, and optimistic.I am very scared, annoyed, and
irritated.Iraq?s political crisis entered its second week one step closer to
the potential.dissolution of the government, with a call for elections by a
vital coalition partner and a suicide attack that extended the spate of
violence. that has followed the withdrawal.of
2007 Jan 28
3
Inverse fuction of ecdf
Hi Everyone,
I want to generate some random numbers according to some empirical
distribution. Therefore I am looking for the inverse of an empirical
cumulative distribution function. I haven't found any in R. Can anyone
give a pointer?
Thanks,
Geoffrey
_______________________________________________________=0A=
=0A=
=0A=
The information in this email or in any file attached
2011 Jul 14
2
Puppet 2.6.x fate
It was decided earlier this week that the 2.6 series will have it''s
last release at 2.6.10 (we''re currently at 2.6.9). However, we are
not doing a 2.6.10 RC/release this month. That will wait until
August.
If you have patches waiting on some final tweaks or any other work
that you feel like just *has* to be in the 2.6 series, please get it
filed with us ASAP. Right now the
2011 Jan 28
3
any similiar R fuction for matlab function 'fprintf'?
Dear All,
Currently, I am translating Matlab code to R. I met difficulties to translate such Matlab codes into R:
fprintf(fid,(' SPLITTING RESULTS '));
fprintf(fid,(' \n'));
fprintf(fid,' Data base to analyze is a matrix %4i x %2i ',[n m]);
fprintf(fid,' \n');
fprintf(fid,' h is %2i',h);
fprintf(fid,' \n');
fprintf(fid,' group=0
2010 Oct 11
1
LDA fuction
Hello,
I wonder what analysis i have to use to evaluate which environmental
variables most closely related to the grouping that I have.
I has 38 streams are grouped based on eight environmental variables, but I
wonder how these variables relate to these groups.
Example.: PH, dissolved oxygen and altitude over which these variables
relate to a group one, and two . . .
Understood .....????
my
2002 May 29
2
Tcl/tk , question about the environment of the call
This is my simple code, my intention is to let the inner function browse the
objects in the outer function.
#######################
tk1 <- function() {
tk2 <- function() {
inner <- 3
list2 <- ls()
#list objects in fuction tk2
print("**** inner objects ****")
print(list2)
#list objects in fuction tk1
list_parent <- ls(parent.frame())
2009 Aug 09
2
[LLVMdev] function abs doesn't support 64bit integer, so i add a fuction
I add a function abs64 to support abs for 64 bit integer
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvmabsfault.patch
Type: application/octet-stream
Size: 800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090809/0d1aa27d/attachment.obj>
2004 Nov 26
0
snom - blinking leds on fuction keys when call is not yet established - how?
hi,
i just ported the patch of David Hinkle
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg49781.html
to the current cvs version of asterisk. the theory is that the leds of
supervisioned extensions are blinking until a call is established
whereafter the leds should be constantly lit.
however it's not working.
the asterisk server is sending the following xml notify to the
2008 Jul 20
2
How to inform all the daemons I have modified the smb.conf file
Hello, everyone
I edit the lp_load() of the samba source that this fuction may modify the smb.conf sometimes. How can I let all the samba daemons know that?
Restarting samba service may cause all link break up.
Thanks!
From miguelmedalha at sapo.pt Sun Jul 20 06:29:09 2008
From: miguelmedalha at sapo.pt (Miguel Medalha)
Date: Sun Jul 20 06:29:42 2008
Subject: [Samba] How to
2012 Dec 06
1
Fuction Error
I'm calling a list of symbols and then using a function to build a data
frame from that symbol list. It works great until I introduce this index
symbol from yahoo '^GSPC'. When and index symbol is introduced I get and
error which is below.
> Data <- symbolFrame(symbols)
Error in get(S) : object '^GSPC' not found
Since R does not like the ^ in front of a name it
2016 Apr 07
0
using apply to a data frame
??I would like to apply a function, fract, to the columns of a
dataframe. I tried the following
apply(data5NonEventEpochs,2,fract)
but, no surprise it did not work as apply works on matrices not data
frames. How can I apply a fuction to the columns of a data frame? (I
can't covert data5NonEventsEpochs to a matrix as it contains character
data).
Thank you,
John
John David Sorkin M.D., Ph.D.
2009 Oct 13
3
cdf
Dear all,
I have the cdf of the following power fuction distribution:
F(y)=(y/350)^a ,0<y<350,
where " a " is some parameter with range a>0.
I want to use it as the argument of the discretize function of the actuar package.
So I think I need to define this function to R so that if I entered a=1, I get the following
F(y)=(y/350)
and if I entered a=4.5, I get the
2013 Aug 27
1
return the name of source.
Is there a fuction that will allow me to retrun the filename for a script
from within that script.
fir instance
If I have a script "myscript.r":
FileName<-unknown.fucntion()
print(FileName)
and run it
source("myscript.r")
will return
"myscript.r"
Thanks
Nevil Amos
[[alternative HTML version deleted]]
2006 Sep 28
2
get index of elements in vector
Hello all
Is There a fuction that return a index of a element in vector?
like this semantic example:
vector = c( 100, 200, 300 )
getINDEX( vector, value = 200 )
Thanks in advance for your attention.
Cleber Borges
2006 Jul 14
2
Negative Binomial: Simulation
Hi R-Users!
I fitted a negative binomial distribution to my count data using the
function glm.nb() and obtained the calculated parameters
theta (dispersion) and mu.
I would like to simulate values from this negative binomial distribution.
Looking at the function rnbinom() I was looking at the relationship
between the two possible parametrizations of the negative binomial and found
that for this
2009 Aug 21
2
multiple linear regression
Good morning,
I want to make a linear regression of a variable fuction of two variables y = a1 x1 + a2 x2 + c
I found the function lm (y ~ x) but it used for a simple linear regression, but for multiple regression i do not know which function do this!!
Can you help me please!!
Thank you in advance
[[alternative HTML version deleted]]
2010 Feb 01
2
programing problem with for( )
Hi R-users
I'm writing a code to run a fuction but I found an error that I can't fix. I
reproduced the error with a simple example.
The correct answer is k but I can't fill my s matrix. What I'm doing wrong?
s<-matrix(data=NA,nrow=1,ncol=5 )
s
for(i in 1:5)
{
k=sqrt(i)
s[,i]<-k[i]
print(k)
}
s
Thanks in advance,
Marlene.
[[alternative