Displaying 20 results from an estimated 300 matches similar to: "Unicode Support for MS SQL Server"
2006 Feb 05
0
Enum patch for Rails
Hello!
I''ve modified ActiveRecord a bit to support enum columns. This is tested
only with MySQL, and maybe needs some changes for other adapters (if
they use another syntax or quoting style).
I believe this patch should be tested well, so I haven''t (yet) tried to
post it to the official Trac. It is also not solid-as-a-rock when it
comes to quoting ENUM values.
After
2010 Oct 30
2
'tcltk' does not have a name space
Hi, All
I got trouble on installing the qvalue package. Error message: package
'tcltk' does not have a name space
[cchen1 at ibibmem Yale_CB]$ R CMD INSTALL qvalue.tar.gz
* installing to library '/cchome/cchen1/R/x86_64-unknown-linux-gnu-library/2.10'
* installing *source* package 'qvalue' ...
** R
** data
** inst
** preparing package for lazy loading
Error : package
2009 Sep 15
0
trouble installing qvalue package
Hello all,
I'm trying to use the package qvalue. Upon trying to install it I'm running
into trouble. I re-downloaded and installed the most recent CRAN
distribution of R which announced itself to have tcltk included. Now when I
try to load qvalue I'm getting errors that seem to indicate that I need
tcltk2. I tried going to get that package and loading it but both qvalue and
tcltk seem
2007 Aug 24
0
ArgumentError: interning empty string and enum-column plugin
Hello,
I am a developer who has just started working on a large scale
website in a team of 5 other developers. One of the developers has
introduced some enum columns into the the database. Now, by default,
active record doesn''t support enum column types but I have added the
enum-column plugin into our project. This has worked very well except
for a few instances where he
2006 Sep 07
1
Memory allocation
Dear list,
I have been trying to run the function "qvalue" under the package qvalue
on a vector with about 20 million values.
> asso_p.qvalue<-qvalue(asso_p.vector)
Error: cannot allocate vector of size 156513 Kb
> sessionInfo()
Version 2.3.1 (2006-06-01)
i686-pc-linux-gnu
attached base packages:
[1] "methods" "stats" "graphics"
2011 Oct 28
1
Downloading Error
Hi,
I am trying to install qvalue, however its giving installation error ->
Error : package 'tcltk' does not have a name space
ERROR: lazy loading failed for package ?qvalue?
* removing ?/home/sbw/R/x86_64-unknown-linux-gnu-library/2.12/qvalue?
The downloaded packages are in
?/tmp/RtmpKnS1X4/downloaded_packages?
Warning message:
In install.packages(pkgs = pkgs, repos = repos, ...)
2006 Jun 28
4
Problem with nvarchar in MS SQL Server 2000
Hello,
after putting ADO.rb into Directory
\ruby\lib\ruby\site_ruby\1.8\DBD\ADO\ I created a Rails-Application with
MS SQL Server 2000 as Database.
Everything works fine, but into the nvarchar-Field "notice" i can''t
store more than about 50 or 60 characters
MS SQL Server Query analyzer says, this field has a length of 510
characters.
What can i do to save up to the 510
2006 Jul 17
6
DRY? Converting Boolean to Yes/No
I have a database column given as:
t.column :change_address, :boolean
The user interacts with this using a checkbox, but wants confirmations to
read:
Change address: Yes
In an isolated case something like:
@obj.change_address ? ''Yes'' : ''No''
Would work fine but this is peppered throughout scads of forms and boolean
fields. The first step I took at DRYing
2011 Apr 18
1
qvalue
I am using storey's qvalue package but I keep on getting errors. Why is
this?
> qvalue(p, lambda=0.5)$pi0
[1] "ERROR: p-values not in valid range."
Error in qvalue(p, lambda = 0.5)$pi0 :
$ operator is invalid for atomic vectors
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2018 Jul 10
1
Updating qvalue and xtable
Good Morning Everyone,
I was going through my list of FTBFS packages today and I fixed all my R
packages but 2: qvalue and xtable.
qvalue requires ggplot2
xtable requires: lsmeans, spdep, splm, sphet, plm
I am not doing any R anymore these days and in fact spot has been the one
maintaining most of my R packages these days (thanks spot!!), so I am not really
interested in maintaining more R
2008 Sep 25
1
defining polymorphic type condition
As great as Rails 2.1 is, I for the life of me cannot figure out why
polymorphic associations do not support reconfiguring the type column
used.
For example, I have no way to do a polymorphic association using a
lookup hash which maps an integer to a class name.
Storing a TINYINT unsigned is waaaaay more efficient than storing a
string like "SomeActiveRecordModel" over and over again.
2007 Apr 03
0
[Sybase Adaptor] find_by_xxx does not work correctly.
Hi
Please advice me about the following problem.
* Problem
find_by_xxx method does not work correctly the following caes with
sybase adaptor.
* How to reproducible
model :users
t.column :code, :string <-- :string column
t.column :last_name, :string
t.column :first_name,:string
>> User.find(1)
=> #<User:0x2abe232a68e8
2010 Aug 28
1
Calculating p and q values with R
Hi,
I have a huge dataset (53 million records). I have to calculate the p and q
values of my data. How can I do it in R or perl? I have downloaded R (I'm
completely new to R). and the package qvalue but I don't understand how can
I call/use qvalue package with R. When I type library(qvalue), it gives me
an error that this package doesn't exist. What should I do?
Thanks!
--
View this
2006 Feb 01
0
Please explain transactions within sqlserveradapter.rb ?
Hello everyone,
I am needing to resolve an error on sqlserveradapter revolving around a
trigger on a table. When the AR object is saved, AR throws
Cannot create new connection because in manual or distributed transaction
mode.
at
from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
`log''
In order to resolve this, I
2007 Nov 28
0
Where to override ActiveRecord::ConnectionAdapters::SQLServerAdapter?
I''m working on an existing global database running on MS SQL Server.
The appropriate primary key is uniqueidentifier, so I want to set
ActiveRecord::ConnectionAdapters::SQLServerAdapter#native_database_types[:primary_key]
= "uniqueidentifier NOT NULL newid() PRIMARY KEY".
Obviously, I need to override the native_database_types definition,
but I really don''t know where
2010 May 24
0
"Optional" package dependency
Hi all,
apologies if this has been answered before, I didn't find the answer
in the archives. I am putting together a package that I would like to
have optional functionality if another package is installed. In
normal, non-package code, I would simply write something like
if (require(qvalue))
{
# use package qvalue
} else {
# do not use package qvalue
}
If I do something like that in a
2010 Sep 02
1
ActiveRecord::ConnectionAdapters::Column value_to_boolean(value) does not return a boolean value.
value_to_boolean(value), does not always return a boolean value, only
when true.
150: def value_to_boolean(value)
151: if value.is_a?(String) && value.blank?
152: nil
153: else
154: TRUE_VALUES.include?(value)
155: end
156: end
If value is contained in TRUE_VALUES then it returns true(TrueClass).
But if value is
2006 Oct 02
1
qvalue
Dear colleagues,
This is not strictly a R question, but I hope it is ok to ask on the
list.
I fed a vector of p-values from about 20 million anova tests to the
package q-value and obtained this output:
> qsummary(asso_p.qvalue)
Call:
qvalue(p = asso_p.vec)
pi0: 1
Cumulative number of significant calls:
<1e-04 <0.001 <0.01 <0.025 <0.05 <0.1 <1
2006 Jul 21
2
Tableless ActiveRecord attribute and my aching head
I beat my head against a wall for almost 2 hours with this issue.
My first problem was easily solved. I wanted a class that could use
ActiveRecord''s validation capabilities but without using a table behind
it (I would be persisting setup information in the session, but the
initial setup parameters come from a user input form)
No problem...found this link which got me up and running
2006 Aug 16
3
Validate your forms with a table-less model
Ive followed this example of how to validate a form with a tableless
model:
http://rails.techno-weenie.net/tip/2005/11/19/validate_your_forms_with_a_table_less_model
Ive got this example working but when validation fails the failed boxes
are not highlighted in red. At the moment i have a contact details form
and want to validate the information entered by the user but this will
just result