similar to: Qs on "vector of lists", etc.

Displaying 20 results from an estimated 10000 matches similar to: "Qs on "vector of lists", etc."

2010 Dec 13
1
Qs re writing/reading arrays, dataframes
Hi! I'm just getting started with R (and with the analysis of large datasets in general). I have several beginner-level questions whose answers I have not been able to find, and was hoping one of you would be kind enough to throw me a cluebrick or two. I have a 6-dimensional numeric array (which I'll call myarray) that is "fully named". By this I mean that non-NULL dimnames
2010 Dec 16
3
How to save & play back an entire R session?
I know that at the end of an R session I'm given the option to save the current *state* of the session. But I would like to save the entire sequence of inputs that took place during the session, so that I can play them back later, and not only be left in the same state I was at the time of saving the session, but be able to see the entire history of the session (inputs and outputs). (This is
2011 Jan 25
3
function application
Suppose I have a function, like list, that takes a variable number of arguments, and I have those arguments in some vector x. How can execute the function with the *contents* of x as its arguments? I.e., I don't want list(x), but rather list(x[[1]], x[[2]], ..., x[[n]]), but I don't want to spell out the individual elements of x (either because I want to do this programmatically, so I
2010 Dec 16
1
Subarray specification problem
Hi. I'm new to R, and I'm still learning R's system for addressing subsets of data structures. I'm particularly interested in the problem of selecting subarrays based on complex criteria involving the dimnames (as opposed to the values of the cells) of the array. Here's an example of such a problem. Suppose I have an array x of unknown dimensions (it may have been passed as
2020 Sep 29
2
Re-sieve emails
Is it possible to take the contents of a mailbox and feed them to the account's .active_sieve file for reprocessing? (For example, when editing the sieve file for my list account I introduced a typo, so a hundred or some list messages ended up in the inbox instead of filed properly into the maildir hierarchy. Not a huge deal, as it was simple enough to move them manually, but it got me
2010 Nov 02
3
IAX or SIP - connecting two Asterisk servers together
Hello Folks; Again, excuse my cluelessness. I have an Asterisk server in the US - and I want to connect it to one in Europe. Here is my scenario: 1. call a phone number, my Asterisk box in the US answers 2. perhaps a 'please wait' voice message 3. it dials an extension on the other Asterisk box in Europe. I am not looking for someone to do this for me, I am just not really
2002 May 07
4
attractive spatial point process?
Hi all, before I roll my own, naive implementation of a particular spatial point process, I thought I'd ask whether this has already been done. Specifically, I am looking for essentially the opposite of the Strauss and Mate'rn processes included in library(spatial) and documented in MASS. I am examining daily travel patterns, focusing on just the destinations of trips, not the
2017 Jun 01
3
Reversing one dimension of an array, in a generalized case
> On 1 Jun 2017, at 22:42, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > > Thanks to all for responses/. There was a question of exactly what was wanted. It is the generalization of the obvious example I gave, > >>>> junk1 <- junk[, rev(seq_len(10), ] > > > so that > > junk[1,1,1 ] = junk1[1,10,1] > junk[1,2,1] =
2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
As &qs->qs_lock is also acquired by the timer o2net_idle_timer() which executes under softirq context, code executing under process context should disable irq before acquiring the lock, otherwise deadlock could happen if the process context hold the lock then preempt by the timer. Possible deadlock scenario: o2quo_make_decision (workqueue) -> spin_lock(&qs->qs_lock);
2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
As &qs->qs_lock is also acquired by the timer o2net_idle_timer() which executes under softirq context, code executing under process context should disable irq before acquiring the lock, otherwise deadlock could happen if the process context hold the lock then preempt by the timer. Possible deadlock scenario: o2quo_make_decision (workqueue) -> spin_lock(&qs->qs_lock);
2017 Jun 01
2
Reversing one dimension of an array, in a generalized case
My error. Clearly I did not do enough testing. z <- array(1:24,dim=2:4) > all.equal(f(z,1),f2(z,1)) [1] TRUE > all.equal(f(z,2),f2(z,2)) [1] TRUE > all.equal(f(z,3),f2(z,3)) [1] "Attributes: < Component ?dim?: Mean relative difference: 0.4444444 >" [2] "Mean relative difference: 0.6109091" # Your earlier example > z <- array(1:120, dim=2:5) >
2015 Apr 04
0
nutdrv_qx hangs after send: QS
On Apr 4, 2015, at 7:19 PM, Richard Flint <richard.flint at gmail.com> wrote: > More extensive debugging by running the driver sudo ./nutdrv_qx -u root -a MY_UPS -DDDDDD indicates the driver works normally then will randomly stop working at stop "send: QS". The debug logs show values successfully retrieved repeatedly until something like: > .... > Quick update... >
2009 Jul 29
1
ocfs2 quota qs.
Hi Jan, I am now reading quota support in ocfs2 and have some qs. Wish you can help me clarify it. Thanks. ocfs2_quota_write: In the comment, you said that "we know the transaction is already started", so it should be called within a transaction. But in this function, we call ocfs2_extend_no_holes and ocfs2_simple_size_update which will start another transaction. So we can survive
2015 Apr 04
2
nutdrv_qx hangs after send: QS
Hi, I am trying to get NUT 2.7.2 working on my Solaris 11.2 system with a PowerWalker 2000 VI PSW UPS. I have carefully configured the software such that it 'works' using custom values in the ups.conf file: driver = nutdrv_qx port = auto desc = "my UPS" protocol = voltronic-qs subdriver = cypress vendorid = 0665 productid = 5161 The problem I'm experiencing is that after a
2007 Sep 27
1
[LLVMdev] FW: Qs about install on mingw32 (Was [llvm-announce] LLVM 2.1 Release!)
Ted, > When I try to run lli hello.bc, I get an unsatisfied DLL link error: "This > application has failed to start because pthreadGC.dll was not found." > Hunting around I can't find this DLL anywhere; where should it have come > from? pthreads are required for LLVM. Easy googling ("pthreads mingw32) returns the following place for dlls download:
2009 May 24
0
newbie qs. how to seek to a point in the Speex file?
Thanks for your reply. I am using JSpeex so it is not possible to use the libs you mention. I looked a little at the source in http://jspeex.sourceforge.net but cant see where the length can be stored. Unfortunately, that project does not seem to be maintained - no replies to queries posted on the forums. Does anyone know how to store the length of a JSpeex clip in the header? thanks, Anil ---
2006 Jun 13
0
Moving from a development to a production environment Qs
People, I have done a few little RoR apps and have struggled to move them from the WeBrick development environment to a production environment - I have actually succeeded but what I have done seems clumsy so I must be missing some things, eg: In public/.htaccess RewriteBase /library In app/views/layout/*.rhtml change: <li><a href="/library">Home page</a>
2015 Apr 05
0
nutdrv_qx hangs after send: QS
Hi, I have to admit this sounds like it could screw up the system if not done right - particularly because the solaris packaging system is unlikely to allow me to remove the libusb package if many things are dependent on it. Are there any other options - e.g. doing something with the libusb that ships with solaris - are we sure it doesn't support timeouts? I think I found some code relating
2015 Apr 06
0
nutdrv_qx hangs after send: QS
On Apr 5, 2015, at 12:26 AM, Richard Flint <richard.flint at gmail.com> wrote: > Any idea how i can get NUT to build against this libopenusb which has been installed by Solaris? ... > It might be possible to do the following: > > ? install openusb into an alternate directory (e.g. $HOME/local) > ? set PKG_CONFIG_PATH to anything that doesn't contain the system libusb.pc
2015 Apr 06
0
nutdrv_qx hangs after send: QS
On Apr 6, 2015, at 8:46 AM, Richard Flint <richard.flint at gmail.com> wrote: > Unfortunately this approach isn't going to work. > > I've done some further research and it would appear that it is the underlying ugen device and not libusb that is failing to honor the timeout. > > https://mail-index.netbsd.org/tech-misc/2006/03/17/0000.html > > The person above