Displaying 20 results from an estimated 500 matches similar to: "accessing the attr(*,label.table) after importing from spss"
2011 Feb 14
1
problem running scripts
Dear all,
I have encounter an odd situation.
I have various R scripts interconnected via the source () function.
After examining the results I noticed that not all the functions or procedures within a script were adequately conducted.
Especially with the longest script ( about 180 lines)
Then, I ran every scripts individually (not using source () ) selecting all (Ctrl + a) and running the
2008 Jan 30
1
"hist" combines two lowest categories -- is there a workaround?
When preparing a series of histograms I found that hist was combining
the two lowest categories or bins, 1 and 2. Specifying breaks, as
illustrated below, resulted in the correct histogram:
values <- sample(10,500,replace=TRUE)
hist(values)
hist(values,breaks = 0:10)
Apparently, the number of values strictly less than 1 is shown in the
first bin (and since none is less than 1,
2009 Feb 02
1
survfit using quantiles to group age
I am using the package Design for survival analysis. I want to plot a
simple Kaplan-Meier fit of survival vs. age, with age grouped as
quantiles. I can do this:
survplot(survfit(Surv(time,status) ~ cut(age,3), data=veteran)
but I would like to do something like this:
survplot(survfit(Surv(time,status) ~ quantile(age,3), data=veteran)
#will not work
ideally I would like to superimpose
2011 Mar 07
1
@attr.merge?
Hi,
What does the @attr.merge in something like:
it "should require a password" do
User.new(@attr.merge(:password => "", :password_confirmation =>
"")).
should_not be_valid
end
do?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2013 Jun 25
0
attr :location_string
Hi,
I have come across attr :location_string inside a class definition in
Rails application.
class Web < class Params
attr :location_string
def ....
end
....
end
I know how attr_accessor, attr_reader or attr_writer works.
But I don''t have any idea on attr in Rails.
Can you kindly explain what it does?
Thanks,
Christopher
--
Posted via http://www.ruby-forum.com/.
--
2011 Jul 26
1
Error during geo-replication : Unable to get <uuid>.xtime attr
Hi,
I got a problem during geo-replication:
The master Gluster server log has the following error every second:
[2011-07-26 04:20:50.618532] W [libxlator.c:128:cluster_markerxtime_cbk]
0-flvol-dht: Unable to get <uuid>.xtime attr
While the slave log has the error every a few seconds:
[2011-07-26 04:25:08.77133] E
[stat-prefetch.c:695:sp_remove_caches_from_all_fds_opened]
2010 Feb 11
2
xfs_repair doesn't fix sb versionnum missing attr
I run:
xfs_check /dev/sdc10
And it reports:
sb versionnum missing attr bit 10
Then I run:
xfs_repair /dev/sdc10
And it reports output from 7 phases and "done".
Again I run:
xfs_check /dev/sdc10
And it reports:
sb versionnum missing attr bit 10
Is this how it's supposed to work?
Thanks for any help.
Linus
2002 Oct 11
1
Odd outcome of attr with environments (PR#2148)
Hi everyone,
I think the following error is slightly odd:
> fred <- new.env()
> happy <- function() fred
> happy()
<environment: 0x8a425b8>
> attr(happy(), "foo") <- 1:10
Error: invalid (NULL) left side of assignment
But naturally this works
> attr(fred, "foo") <- 1:10
> fred
<environment: 0x8a425b8>
attr(,"foo")
[1] 1
2006 Jan 03
0
load, environment[[, and attr<-/attributes<- (PR#8457)
Full_Name: Mark Bravington
Version: 2.2.1
OS: Windows XP
Submission from: (NULL) (203.132.243.69)
# r-bugs at r-project.org
There is a bug to do with 'load', environment access via '[[', and 'attr<-' or
'attributes<-'. Modifying the attributes of a *copy* of an object can modify the
original too, under certain conditions:
- the copy needs to be
2007 Feb 26
1
exact matching of names in attr
In R 2.5.0 (r40806), one of the change is to allow partial matching of
"name" in the attr function. However, how can I tell if I have an exact
match or not?
For example, checking to see if an object has a "name" attribute, then
giving it one if it doesn't:
dat <- data.frame(x=1:10,y=rnorm(10))
if(is.null(attr(dat,"name")))
attr(dat,"name")
2008 Jul 07
0
ActiveRecord in Rails 2.1.0 misbehaving for Aggregate Attr.
I am not sure if this is a bug in ActiveRecord or is this the intended
behavior. If it is then it does not make sense to me.
In a nutshell: If you change an aggregate object attribute created via
composed_of method (see Agile Web Development - Second Edition Chapter
17 page 313 onwards) and then save the model, the change to the model
(composite attribute specifically) will not be saved UNLESS
2014 Jan 24
2
[LLVMdev] byval attr for base+range parameters
Hello guys,
For single scalar pointer parameter, we have 'byval' to specify the
pointee is not changed. But for base+range parameters like:
declare void @_gfortran_transfer_integer_write(%struct.__st_parameter_dt*,
i8*, i32)
(This is the fortran runtime api to 'printf' one integer) The 2nd &
3rd args are used to specify the memory of that integer. I didn't find
a
2018 Jan 31
0
systemd-udevd not applying ATTR to block device at boot
I suppose it would help if I posted relevant version info (sorry about that...)
CentOS Linux release 7.4.1708 (Core) @ 3.10.0-693.11.6.el7.x86_64
systemd-219-42.el7_4.4.x86_64
$ modinfo virtio_scsi
filename: /lib/modules/3.10.0-693.11.6.el7.x86_64/kernel/drivers/scsi/virtio_scsi.ko.xz
license: GPL
description: Virtio SCSI HBA driver
rhelversion: 7.4
srcversion:
2012 Oct 31
1
backtrace for non-existant %{ldap:attr} on login
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm fetching the user and auth data from LDAP, this is the string:
pass_attrs =
uid=user,userPassword=password,homeDirectory=userdb_home,mailUidNumber=userdb_uid,mailGidNumber=userdb_gid,mailLocationDovecot=userdb_mail,uid=userdb_user,=userdb_quota_rule=*:bytes=%{ldap:mailQuotaBytes},
2002 Nov 27
1
problem with attr()
I got this wired behaviour of the attr() function using R-1.6.1 on both
linux redhat 7.3 (i386) and Solaris 8 (Sparc):
> tmp <- list(id=1)
>
> attr(tmp,"n.ch") <- 2
> attr(tmp,"n") <- 1
> tmp
$id
[1] 1
attr(,"n.ch")
[1] 2
attr(,"n")
[1] 1
>
> attributes(tmp)
$names
[1] "id"
$n.ch
[1] 2
$n
[1] 1
>
2007 Mar 24
2
Why not giving every link, button etc. tag a unique id attr?
Hi all
I''m playing around with Selenium IDE for creating automated acceptance
tests for my RoR projects (very cool tool by the way).
Often it''s the easiest way to pass a HTML-tag ID to Selenium to perform
actions such as clicking on a link or submitting a form.
Sadly Rails does not automatically create ID attrs for many tags like
links or buttons.
Has this a special reason? Or
2011 Aug 23
1
Using glusterfs with an export directory on an non-POSIX attr enabled FS
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear all,
I am trying to setup a replicated volume to serve (in a load-balanced
setup) static content. Since we are talking about small sized files
(thumbnails) that do not take too much space, one ideea is to set that
up in RAM (using /dev/shm mountpoint on CentOS).
The main problem is that if I define a replicated volume using
glusterfs, and I
2002 Jan 08
2
how to use attr?
I'm trying to build a flexible OLS/SUR/2SLS/3SLS package and I'm having
trouble getting some information out of a formula. For example....
# set up the system of equations
demand <- q ~ p + d
supply <- q ~ p + f + a
inst <- ~ d + f + a
systemeq <- list( demand, supply )
...blah, blah, blah...
# get the number if instruments...
# or build the "bigX"...
#I
2010 Sep 21
1
Quota value *not* getting over written by ldap attr value, help ?
Hi,
I am having trouble with the quota plugin with deliver. In the auth logs, I
see that dovecot is able to get the attribute value just fine:
***
Sep 21 17:49:30 dawnone dovecot: auth(default): ldap(cot,127.0.0.1): result:
uid(user)=cot uidNumber(userdb_uid)=1011 gidNumber(userdb_gid)=1011
homeDirectory(userdb_home)=/home/cot
mailQuotaSize(userdb_quota_rule=*:bytes=%$)=*:bytes=1000000
***
But
2009 May 28
0
fixme:dbghelp_dwarf:compute_location Unhandled attr op: e0 - when running The Sims 2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey guys,
I just subscribed to this list - maybe discussions related to this error
are already going on, but I couldn't find a lot when I googled it. I
will just assume this isn't known or fixed yet, let's see how it goes.
Whenever I run The Sims 2 with a No-CD crack (otherwise it won't run) in
Wine, I get the following error: