Displaying 20 results from an estimated 3091 matches for "s3".
2011 Jun 29
0
Error in testInstalledBasic
...)' to quit R.
> ## check that the 'internal generics' are indeed generic.
>
> x <- structure(pi, class="testit")
> xx <- structure("OK", class="testOK")
>
> for(f in ls(.GenericArgsEnv, all.names=TRUE))
+ {
+ cat("testing S3 generic '", f, "'\n", sep="")
+ method <- paste(f, "testit", sep=".")
+ if(f %in% "seq.int") {
+ ## note that this dispatches on 'seq'.
+ assign("seq.testit", function(...) xx, .GlobalEnv)
+...
2010 Jun 13
1
S4 classes and S3 generic functions
A general goal for the next version of R is to make S4 and S3 play
better together.
As mentioned in a previous thread, one limitation has been that S3
generic functions, specifically the UseMethod() call, did not make use
of S4 inheritance when dispatching on general S4 objects.
This has been fixed in a version committed today (updated to rev 52267)....
2011 Jul 05
0
Problem in accessing bucket of my AWS S3 account
I tried to establish connection to my aws s3 account like this in my irb
console -
AWS::S3::Base.establish_connection!(:access_key_id => ''my access key'',
:secret_access_key => ''my secret key'', :server => "
s3-ap-southeast-1.amazonaws.com")
And it works well and prompt this -
=> #<...
2007 Jun 13
3
DO NOT REPLY [Bug 4693] New: Amazon S3 storage interface for rsync
https://bugzilla.samba.org/show_bug.cgi?id=4693
Summary: Amazon S3 storage interface for rsync
Product: rsync
Version: 3.0.0
Platform: Other
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: rsync....
2008 May 08
8
[Patch 4/4]: Xend interface for HVM S3
[Patch 4/4]: Xend interface for HVM S3
- extend "xm resume <domid>" to be able to S3 resume HVM domain.
- when user issue "xm resume" command for HVM domain, xend will use
xc lib API to call HVMOP_s3_resume hypercall.
Note: it may not appropriate use xm resume for HVM s3, since xm resume
is origi...
2012 Oct 31
2
how can xyplot word when with for control flow
...ot(rank ~ ca, data=plot3.data, groups=Spacing,
type="o",main=heading)
}
############ data format ######
data format of plot.data shows as folow:
Fam Fam2 Spacing ca rank 1 Fam_70001 S2 1 14 1 Fam_70001 S2 2 46 1
Fam_70001 S2 3 49 1 Fam_70001 S2 4 47 1 Fam_70001 S2 5 54 1 Fam_70001 S3
1 18 1 Fam_70001 S3 2 38 1 Fam_70001 S3 3 34 1 Fam_70001 S3 4 27 1
Fam_70001 S3 5 29 2 Fam_70002 S2 1 8 2 Fam_70002 S2 2 12 2 Fam_70002 S2 3
25 2 Fam_70002 S2 4 8 2 Fam_70002 S2 5 13 2 Fam_70002 S3 1 26 2
Fam_70002 S3 2 22 2 Fam_70002 S3 3 19 2 Fam_70002 S3 4 14 2 Fam_70002 S3
5 7
[...
2014 Jun 17
2
R CMD check warning with S3 method
I'm getting an R CMD check warning with a package (call it package A)
that defines an S3 method but not the generic. The generic is defined
in another package (package B). Package A imports the S3 generic from
B. And there's one additional detail: the generic overrides a function
in the stats package.
I've created a minimal test package which reproduces the problem:
https://...
2010 Oct 29
8
Amazon s3 - paperclip - Rails3 - basic setup Noob simple problems
Hi all, I''ve got a feeling from other posts that this should be very
simple, but believe me I''ve looked around many tutorials / blogs, but
still cant even get the most basic setup working with paperclip and s3.
I am however pretty new to Rails, so could be doing something dumb.
-------
Firstly, to install and use paperclip and aws-s3 I''ve got them both in
by Gemfile:
gem ''paperclip'', :git => ''git://github.com/thoughtbot/paperclip.git''
gem ''aws-s...
2010 Aug 08
2
paperclip save to disk and s3
I have a standard Paperclip setup that saves a file to my disk. In
addition I would also like the file saved to my amazon s3 bucket.
[code]
after_save :copy_to_s3
def copy_to_s3
has_attached_file :photo,
:storage => :s3,
:s3_credentials => "#{RAILS_ROOT}/config/s3.yml",
:styles => {
:thumb => "100x100#",
:small => "750x750>" }
end
[/code]
This...
2008 Jan 05
3
is(x, "parent") returns FALSE when class(x) is c("child", "parent") (PR#10549)
is() does not catch parent S3 classes:
> library(splines)
> temp <- bs(1:99, df=5)
> class(temp)
[1] "bs" "basis"
> is(temp, "basis")
[1] FALSE
In contrast, is() does catch parent S4 classes:
> library(copula)
> norm.cop <- ellipCopula("normal", param = c(0.5,...
2009 Aug 02
3
redirect_to or send_file and AWS S3
Hi,
I store files on S3 as the id of the file in my appliction. IE my file
with id 20 will be stored on S3 as 20. When I download the file I want
to look up the file name in the database and then pass it off to the
user. Is there any way I can use redirect_to and pass the S3 url and
then give it the filename, so the user...
2012 Mar 21
2
aws-s3 gem install error- bittorrent.rb
Hello,
Am running build install on an existing project and I get this error:
Installing aws-s3 (0.6.2)
Errno::EACCES: Permission-denied -
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/bittorrent.rb
An error occured while installing aws-s3 (0.6.2) and Bundler cannot
continue, make sure that gem install aws-s3 -v ''0.6.2'' succeeds before
bundlin...
2012 Oct 01
5
s3 as mysql directory
...mysql database (in my setup, you can also use
postgres or sqlite if you chose). Since I've started doing this I notice
that the mysql data directory has swelled to over 700GB! That's quite a lot
and its' easting up valuable disk space.
So I had an idea. What about uses the fuse based s3fs to mount an S3
bucket on the local filesystem and use that as your mysql data dir? In
other words mount your s3 bucket on /var/lib/mysql
I used this article to setup the s3fs file system
http://benjisimon.blogspot.com/2011/01/setting-up-s3-backup-solution-on-centos.html
And everything went as...
2004 Aug 25
0
S3 classes in S4 class definitions
One of the changes some packages are noticing from the recent
modifications to methods is warnings of "undefined classes" during
installation when the package extends S3 classes or uses them as slots
UNLESSS they have been declared in a setOldClass() call. The green book
"strongly recommends" declaring S3 classs this way (pp 449-451).
The warnings on undeclared classes threatened in the book have now been
implemented ;-) (However the statement in the b...
2017 Sep 22
2
S4 method implementation for S3 class
...t; I think this behavior is in the interest of performance. It avoids
> adding S4 dispatch overhead to e.g. matrix objects.
I see, thanks for the explanation.
> In general, it's best to define an S4 class when using S4 dispatch,
> but it sounds like you're stuck using some legacy S3 objects. In that
> case, one would normally define an S3 method for `%*%()` that
> delegates to a custom non-primitive generic, perhaps "matmult" in this
> case. But since %*% is not an S3 generic, that's not an option.
>
> It would help to hear more about the context o...
2017 Aug 08
4
Inheritance for S3 classes
Hi R Users,
I am relatively new to programming in R ? so I apologise if my questions appear ?dumb?.
I am using a package that defines a number of S3 classes. I want to create an S3 child class of one of these classes. The parent class has a contractor with many arguments. I have been having difficulty writing the child class contractor. I have been unable to find a good reference in the internet for writing S3 classes. What I have been able to...
2011 Jan 18
3
error message
...ot;WAGR10" "ocbi" "ocbo" "cwbi" "cwbo"
> dim(ago)
[1] 160 25
Here below is the syntax:
> crossed1<-function(df){
+ s1<-df[sample(nrow(df),16,replace=F),]
+ s2<-t(apply(s1[,2:11],1,sample,10))
+ s2<-data.frame(s2)
+ s3<-df[-s1$SubID,]
+ ind<-t(replicate(nrow(s3),sample(10)))
+ s4<-matrix(nrow=nrow(s3),ncol=10)
+ rownames(s4)<-rownames(s3)
+ s4<-data.frame(s4)
+ for(i in seq(nrow(s3))){
+ s4[i,1]<-s3[i,1+ind[i,1]]
+ s4[i,2:10]<-s3[i,11+ind[i,2:10]]
+ }
+ colnames(s2)<-colnames(s4)
+ rbin...
2006 Nov 30
1
Uninitialized Constant Using New S3 Library
I am trying to use the new S3 library (thanks Marcel!) but I am
getting an Uninitialized Constant message:
>> Service.buckets
NameError: uninitialized constant Service
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/
lib/active_support/dependencies.rb:100:in
`const_missing_not_from_s3_library...
2015 Jun 12
2
RFC: Declaring "foo.bar" as nonS3method() ?!
>>>>> Duncan Murdoch writes:
> On 12/06/2015 4:12 AM, Martin Maechler wrote:
>> This is a topic ' "apparent S3 methods" note in R CMD check '
>> from R-package-devel
>> https://stat.ethz.ch/pipermail/r-package-devel/2015q2/000126.html
>>
>> which is relevant to here because some of us have been thinking
>> about extending R because of the issue.
>>
>>...
2019 Jul 25
0
[ANNOUNCE] xf86-video-s3 0.7.0
This is a maintenance release of S3 DDX for X.Org X Server.
The DDX compiles cleanly without compilation warnings on X Server 1.19.6.
Kevin Brace
Brace Computer Laboratory blog
https://bracecomputerlab.com
--
Alan Coopersmith (7):
When checking malloc for success, it helps to use == NULL, instead of =
s3_bios.c: Simplif...