Displaying 20 results from an estimated 4000 matches similar to: "vectorizing an iterative process."
2007 Jan 02
2
R modules
Hi All,
I'd like to know what is the best way to organize R code in multiple modules=
and files. The R code we are writing is too much for a single file. Besides=
, there are a lot of reusable functions we'd like to factor out. But writing=
a package for that is quite an over-kill and might be too inflexible.
So what is the best way to organize R code into multiple files and reusable=
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
2006 Dec 29
1
Difference of array and vector
Hi,
I am really new at R. Does anyone know what is the real difference of
vector and array, except that many operations that expect an array does
not work on a vector?
Thanks,
Geoffrey
_______________________________________________________=0A=
=0A=
=0A=
The information in this email or in any file attached hereto is=0A=
intended only for the personal and confidential use of the individual=0A=
2007 Feb 08
1
Scope
Hi all,
When I write a script, I'd like to create a main() function so that I
only need to type main() t re-run it. However, I'd like all the
variables in main() to be global so that when the function terminates, I
still have access to the variables in the environment. Does anyone know
how to do that?
Best regards,
Geoffrey
_______________________________________________________=0A=
2007 Nov 15
1
HELP: How to subtract a vector out of each row of a matrix or array
Hi All,
I am having great trouble doing something pretty simple.
Here is what I did:
> x <- read.table("clipboard")
> dim (x)
[1] 126 10
> typeof(x)
[1] "list"
> w <- array(x)
> typeof(w)
"list"
Q1: How come after constructing an array out of the list, the type of
the array is still "list"?
> w <- as.array(x)
Error in
2015 Jul 21
2
[LLVMdev] llvm books
Dear All,
Did anyone read these 2 books?
https://www.packtpub.com/application-development/llvm-cookbook
LLVM Cookbook | PACKT Books
Over 80 engaging recipes that will help you build a compiler frontend, optimizer, and code generator using LLVM
Read more...<https://www.packtpub.com/application-development/llvm-cookbook>
2011 Dec 08
2
a weird "cut" question
Dear R People:
I have the following data:
> ail.df[,1]
[1] 47677 47602 47678 47905 47909 47906 47605 47673 47607
> cut(ail.df[,1],breaks=3)
[1] (4.76e+04,4.77e+04] (4.76e+04,4.77e+04] (4.76e+04,4.77e+04]
[4] (4.78e+04,4.79e+04] (4.78e+04,4.79e+04] (4.78e+04,4.79e+04]
[7] (4.76e+04,4.77e+04] (4.76e+04,4.77e+04] (4.76e+04,4.77e+04]
Levels: (4.76e+04,4.77e+04] (4.77e+04,4.78e+04]
2006 Jun 14
3
Trouble Configuring NUT with Gamatronic USB
Hi
I am running FC5 with nut coming from the fc5 extras repositories. I
am trying to configure a Gamatronic D-Compact ups. The cable that came
with the ups has a serial connector on one end and a usb on the other.
cat /proc/bus/usb/devices produces
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P:
2009 Dec 11
12
Literature analysis
Dear all,
i am new in R. I am writing a review paper about batteries. However, i
am interested in analyzing all the papers by keywords, author,
references and year.
This could be done by "refviz" a software, which is only running on
windows machines and which is not free.
So my question to you is, is it somehow possible to write a script that
can do all of this work?
And if yes, with
2015 Jun 02
2
GlusterFS 3.7 - slow/poor performances
hi Geoffrey,
Since you are saying it happens on all types of volumes,
lets do the following:
1) Create a dist-repl volume
2) Set the options etc you need.
3) enable gluster volume profile using "gluster volume profile <volname>
start"
4) run the work load
5) give output of "gluster volume profile <volname> info"
Repeat the steps above on new and old
2017 Jul 20
3
vacation problem with SRS
I have this version with FIXME
/* FIXME: If From header of message has same address, we should use
that
* instead to properly include the phrase part.
*/
rfc2822_header_printf(msg, "To", "<%s>", reply_to);
This should be work ok? Or You must change something?
2017-07-20 15:51 GMT+02:00 Stephan Bosch <stephan at
2007 Sep 05
4
False Positives and Autotest on New Folders
False Positives
I just discovered how easy it was to create a false positive when I, trying
my first RSpec test, did this:
ob.should eql?(''foo'')
instead of:
ob.should eql(''foo'')
or:
ob.should == ''foo''
As far as I can see, this is roughly equivalent to:
ob.should false
Neither eql?(''foo'') nor false causes the spec
2013 Nov 06
2
[LLVMdev] configparser and ConfigParser are different
LLVM builds with me on the release_33 branch, but fails on trunk. I
bisected the problem to this commit:
commit b49fb7bcd5001567d2da06f6a6e1c7ba79649e1b
Author: Daniel Dunbar <daniel at zuster.org>
Date: Wed Aug 14 23:15:39 2013 +0000
[llvm-build] Make Py3 compatible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk at 188424
91177308-0d34-0410-b5e6-96231b3b80d8
2006 Apr 28
8
Effects fully display before effect
Why do effects that display an element (like Appear or Slide Down) start by
displaying the element for a split second and then make the element
disappear?
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2011 Nov 14
1
.jinit() : Cannot create Java virtual machine
Dear all,
when using .jinit() I get the message .jinit() : Cannot create Java
virtual machine (-1).
The details:
I am using the Dismo package.Dismo has a function 'maxent' that communi-cates with this program(MaxEnt).MaxEnt is available as a stand-alone Java program.
It is normal when I execute the command : "jar <- paste(system.file(package="dismo"),
2007 Oct 05
4
have_xml_tag
Hi
Was just using have_tag on an xml response and found the problem
outlined and resolved here
http://weblog.jamisbuck.org/2007/1/4/assert_xml_select
Just wondered if there is any support in rspec?
Cheers
Shane
Shane Mingins
ELC Technologies (TM)
PO Box 247
Santa Barbara, CA 93102
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype:
2006 Jul 05
10
Google/Netflix Like Tooltips
I need to have a toolip-like object which has dynamic content in it. I
plan on using scriptaculous with an ajax call to retrieve the content,
but I would like to make the popup/tooltip/balloon text look as nice as
possible. Does anyone have any examples or anything useful to create a
popup like the ones that Google and Netflix have? I''d like to have one
which must be
2007 Sep 09
11
Going beyond the default html formatter/report?
Hi!
I wonder does anybody planning to go beyond the default html formatter/report?
The current html report is nice and green but what about to go a
little silly and enable also user input. For example to let customer
to add a new pending spec, comments etc. I feel it might be mentally
easier for some customers to jump into spec world when it is possible
to give input at "the same
2013 Nov 06
0
[LLVMdev] configparser and ConfigParser are different
Okay, I've traced it to a bug in configparser, which on my python
2.7.4 system is a backport of configparser from python 3. Here is a
clean patch that works around the problem.
Geoffrey
On Wed, Nov 6, 2013 at 10:24 AM, Geoffrey Irving <irving at naml.us> wrote:
> LLVM builds with me on the release_33 branch, but fails on trunk. I
> bisected the problem to this commit:
>
>
2010 Jan 05
5
mean for subset
Hello, does anyone know how to take the mean for a subset of observations?
For example, suppose my data looks like this:
OBS NAME SCORE
1 Tom 92
2 Tom 88
3 Tom 56
4 James 85
5 James 75
6 James 32
7 Dawn 56
8 Dawn 91
9 Clara 95
10 Clara 84
Is there a way to get