Displaying 20 results from an estimated 26 matches for "newclass".
2017 Jun 23
1
setReplaceMethod creates 'object' in the userworkspace
Hi,
I recognized that the function 'setReplaceMethod' is creating a
character vector in the user workspace having the name (e.g. "newClass")
of the class used as value. If you can sort out a mistake by myself, I
would like you to file a bug report.
BBFN,
Jonathan
setClass("newClass", representation(value="numeric"))
setMethod(f = "initialize", signature = "newClass",
definition = fun...
2017 Jun 23
1
setReplaceMethod creates 'object' in the userworkspace
Hi,
I recognized that the function 'setReplaceMethod' is creating a
character vector in the user workspace having the name (e.g. "newClass")
of the class used as value. If you can sort out a mistake by myself, I
would like you to file a bug report.
BBFN,
Jonathan
setClass("newClass", representation(value="numeric"))
setMethod(f = "initialize", signature = "newClass",
definition = fun...
2017 Jun 27
0
[Rd] setReplaceMethod creates 'object' in the userworkspace
...eier <clausjonathan.fritzemeier at uni-duesseldorf.de>
>>>>> on Fri, 23 Jun 2017 16:15:30 +0200 writes:
> Hi,
> I recognized that the function 'setReplaceMethod' is creating a
> character vector in the user workspace having the name (e.g. "newClass")
> of the class used as value. If you can sort out a mistake by myself, I
> would like you to file a bug report.
Yes, a mistake by yourself (and really not fit for R-devel,
but rather for R-help to which I follow up now)
> BBFN,
> Jonathan
> setClass("ne...
2006 Mar 24
5
problems with ".this"
Hello I´m making a class using prototype''s class.create(), like this:
var onewClass = Class.create();
onewClass.prototype = {
initialize : function(array) {
this.variable = "fooo";
this.array = array;
},
function1 : function() {
this.array.each(function(element){
alert(element);
alert(this....
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
A more concrete example in order to correct my vague messages below.
Writing an R package that uses `@` and `@<-` as S3 generics. Line from manual pages in .Rd files:
\method{@}{newclass}(object, name) <- value
Throws this error during R CMD check ?as-cran
Bad \usage lines found in documentation object ?code?:
<unescaped bksl>method{@}{newclass}(object, name) <- value
This error is due to tools::checkDocFiles eventually calling tools:::.S3_method_markup_reg...
2023 Apr 29
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...gt;>>> Karolis Koncevi?ius writes:
Can you pls try again with r84341 or later?
Best
-k
> A more concrete example in order to correct my vague messages below.
> Writing an R package that uses `@` and `@<-` as S3 generics. Line from manual pages in .Rd files:
> \method{@}{newclass}(object, name) <- value
> Throws this error during R CMD check ?as-cran
> Bad \usage lines found in documentation object ?code?:
> <unescaped bksl>method{@}{newclass}(object, name) <- value
> This error is due to tools::checkDocFiles eventually calling tools:::....
2023 Apr 29
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...t;
> Can you pls try again with r84341 or later?
>
> Best
> -k
>
>> A more concrete example in order to correct my vague messages below.
>> Writing an R package that uses `@` and `@<-` as S3 generics. Line from manual pages in .Rd files:
>
>> \method{@}{newclass}(object, name) <- value
>
>> Throws this error during R CMD check ?as-cran
>
>> Bad \usage lines found in documentation object ?code?:
>> <unescaped bksl>method{@}{newclass}(object, name) <- value
>
>> This error is due to tools::checkDocFiles...
2023 Apr 30
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...ith r84341 or later?
>>
>> Best
>> -k
>>
>>> A more concrete example in order to correct my vague messages below.
>>> Writing an R package that uses `@` and `@<-` as S3 generics. Line from manual pages in .Rd files:
>>
>>> \method{@}{newclass}(object, name) <- value
>>
>>> Throws this error during R CMD check ?as-cran
>>
>>> Bad \usage lines found in documentation object ?code?:
>>> <unescaped bksl>method{@}{newclass}(object, name) <- value
>>
>>> This error is...
2005 Dec 20
0
swap css class
...e up with - maybe some of the prototype gurus could have a look at the
function - I''m sure it needs some improvements, but basically it is working:
// usage: toggle (boolean), elementId, old class, new class, tag(s)
// Element.swapClassName(0,null,''oldClass'',''newClass'',''div'');
// Element.swapClassName(1,null,''oldClass'',''newClass'',''div'',''p'');
// Element.swapClassName(1,''elementId'',''oldClass'',''newClass'','&...
2023 Apr 30
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...>
>>> Best
>>> -k
>>>
>>>> A more concrete example in order to correct my vague messages below.
>>>> Writing an R package that uses `@` and `@<-` as S3 generics. Line from manual pages in .Rd files:
>>>
>>>> \method{@}{newclass}(object, name) <- value
>>>
>>>> Throws this error during R CMD check ?as-cran
>>>
>>>> Bad \usage lines found in documentation object ?code?:
>>>> <unescaped bksl>method{@}{newclass}(object, name) <- value
>>>
>>&g...
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...:34 PM, Karolis Koncevi?ius <karolis.koncevicius at gmail.com <mailto:karolis.koncevicius at gmail.com>> wrote:
>> >
>> > I was building a package that uses the new generic @ and kept having errors with ?roxygen2? documentation. ?roxygen2? generated NAMESPACE added `@.newclass` as a newly exported function, not as a S3method.
>> >
>> > At first I thought this must be a bug in roxygen2 and they lag behind the new developments in R. But after some investigation I found that ?roxygen2? is using tools:::.get_internal_S3_generis() to decide if the method sh...
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
I was building a package that uses the new generic @ and kept having errors with ?roxygen2? documentation. ?roxygen2? generated NAMESPACE added `@.newclass` as a newly exported function, not as a S3method.
At first I thought this must be a bug in roxygen2 and they lag behind the new developments in R. But after some investigation I found that ?roxygen2? is using tools:::.get_internal_S3_generis() to decide if the method should be exported as S3method...
2006 Mar 01
3
RE: manipulate <td>''s and their contentbygrabbingtheir classNames
Ahh... Haven''t run up against that yet. Although I also completely
disregard Gecko/Safari and other totally crappy, useless, browsers :-).
</cynicism>
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of
Gregory Hill
Sent:
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...o in tools:::.S3_method_markup_regexp
> On Apr 28, 2023, at 10:34 PM, Karolis Koncevi?ius <karolis.koncevicius at gmail.com> wrote:
>
> I was building a package that uses the new generic @ and kept having errors with ?roxygen2? documentation. ?roxygen2? generated NAMESPACE added `@.newclass` as a newly exported function, not as a S3method.
>
> At first I thought this must be a bug in roxygen2 and they lag behind the new developments in R. But after some investigation I found that ?roxygen2? is using tools:::.get_internal_S3_generis() to decide if the method should be exported a...
2013 Nov 21
2
[LLVMdev] vmkit2 core dump after building mmtk
...l time: 0 seconds
[vmkit ./mmtk/java]: Compiling 'mmtk-vmkit.jar'
vmjc: JavaClass.cpp:496: j3::JavaObject *j3::Class::doNew(j3::Jnjvm
*): Assertion `(this->isInitializing() ||
classLoader->getCompiler()->isStaticCompiling() || this ==
classLoader->bootstrapLoader->upcalls->newClass) && "Uninitialized
class when allocating."' failed.
0 vmjc 0x0000000000fa5415 llvm::sys::PrintStackTrace(_IO_FILE*) + 37
1 vmjc 0x0000000000fa5903
2 libpthread.so.0 0x00002b020f7debb0
3 libc.so.6 0x00002b0210444f77 gsignal + 55
4 libc.so.6...
2006 Jul 22
17
Problem getting form_remote_tag to work with image upload
Hey guys,
I am trying to pass the parameters for the file being upload, but the
params[] are not being passed. Ive read through some posts and realize
this is an issue with RoR.
I read through some of the posts and someone suggested using:
http://svn.kylemaxwell.com/form_remote_upload/trunk/
I tried to install it, and although I thought I installed it correctly,
it doesn''t work.
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
...exp
>
> > On Apr 28, 2023, at 10:34 PM, Karolis Koncevi?ius <
> karolis.koncevicius at gmail.com> wrote:
> >
> > I was building a package that uses the new generic @ and kept having
> errors with ?roxygen2? documentation. ?roxygen2? generated NAMESPACE added
> `@.newclass` as a newly exported function, not as a S3method.
> >
> > At first I thought this must be a bug in roxygen2 and they lag behind
> the new developments in R. But after some investigation I found that
> ?roxygen2? is using tools:::.get_internal_S3_generis() to decide if the
> met...
2013 Nov 21
0
[LLVMdev] vmkit2 core dump after building mmtk
...mkit ./mmtk/java]: Compiling 'mmtk-vmkit.jar'
> vmjc: JavaClass.cpp:496: j3::JavaObject *j3::Class::doNew(j3::Jnjvm
> *): Assertion `(this->isInitializing() ||
> classLoader->getCompiler()->isStaticCompiling() || this ==
> classLoader->bootstrapLoader->upcalls->newClass) && "Uninitialized
> class when allocating."' failed.
> 0 vmjc 0x0000000000fa5415
> llvm::sys::PrintStackTrace(_IO_FILE*) + 37
> 1 vmjc 0x0000000000fa5903
> 2 libpthread.so.0 0x00002b020f7debb0
> 3 libc.so.6 0x00002b0210444f77...
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
2016 Apr 19
3
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
Thanks for looking into it, your approach sounds good to me. See also
R_has_methods_attached()
(https://github.com/wch/r-source/blob/42ecf5f492a005f5398cbb4c9becd4aa5af9d05c/src/main/objects.c#L258-L265).
I'm fine with Rscript not loading "methods", as long as everything works
properly with "methods" loaded but not attached.
-Kirill
On 19.04.2016 04:10, Michael
2013 Nov 21
2
[LLVMdev] vmkit2 core dump after building mmtk
...]: Compiling 'mmtk-vmkit.jar'
>> vmjc: JavaClass.cpp:496: j3::JavaObject *j3::Class::doNew(j3::Jnjvm
>> *): Assertion `(this->isInitializing() ||
>> classLoader->getCompiler()->isStaticCompiling() || this ==
>> classLoader->bootstrapLoader->upcalls->newClass) && "Uninitialized
>> class when allocating."' failed.
>> 0 vmjc 0x0000000000fa5415
>> llvm::sys::PrintStackTrace(_IO_FILE*) + 37
>> 1 vmjc 0x0000000000fa5903
>> 2 libpthread.so.0 0x00002b020f7debb0
>> 3 libc.so.6...