Displaying 8 results from an estimated 8 matches for "whatever2".
Did you mean:
whatever
2024 Apr 12
3
Debugging functions defined (locally) inside another functions
Hi all, I am trying to debug an error of a function g defined and used inside another function f of a package.
So I have
f <- function(whatever){
...
g <- function(whatever2){
...
}
...
}
If I wanted to debug some thing directly inside f I would do debug(f). But this does not go inside g code. On the other hand, debug(g) does not work as g is not a defined function in the namespace of the package.
Is there some way to debug errors inside g?
Thank you in a...
2024 Apr 12
1
Debugging functions defined (locally) inside another functions
On 12/04/2024 8:15 a.m., Iago Gin? V?zquez wrote:
> Hi all, I am trying to debug an error of a function g defined and used inside another function f of a package.
> So I have
>
> f <- function(whatever){
> ...
> g <- function(whatever2){
> ...
> }
> ...
> }
>
> If I wanted to debug some thing directly inside f I would do debug(f). But this does not go inside g code. On the other hand, debug(g) does not work as g is not a defined function in the namespace of the package.
>
> Is there some wa...
2005 Mar 31
4
Transactions
I cant seem to find much information apart from the basics on
transactions in rails. I have 5 nested transactions, and am performing
the following basic operations:
@whatever1.transaction do
@whatever2.transaction do
....
@whatever2.something = "foo"
@whatever1.something = "bar"
@whatever1.save
@whatever2.save
.....
end
end
((( I had tried using if''s inside the transaction on the save''s, and it
worked for a bit but I then discovered it wasn...
2024 Apr 12
1
Debugging functions defined (locally) inside another functions
? Fri, 12 Apr 2024 12:15:07 +0000
Iago Gin? V?zquez <iago.gine at sjd.es> ?????:
> f <- function(whatever){
> ...
> g <- function(whatever2){
> ...
> }
> ...
> }
>
> If I wanted to debug some thing directly inside f I would do
> debug(f). But this does not go inside g code. On the other hand,
> debug(g) does not work as g is not a defined function in the
> namespace of the package.
Moreover, `g`...
2004 Aug 31
2
limit the length of extensions
...> beginmenu,2,Wait,1
exten => beginmenu,3,Background(company-main)
exten => beginmenu,4,Background(ifyouknow)
exten => beginmenu,5,Goto(company_mainmenu,s,1)
exten =>
_9NXXNXXXXXX,1,Dial(IAX2/company-asterisk@outbound-asterisk/${EXTEN:1})
exten => 502,1,Dial(SIP/whatever1&SIP/whatever2|30|m)
...
[company_mainmenu]
exten => s,1,Background(company-nav1)
exten => 1,1,Goto(company_sales,s,1) ; Sales
exten => 2,1,Goto(companyname,502,1) ; Accounting
exten => 3,1,Goto(companyname,508,1) ; Customer Care
exten => 4,1,Goto(companyname,507,1) ; Technical Support
exten =>...
2024 Apr 12
1
Debugging functions defined (locally) inside another functions
.../c: r-help at r-project.org <r-help at r-project.org>
Tema: Re: [R] Debugging functions defined (locally) inside another functions
?? Fri, 12 Apr 2024 12:15:07 +0000
Iago Gin?? V??zquez <iago.gine at sjd.es> ??????:
> f <- function(whatever){
> ...
> g <- function(whatever2){
> ...
> }
> ...
> }
>
> If I wanted to debug some thing directly inside f I would do
> debug(f). But this does not go inside g code. On the other hand,
> debug(g) does not work as g is not a defined function in the
> namespace of the package.
Moreover, `g` d...
2008 Feb 08
2
When I cbind the POSIXct gets lost
I would like to create a new dataframe from the DateTime column of an
existing dataframe and a numeric vector. When I do cbind(x[,1], y) the
result is:
[1,] 1199370600 12.500
[2,] 1199371200 69.375
[3,] 1199371800 23.750
where the first column you see used to look like:
"2008-01-03 08:30:00 Central Standard Time"
"2008-01-03 08:40:00 Central Standard Time"
2016 Jun 15
2
[RFC] LLVM Coroutines
Hi Sanjoy,
>> I'm not familiar with fiber-type APIs, but I assume fiber_fork is like
>> setjmp, in that it can "return twice"?
Yes, user-mode stack switching API are somewhat similar to setjmp. Here are
links to a doc page and implementation, just in case you are curious:
http://www.boost.org/doc/libs/1_59_0/libs/context/doc/html/context/context.html