Displaying 20 results from an estimated 1200 matches similar to: "Undefined method: camelize"
2009 Aug 28
1
names<- in data.frame (PR#13916)
Full_Name: Spinu Vitalie
Version: 2.9.0
OS: Windows
Submission from: (NULL) (130.115.113.15)
In assignment of "zero length" names to data.frame:
> tdf <- data.frame(rbind(c(1, 2), c(1, 2)))
> names(tdf) <- c("", "")
> tdf
structure(c("1", "1"), class = "AsIs") structure(c("2", "2"), class =
2003 May 30
2
Rsyncing Problem with - character!
Dear Rsync Users,
Please can I have a bit of rsync advice?
I am trying to rsync a file called.
'Draft text - with Holley comments.doc' from machine a to machine b.
Unfortunately this isn't working because I think rsync recognises the -
character and thinks it's an option.
I have tried escaping this out as well as putting it all in " " but
neither seems to work
2003 Feb 28
1
Newbie Question
Hi,
This is a very simple question I realise, but I hope maybe someone can just
help me out.
I am trying to do a very simple thing, just transfer a file from machine A
to machine B using rsync with ssh.
This is what i'm typing:
bash-2.03# rsync -avvv --rsh="ssh -l tdf"
tdf@machine.niss.ac.uk:/export/home/tdf/demofile.html demofile.html
This is what I get:
opening connection
2008 Jul 10
1
Ellipsis arguments for plot.formula
Hi:
I have a function as follows:
my.plot <- function( x, y = NULL, ... )
{
plot( x, y, cex.axis=0.5, ...)
}
Set up the variables:
x <- 1:10; y <- x; tdf <- data.frame( x, y ); main.str <- "test"
I will exercise the function in two ways:
> my.plot( y ~ x, tdf, main = "test" )
This works fine
> my.plot( y ~ x, tdf, main = main.str )
Error in
2010 Sep 23
1
merging multiple data frames
hi guys
i have multiple data frames which i want to merge.
there are four of them..eg
pdf
SampleID UVDose_J RepairHours Day_0 Day_45 Day_90
1 SDM001 1.0 3 485.612 465.142 490.873
2 SDM001 1.0 3 503.658 457.863 487.783
3 SDM001 1.0 2 533.193 451.044 456.973
4 SDM001 1.0 2 538.334 452.887 474.915
5 SDM001 1.0
2005 Nov 21
1
Cacheing in read.table/ attached data?
Disclaimer/Apology: I am an R newbie
I am seeing some behaviour that seems to me to be the result of some
cacheing going on at some level, and perhaps this is expected behaviour. I
would just like to understand the basic rules.
What I have is a file with some data. I read it in and then do a summary on
the resulting dataframe. I find the some values are completely outside the
expected range,
2008 Aug 30
1
need some help on r
Hi
>Tdf
bin TCC_TCA TCA_CR TCC_CR Time sn.rnc
117 117 258 27 314 (08/28/08 00:09:42) 50.21
118 118 251 30 291 (08/28/08 00:09:47) 50.21
119 119 247 28 289 (08/28/08 00:09:52) 50.21
120 120 251 29 282 (08/28/08 00:09:57) 50.21
121 121 276 39 320 (08/28/08 00:10:02) 50.21
122
2005 Mar 16
1
Is there an opposite of Inflector.Camelize
Or to put it another way, is there a function f, such that
Inflector.f(Inflector.Camelize(x)) = x
?
Enquiring minds need to know.
Adelle.
2011 Feb 09
1
Adding labels into lattice's barchart
*** APOLOGIZES FOR THOSE READING THE LIST THROUGH NABBLE THIS WAS ALREADY POSTED THERE BUT NOT FORWARDED TO THE LIST FOR SOME UNKNOWN REASON ***
I have a dataset that looks like:
$ V1: factor with 4 levels
$ V2: factor with 4 levels
$ V3: factor with 2 levels
$ V4: num (summing up to 100 within V3 levels)
$ V5: num (nr of cases for each unique combination of V1*V2*V3 levels)
Quite new to
2006 Oct 06
1
sparklines in lattice
Dear R-help,
Has anyone implemented sparklines in the strips of a lattice plot? What I have in mind is, say, highlighting that part of a time series that one is examining in more detail in a set of lattice plots.
Regads,.
Mark Difford.
PS: (Andreas Loffler has implemented a simple but functional version for
TeX/LaTeX:
http://www.tug.org/tex-archive/help/Catalogue/entries/sparklines.html)
2011 Nov 22
1
glht for lme object with significant interaction term
Dear all,
I'm working on some data from an experiment on the breeding behavior of
birds. In short, I have been measuring how the time spent on performing a
certain task (variable 'mean_on_active') differs over time (variable 'day',
2 levels) across three experimental categories (variable 'treat'; levels
'C', 'R', 'E'). The model shows a
2006 Jan 23
3
ordering a data frame to same order as a chr vector
Hi all,
I've got a data frame that has an identical column to a chr vector. I would
like to use the chr vector to order the rows of the data frame to be
identical to the order in the chr vector (the contents of the chr vector are
completely identical to one col of the data frame), but this is proving
trickier than it sounds..
Any help would be much obliged,
-Ken
2007 Jan 24
1
how to properly extend s3 data.frames with s4 classes?
Dear R Programmers!
After some time of using R I decided to work through John Chambers book
"Programming with Data" to learn what these S4 classes are all about and
how they work in R. (I regret not having picked up this rather fine book
earlier!)
I know from the documentation and the mailing archives that S4 in R is
not 100% the book and that there are issues especially with
2010 Feb 14
1
undefined method `camelize' for "app":String
Hi, trying to use rails to create an app, and get the following error
message :-
$ rails testapp
undefined method `camelize'' for "app":String
I have the following setup/versions :-
* Windows 7
* Cygwin - GNU bash, version 3.2.49(23)-release (i686-pc-cygwin)
Versions via Cygwin :-
* ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-cygwin]
* Rails 2.3.5
* gem : 1.3.5
I
2006 Nov 24
0
Strange "camelize" error when running fresh rails install on Hoary
Hi everyone,
Just wondering if anyone had seen this before. I did a simple install
following Paul Goscicki''s tutorial
(http://paulgoscicki.com/archives/2005/09/ruby-on-rails-on-ubuntu/) and
I get this message when I type "rails test" from the command line.(I''m
running Ubuntu 5.04 Hoary)
could anyone point me in the right direction? thanks.
--max
2010 Jan 03
1
calculations on columns with partially matching names
Is there a command for partial matching of character strings? Specifically,
I'd like to be able to calculate the mean of the values in any columns in a
data frame or matrix that have identity in part of their column names. For
example, columns labeled "mpw06a" and "mpw06b" match on the first five
characters; their mean would be taken whereas any columns beginning with
2010 Nov 01
1
[patch] Allowing to_xml to rename keys in lower camel case format
Hi all,
I''ve created and submitted a patch to resolve an issue I had while
attempting to meet the OpenSocial API specifications, which dictates that
the xml output have tags formatted as lower camelcase (as opposed to upper
camelcase, which is currently the only option). With this patch, simply
passing :camelize => true still begets the current behavior, but you can now
enable lower
2009 Jan 04
4
Adding routes and link_to
Hello.
I''ve added some routes :
map.news ''news'', :controller => :News, :action =>:index
map.login ''login'', :controller => :Login , :action =>:index
When I go to /news or /login before adding the routes, it works well.
When I add the routes and clik on the link that goes to /news or /
login, I got a 500 internal error with this :
2010 Jan 31
2
Using apply function on duplicates in a data.frame
Dear R-Helpers,
I have a data.frame (df) and the head of data.frame looks like
ProbeUID ControlType ProbeName GeneName SystematicName
1665 1577 0 pSysX_50_22_1 pSysX_50 pSysX_50
5422 5147 0 pSysX_49_8_1 pSysX_49 pSysX_49
4042 3843 0 pSysX_51_18_1 pSysX_51 pSysX_51
3646 3466 0 sll1514_0_2 sll1514 sll1514
2013 Mar 05
1
boxplot with frequencies(counts)
Dear All,
I have a table as following
position type count
1 2 100
1 3 51
1 5 64
1 8 81
1 6 32
2 2 41
2 3 85
and so on
Normally if would have a vector of 2,3,4,5... by position position and
plot them by position.
But now i have counts of these types.
Is there a way to compute boxplot of such