Displaying 20 results from an estimated 200 matches similar to: "College course on Ruby on Rails"
2005 Dec 20
9
Mad Rails
Hello all,
I work for a company located in Madison, WI and we''re looking at
replacing a pre-Struts J2EE ecommerce app with Rails. ''ve been
using Rails with pleasure for the last year on several supporting
applications, and I have everyone else convinced that it''s at least
worth investigating. The developer team has a few experienced Java
developers who are
2018 Feb 13
3
Suppress horizontal mean line in beanplot()
Hi,
I would like to use the beanplot() function from the beanplot package.
Unfortunately, I can't find out how to suppress the dashed horizontal
line, that shows the overall mean.
In the help I've found the argument "overallline", but it only allows
for "mean" or "median" .
I have tried overallline = F, overallline="n", and
2017 Oct 10
1
Unbalanced data in split-plot analysis with aov()
Dear all,
I'm analysing a split-plot experiment, where there are sometimes one or
two values missing. I realized that if the data is slightly unbalanced,
the effect of the subplot-treatment will also appear and be tested
against the mainplot-error term.
I replicated this with the Oats dataset from Yates (1935), contained in
the nlme package, where Variety is on mainplot, and nitro on
2012 Nov 06
2
Question on callNextMethod
I don't understand why I get the following results. I define two classes
'Base' and 'Derived', the latter of which 'contains' the first. I then
define a generic method 'test' and overload it for each of these classes. I
call 'callNextMethod()' in the overload for Derived. From the output, it
appears that the overload for Base gets called twice. Why is
2007 May 15
9
[Bug 10957] New: Garbled console text with XAA enabled
http://bugs.freedesktop.org/show_bug.cgi?id=10957
Summary: Garbled console text with XAA enabled
Product: xorg
Version: 7.1
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy:
2009 Jan 07
1
proto question
Dear R Users,
I have a couple of proto objects like:
wedge <- proto(expr={
start.year <- 2008
end.year <- 2050
})
star.rating <- wedge$proto(
star = c(4, 5, 8, 10),
gain = c(0, .3, .5, .7),
cost = c(0, 2100, 4000, 7500),
star.rating <- function(., year) 6.0,
setup = function(.){
.$cost.for.star <- approxfun(.$star,
2011 Jul 04
2
RWinEdt problem
Hi R Helpers,
I am a long time RWinEdt user and have just acquired a new laptop. I have
installed RWinEdt and things are going smoothly except for one small glitch
- file names are not appearing on the document tabs. When I use WinEdt (as
opposed to RWinEdt), they are appearing. Can anyone offer any advice on
this?
Thanks in advance,
Simon Knapp
OS: windows7
Arch: 64 bit
R version: 2.13.0
2005 Dec 09
6
Which mysql for a new project?
Hi all,
I am about to start a new RoR project. Which version of mysql is the
current best one to use? I will be using the soon-to-be-released RoR
1.0 for the project. I really don''t want to start a PostreSQL vs.
MySQL vs. Whatever war. I have all databases including Oracle at my
disposal. This project will be my testbed for using RoR with mysql. I
will be doing other tests with other dbs
2005 Dec 09
2
Blocking problem with embeded R (windows)
Hi all,
I am trying to make calls to R from an MFC application running on XP
and am having problems blocking the application while the call
executes.
I have tried the following approaches to using R from the application
(note that I set a wait cursor while R is executing).
1) call rcmd in BATCH mode using system(). This works well, except
that I get the cmd window popping up... which makes the
2007 Nov 08
1
Running tests from another test case
I''m in the position that would be really useful for me to run in a
testcase a test belonging to another testcase.
Assuming I do not want to use modules, how could I do that?
My code would be something like this:
class MyTestCase < Test::Rails:TestCase
def myTest
matc = MyAnotherTestCase.new
end
end
The code above seems to work but when I run MyTestCase all the tests
2014 Aug 12
1
Define 'in' for new class
Hi List,
Is it possible to define how 'in' works for an object of a specific class
(to achieve a similar result to implementing the iterator protocol in a
class Python)?
Cheers,
Simon Knapp
[[alternative HTML version deleted]]
2011 Mar 28
2
xlsx problem
Dear list,
I'm running windows xp with R 2.12.0. I'm trying to load a excel
spreadsheet into R using the xlsx package. I posted my code below with
the error I get.
> res <- read.xlsx("Copy of test_excel_input_data.xlsx", 6)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.IllegalStateException: Cannot get
2010 Apr 16
2
hugene10stv1cdf
Hi all,
I'm just tried to start analysing some micro-array chips. And R was
asking for this package. When I tried to install it it says that:
Using R version 2.10.1, biocinstall version 2.5.10.
Installing Bioconductor version 2.5 packages:
[1] "hugene10stv1cdf"
Please wait...
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ?hugene10stv1cdf? is
2008 Mar 11
1
Question on substitute.
I have a data frame of around 4500 rows which contain file name
prefixes and other interesting variables. each prefix corresponds to
multiple files and a I only have 4300 complete sets of files. If any
one of the files is missing for a given prefix, then the function I
use fails. The effect is emulated by the function "f" and data
"dummy.data":
f <- function(x) if(runif(1)
2010 Nov 23
2
scan function
Hi,
I'm using R2.8.1 in windows vista and the scan function to load in my
data. That works all fine except that I get a message after the scan
function finishes. It tells me how many items the function has read.
For example "Read 202035 items". That would not be a problem but this
is printed in the stderr stream which causes a problem in a different
software I run the r scipt in. I
2011 May 10
2
translation from windows to linux
Hi all,
I started recently to use R with linux(ubuntu) but I often get code written under windows or mac. I have two questions. When I encounter a function which is not in R linux what is the best way to find the right linux function for it? So next time I can help myself. I browsed the web for a long time and could not find anything to the the function
zip.unpack.
Thats actually my second
2014 Oct 17
1
Holding a large number of SEXPs in C++
Background:
I have an algorithm which produces a large number of small polygons (of the
spatial kind) which I would like to use within R using objects from sp. I
can't predict the exact number of polygons a-priori, the polygons will be
grouped into regions, and each region will be filled sequentially, so an
appropriate C++ 'framework' (for the point of illustration) might be:
typedef
2010 Jan 12
2
Calculate the percentages of the "numbers" in every column.
Dear friends,
I have a table like this, I have A B C D ... levels, the first column
you see is just the index, and there are different numbers in the
table.
A B C D ...
1 0 2 1 0
2 1 0 2 1
3 2 3 0 0
4 0 0 1 0
5 0 2 3 1
...
I want to calculate the frequencies or the percentages of the numbers
in every column.
How do I get a table like this,
2012 Jan 27
1
php and RMySQL produces R crash
Hi all,
I have a very strange problem with the RMySql package. I'm running linux ubuntu 64 bit and R 2.14. I'm trying to solve this now for a week and could not find anything helpful on the net.
Now the problem
If I start my R script from php (script attached) the output is as followed
Start R Script from php
R version 2.14.1 (2011-12-22)
Copyright (C) 2011 The R Foundation for
2012 May 19
3
converting csv to image file
Hello everyone,
I want to get a 1km by lkm grid raster image using my csv data. If I call
latitude=a, longitude=b and preciptation=c.
a<-(1,2,3,4,5)
b<-(6,7,8,9,10)
c<-(10,20, 30,40, 50)
Then I found an example in r help which goes like
pts = read.table("file.csv",......)
library(sp)
library(rgdal)
proj4string(pts)=CRS("+init=epsg:4326") # set it to lat-long
pts =