similar to: Error when following online tutorial

Displaying 20 results from an estimated 4000 matches similar to: "Error when following online tutorial"

2006 Dec 04
1
rspec tutorial - "one item" should equal "one item"
Apologies in advance if this is a Ruby-ignorant question. I''m working my way through the tutorial, and I made it to page 3, where I found a discrepancy. In the 5th code block, preceded by "What''s the simplest thing we can add to meet all of the current expectations?" I add the trivial return value to the top method as shown. Now the stack is supposed to be
2007 Apr 04
11
ANN: RSpec 0.9.0 beta-1 available for download.
We''d like to get some feedback on RSpec 0.9 before we start pushing out releases via Rubyforge''s gem server and update the website. We have therefore made the first beta of 0.9 available - both prepackaged and tagged in subversion (see below). RSpec 0.9 introduces a new API for expectations, which essentially means that your underscores go away (there has been other discussions
2007 May 30
2
should_eql etc?
Hi, I''m trying the specs for restful_authentication I found here http://jonathan.tron.name/articles/2007/01/02/rspec-on-rails-restful- authentication It seems to use custom .should methods: should_eql, should_be_an_instance_of, should_redirect_to, should_be_success, should_not_be_nil, should_be_nil, should_not_be_nil, should_be_empty, should_be_success, should_not_change, and
2006 Dec 04
5
should_be_different -- possible implementation
There is an assert_difference helper for Test::Unit (you can read about it at http://blog.caboo.se/articles/2006/06/13/a-better- assert_difference and to some it should look familiar -- you know who you are :), so I took a shot at one for rSpec on Rails. class Object def should_be_different(method = nil, difference = nil) return self.should_not_eql(yield) if method.nil?
2006 Jun 15
1
Problem with deployment on TextDrive using shovel script
Hi, I try to deploy rails application to textdrive account. I use Geoffrey Grosenbach''s script http://nubyonrails.com/pages/shovel Unfortunatly I receive error message :-( Can you help me with this problem? I have no clue where exactly problem is :-( Please see log below ---- LOG ---- c:\Projekty\truck\trunk>rake --trace remote:exec ACTION=setup_lighty (in
2013 Sep 30
2
climstats
I have been trying to download the climstats package: https://r-forge.r-project.org/R/?group_id=861 but it doesn't seem to run on R 3.0.2 or 3.0.1 and the zipfile is empty. Does anyone know the status of this package or where I can download it. Thanks ****************** Jenny Williams Spatial Information Scientist, GIS Unit Herbarium, Library, Art & Archives Directorate Royal Botanic
2018 Feb 20
3
JGR not installed. Attempting to install from CRAN...
Loris, thank you thank you so much!!! do you know which CRAN mirror i select? There are loads - all related to various countries.. so appreciate the help Jenny Jenny Coetzee (PhD Candidate) Head of Prevention in Key Populations & Head of the Soweto Sex Worker Project Perinatal HIV Research Unit (PHRU) New Nurses Home Chris Hani Baragwanath Academic Hospital Soweto B: +27 11 989 9821 M:
2006 Dec 14
7
loop is going to take 26 hours - needs to be quicker!
Dear R-help, I have a loop, which is set to take about 26 hours to run at the rate it's going - this is ridiculous and I really need your help to find a more efficient way of loading up my array gpcc.array: #My data is stored in a table format with all the data in one long column #running though every longitute, for every latitude, for every year. The #original data is sotred as
2007 Oct 31
3
thicker axis in levelplot
Dear R-help community, I need to find out how to make the black axis line around my plot thicker in levelplot, I cannot find the correct command in ?levelplot or ?par - or if it is there I cannot get it to work - any help would be more that appreciated! Here's an example script - I would want the code for making the axis bordering the plot thicker: x<- seq(pi/4, 5*pi,length=100)
2006 Jun 28
2
[PATCH] Bug fixes and additions to scoped_access
I found that scoped_access does not re-evaluate the filters on every run. If you are filtering access based on parameters, this can be bad. The scope is set on the first request and then further requests use the last generated scoping. The initial part of ScopedAccess::Filter#before looks like this: @scoping = controller.instance_eval(@scoping.to_s) if @scoping.is_a?(Symbol) This makes
2003 Jun 13
4
CallerID forward???
Here is the situation that I would like to create: Call comes in Receptionist sees that the caller ID is Jenny <8675309> Receptionist picks up phone and transfers call to Batman Batman looks at his phone and sees that the caller ID is Jenny <8675309> I can't seem to figure out how to forward the caller ID. Is this possible with Asterisk?
2018 Feb 20
0
JGR not installed. Attempting to install from CRAN...
Hi Jenny, Jenny Coetzee <coetzeeJ at phru.co.za> writes: > Hello > > I am new to R, and am running a programme called RDS Analyst which > uses R. When trying to open RDS i am getting the following message: > JGR not installed. Attempting to install from CRAN? > > I am not sure if the issue is a Java one or an R one? > > I am working off a Mac using High Sierra
2007 Jun 06
3
random numbers selection - simple example
Dear R-help, Which random number generator function would you recommend for simply picking 15 random numbers from the sequence 0-42? I want to use replacement (so that the same number could potentially be picked more than once). I have read the R-help archives and the statistics and computing book on modern Applied statistics with S but the advice seems to be for much form complicated
2006 Dec 11
3
upside down image/data
Dear R-community, I am looking for some simple advice - I have a matrix (therefore 2 dimensional) of global temperature. Having read R-help I think that when I ask R to image() or levelplot() my matrix will it actually appear upside down - I think I therefore need to use the line: > levelplot(temperature.matrix[,ncol(output.temp):1], ........) to get it looking like it was on the globe due
2006 Nov 23
3
reaccessing array at a later date - trying to write it to file
Dear R-help community I am trying to write an R object (data.out) to a file in order to re-access it later and not have to re-load up the array with data every time. Here is the form of data.out > data.out <- list(lats=seq(88.542, -88.542, length=94), lons=seq(0, 360-1.875, length=192), date=vector(length=nyr*12), data=array(NA, c(nyr*12, 94*192)) ) I tried >
2008 Jun 30
2
Which distribution best fits the data?
Dear R-help community, Does anybody know of a stats function in R that tells you which distribution best fits your data? I have tried look through the archives but have only found functions that tell you if it's normal or log etc. specifically - I am looking for a function that tells you (given a timeseries) what the distribution is. Any help/advice will be greatly appreciated, All the
2008 Sep 10
2
trouble printing from graphics device in R 2.7.2
Hi, I've been using R for many years and have always tried to keep my R version up to date, and when I switched from 2.7.1 to 2.7.2 I'm suddenly having trouble printing from the graphics device. I have Windows XP, and installed both versions of R from the binaries. If I start 2.7.2 and simply do: > plot(1:10) the default R Graphics Device window opens as usual. However, when I
2007 Jan 24
2
keep track of selected observations over time
Dear all, Attached is a description of my data, graph and the problem which I need help with. Hope you have time to open the file and help me out. Many thanks, Jenny ---------------------------------
2018 Feb 20
2
JGR not installed. Attempting to install from CRAN...
Hello I am new to R, and am running a programme called RDS Analyst which uses R. When trying to open RDS i am getting the following message: JGR not installed. Attempting to install from CRAN? I am not sure if the issue is a Java one or an R one? I am working off a Mac using High Sierra Any help please..? thanks Jen Jenny Coetzee (PhD Candidate) Head of Prevention in Key Populations
2008 May 27
3
How to test significant differences for non-linear relationships for two locations
Hi List, I have to compare a relationship between y and x for two locations. I found logistic regression fits both datasets well, but I am not sure how to test if relationships for both sites are significantly different. I searched the r site, however no answers exactly match the question. I used Tukey's HSD to compare two means, but the relationship in my study was not simply linear. So I