Displaying 20 results from an estimated 10000 matches similar to: "Does S inherit the enhancements in R language?"
2007 Aug 20
1
Common routines for custom functions
Hello
I want to share some common subroutines between my custom functions.
Given the way Puppet loads the .rb files in
$plugindest/puppet/parser/functions, does anyone know how should I lay
this out?
I tried creating a
module myutilities
def self.blah()
...
end
end
(NOT within the newfunction() call) in one of the (top-level) functions''
.rb file.
However, calling
2007 Apr 28
1
pelementserver/XML-RPC interface question
One particular use of Puppet would be to serve as a machine fact/configuration
retrieval tool. So in order to produce a list of packages with version-release
info installed on each machine something along the lines of the following code
could be run:
require ''puppet''
Puppet::Type.type(:package).defaultprovider.list.each do |package|
puts
2006 Dec 14
11
Puppet and Cfengine Differences
Hello,
I''ve recently begun looking at Puppet as an alternative to Cfengine and I
have a couple of questions.
1) Besides the information posted on the Puppet website, are there any
critical differences between Puppet and Cfengine?
2) Does Puppet allow for client-specific file text manipulation. For
instance, in Cfengine I can add a line of text to a file if the line doesn''t
2007 Feb 08
5
Mass "require"s
Hi there,
I want to manage some files with puppet that control the installation of
packages in Gentoo (/etc/make.conf, /etc/portage/*). These files must be
downloaded to the client before any package resource is processed, so they
are installed correctly. Is there any way to do this? Possible solutions:
1. Include in *every* package require => [ list of files ] inside a case
statement, so
2001 Sep 14
2
[Fwd: Bush's Press Conference: Into the Abyss]
Emperors1000@aol.com wrote:
>
> Dear reader,
> The emperorsclothes list does not seem to be working. Please forgive us if
> you receive this post twice. - Jared Israel, www.tenc.net
> **************************
> URL for this article: http://emperors-clothes.com/articles/rozoff/abyss.htm
>
> To join the Emperor's Clothes email list, go to
>
2011 Feb 13
3
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
Oh, I thought that after "codegening" cos(0) would get me double 1.0
(assigment is working for anything like: global a = 1/3 + 2 /3 for
example) What would be the best way to make assigments involving
functions, like global a = cos(0);
without getting the assertion arising from InitVal =
cast<Constant>(Init->Codegen()); ?
I made some changes and now my code basically works,
2003 May 28
2
R Enhancements
Hi,
We - Venkatesh Mysore and Salvatore Paxia of the New York University's Bioinformatics Group under Prof.Bud Mishra - have been working on enhancements to R for a while now.
We're happy to announce that we have some good stuff up and running now:
1. A debuggable Microsoft Visual C version ( _MSC_VER) of R-1.7.0: R-1.7.0-msc (YES !!!!)
2. COM/OLE-support that will allow invoking of
2006 Dec 23
7
OT: any recommendation for scripting language
Right now, I am using SAS and S+/R. As a new year resolution, I am
planning to learn a scripting language.
from statisticians' point of view, which scripting language is worth
to learn, perl, python, or any other recommendation? (Most likely, I
will be learning it in windows.) Since I am not in research, I will
prefer one widely used in industry and related to statistical work.
if you
2005 Aug 10
5
how to write assignment form of function
Dear All,
where can I find information about how to write an assigment form of a
function?
For curiosity I tried to write a different form of the levels()-function,
since the original method for factor deletes all other attributes of a factor.
Of course, the simple method would be to use instead of levels(x) <-
newlevels, attr(x, 'levels') <- newlevels.
I tried the following:
##
2007 Nov 21
9
purging exported resources
So I have the following:
define nagios::service (
$nagios_template = ''service-template'',
$host_name = $fqdn,
$service_groups = '''',
$contact_groups = $default_contact_group,
$max_check_attempts = 3,
$dependency = false,
$dependent_host = $fqdn,
$dependent_service = '''',
$check_command = ''''
) {
2024 Jul 15
1
Minor inconsistencies in tools:::funAPI()
Hi all,
I've noticed some peculiarities in the tools:::funAPI output that
complicate its programmatic use a bit.
- Is it for remapped symbol names (with Rf_ or the Fortran
underscore), or for unmapped names (without Rf_ or the underscore)?
I see that the functions marked in WRE are almost all (except
Rf_installChar and Rf_installTrChar) unmapped. This makes a lot of
sense because some
2008 Mar 10
10
tutes on testing controllers
hello spec''ers,
i''m in the hunt for guides on testing controllers with rspec, would
you guys recommend any?
thanks
Oliver
--
Oliver Azevedo Barnes
oli.azevedo.barnes at gmail.com
+55 11 9768 0193
http://www.linkedin.com/in/oliverbarnes
http://workingwithrails.com/person/4704-oliver-barnes
2010 Feb 12
1
Using seq_len() vs 1:n]
Pat Burns makes a good point. -Peter
-------- Original Message --------
Subject: Re: [R] Using seq_len() vs 1:n
Date: Fri, 12 Feb 2010 09:01:20 +0000
From: Patrick Burns <pburns at pburns.seanet.com>
To: Peter Ehlers <ehlers at ucalgary.ca>
References: <4B746AEF.10900 at ucalgary.ca>
If you want your code to be compatible with
S+, then 'seq_len' isn't going to work.
2006 Jul 26
2
newbie - HABTM confused...
I have a users table. I have a assignment table. and I have to log in
to see my assignments. i can and I hasve a session id.
I can make a new assignment and save my id in the user_id field of the
assigment table.
I want to share my assignments. so I can create a assignments_users
table. this way I can have assignment 1 shared with user 1 and 2. and
If I log in as user 1 or 2 I see the assignment.
2011 Feb 13
0
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
Hi Anton,
> Oh, I thought that after "codegening" cos(0) would get me double 1.0
> (assigment is working for anything like: global a = 1/3 + 2 /3 for
> example) What would be the best way to make assigments involving
> functions, like global a = cos(0);
> without getting the assertion arising from InitVal =
> cast<Constant>(Init->Codegen()); ?
the problem
2011 Feb 13
1
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
Hi Duncan and Reid,
Thanks for your comments and suggestions. I was puzzled because
assigning to a local variable in the tutorial example works. For
example:
var a = cos(1) in (
2 * a );
emits
declare double @cos(double)
define double @0() {
entry:
ret double 0x3FF14A280FB5068C
}
and we get the right answer 1.08060461.
On Sun, Feb 13, 2011 at 5:09 PM, Duncan Sands <baldrick at
2008 Jul 29
4
Graphics function question
Hello
I have created a graph using the following commands:
<<<
startBReP3O1T <- diffs$BReP3O1T - diffs$diff_BReP3O1T
endBReP3O1T <- diffs$BReP3O1T
x <- seq(47,89, length = 10)
ymin <- min(min(startBReP3O1T), min(endBReP3O1T))
ymax <- max(max(startBReP3O1T), max(endBReP3O1T))
y <- seq(ymin, ymax, length = 10)
plot(x,y, type = 'n', xlab = 'Age', ylab =
2003 Jan 08
1
Lattice: Plotting two densities on the same plot(s)?
I am trying to plot two density lines on the same graph. Using the
functions on the base package, I would go:
plot(density(x), col = 1)
lines(density(y), col = 2)
And I get two distinct (one-bump) density lines. When I try to do it
using lattice, I get two two-humped lines. (In other words, I think the
smoothing function is taking the next set of data points and smoothing them
in the same
2011 Feb 13
0
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
Hi Anton,
> But there are still some details I must be missing. I'm getting an assertion
> when I try the following assignment in my script:
> global c = cos(1);
> Assertion failed: isa<X>(Val) && "cast<Ty>() argument of incompatible type!",
I think this is telling you that cos(1) is not a constant.
Ciao, Duncan.
2011 Feb 13
2
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
Hi Duncan
Many many thanks, it works now!
But there are still some details I must be missing. I'm getting an assertion
when I try the following assignment in my script:
global c = cos(1);
Assertion failed: isa<X>(Val) && "cast<Ty>() argument of incompatible
type!", file c:/llvm-source-2.7/include/llvm/Support/Casting.h, line 200
However, running for example