Displaying 14 results from an estimated 14 matches for "lowis".
Did you mean:
louis
2010 May 02
3
How could I use a function saved in one file ?
Dear All:
I create a file named :"P_Value" with only one simple function:
P_Value <- function( Table ) {
S = fisher.test(Table, alternative = "two.sided");
return(S$p.value);
}
However, it seems that it's impossible to use this function
directly, because no matter
where I save this file, R always reports
2007 Sep 05
4
Mocking to spec a sort_by method
...nError in ''Comparer should be sortable on a specific symbol''
#<Mock:0x251b7c8>.[](:mph) - expected calls: 0, actual calls: 1
I assume sort_by is trying to call a [] method ? How do I stub this
method correctly using Mocha ?
Thank you for any help,
Chris
--
Chris Lowis
http://www.chrislowis.co.uk/
2009 Feb 03
2
ThinkCell type waterfall charts in R?
Hi all,
with PowerPoint and ThinkCell one can draw something they call waterfall
chart and it looks like this:
http://www.think-cell.com/products/images/waterfall.gif
I found discussions on waterfall charts in the archive of this
mailinglist, but unfortunately they looked totally different. Other
names for this type of plot seem to be bridge chart, cascade chart,
stair case chart, etc. but
2006 Jul 31
9
Problems with ever-increasing ID value
I have a script that I am using to populate a database from a CSV file:
RAILS_ENV = ''development''
require File.dirname(__FILE__) + ''/../../config/environment''
require ''csv''
# Destroy existing data
Residence.destroy_all
# IMPORT DATA FROM apartments.csv
db_file = "#{RAILS_ROOT}/db/apartments.csv"
CSV.open(db_file, "r",
2006 Aug 16
5
Dreamhost FastCGI: incomplete headers (0 bytes) errors
...AME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
Unfortunately I cannot access my app. After a couple of minutes I get a
Application error
Rails application failed to start properly
and
[Wed Aug 16 03:01:05 2006] [error] [client 88.110.215.43] FastCGI: comm
with (dynamic) server "/home/c_lowis/residence-review.com/dispatch.fcgi"
aborted: (first read) idle timeout (120 sec)
[Wed Aug 16 03:01:05 2006] [error] [client 88.110.215.43] FastCGI:
incomplete headers (0 bytes) received from server
"/home/c_lowis/residence-review.com/dispatch.fcgi"
in my error.log in the ~/logs/...
2006 Aug 16
6
Experience with ferret on Dreamhost ?
...can require ''ferret'' and make a
new Index object . Everything appears to be ok in that respect.
Unfortunately there is nothing logged in these circumstances, except :
[Wed Aug 16 07:10:23 2006] [error] [client 152.78.115.107] FastCGI: comm
with (dynamic) server
"/home/c_lowis/residence-review.com/public/dispatch.fcgi" aborted:
(first read) idle timeout (120 sec)
[Wed Aug 16 07:10:23 2006] [error] [client 152.78.115.107] FastCGI:
incomplete headers (0 bytes) received from server
"/home/c_lowis/residence-review.com/public/dispatch.fcgi"
in the "apa...
2006 Aug 16
3
gems vs plugins
Hi,
Is there an easy way of converting a gem to a plugin, or at least
something you can dump into $RAILS_ROOT/vendor?
I''m uncomfortable having stuff like capistrano, the shipping gem,
builder, autotest being installed globally as a gem instead of being
installed for each application.
What do you think?
Joe
2006 Jul 09
4
Search terms in URL
I have set up a ferret search using the examples in the demo app. Is it
possible to have the search terms included in the URL, so that, for
example, users can bookmark a search results page ?
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Aug 12
2
How to add # anchor to ferret generated url ?
I have the following action in my controller
def search
@query = params[:query] || ''''
unless @query.blank?
@results = Residence.find_by_contents @query
end
end
In my View I have
<div id="search-box">
<%= form_tag( { :action => ''search''}, :method => ''get'')%>
<input type="text"
2006 Jul 27
2
is there an easy way to move data from one table and copy it
to another?
i would like my website to be able to have the user to fill out a web
form. i then would like to have a view of my own to either accept or
reject what the user filled out. if i accept it, i want the info deleted
from where it was stored and then store it to the ''public'' database.
i guess its all of a matter of saving each field in the form to a temp
table. when
2006 Sep 01
1
integration problem with gamma function
Dear R-list members,
I have a problem with translating a mathematica script into R. The whole
script is at the end of the email (with initial values for easy
reproduction) and can be pasted directly into R. The problematic part
(which is included below of course) is
<--- Original Mathematica --->
(* p_svbar *)
UiA = Ni (Dsi - 2Di A + A^2)/2;
UiiA = Nii (Dsii - 2Dii A + A^2)/2;
psvbar =
2007 Sep 05
5
RSpec for dummies screencast?
Does anyone know of any RSpec screencasts for dummies, like me :)
I have a Java background, but I have never written a java test in my
life. I''ve never learned about TDD or BDD so I''m totally blank on
everything that has anything to do with testing and stuff.
Where should I start?!? ;)
Christian...
--~--~---------~--~----~------------~-------~--~----~
You received this
2006 Oct 03
8
Ferret install, rake failing on make
.../lib/rake.rb:1906:in `run''
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
/usr/bin/rake:18
This is slightly lost on me as I am a Ruby newbie, hopefully someone
will be able to tell me what is going on.
Thanks.
Dougal. (I posted this on comp.lang.ruby, and was referred here by Chris
Lowis, thanks Chris).
--
Posted via http://www.ruby-forum.com/.
2007 Sep 07
7
Simple websites (no DB?) with Rails??
I have been learning Rails and building small things over the last
several months. Question I have that has been surprising difficult to
figure out is this (I know it seems somewhat nonsensical but ignore
that). I recently started getting a few requests for basic website to
be built, small businesses, stores, even individual people. How would
one about doing such a thing using Rails? I may not