Displaying 20 results from an estimated 110 matches similar to: "Handling two lists of matrices"
2010 Feb 16
2
for loop Vs apply function Vs foreach (REvolution enhancement)
Dear all,
I know this topic has already been covered in other posts (at least the for loop Vs apply family of function), but I am looking for fresh / up-to-date opinion and feedback on those 3 methods to run unavoidable loops in R. I realise that it may be too general question for many, so any feedback appreciated.
1. apply Vs for loop
>> Seems apply is (was?) supposed to be faster than
2017 Jul 25
2
why is llvm.stacksave() necessary?
Hi all,
the language reference for the alloca instruction states:
The ‘alloca‘ instruction allocates memory on the stack frame of the
currently executing function, to be automatically released when this
function returns to its caller.
when using come c code like
void myfunc(void){
int i=4;
double d[i];
}
the ir shows enclosing llvm.stackSave & restore constructs, enclosing
the alloca
2017 Jul 25
2
why is llvm.stacksave() necessary?
> In C, the ‘minimal’ part is called the ‘scope’. Variables are always destroyed in the inverse order to the order in which they are created and so it’s always trivial to translate each into a stack save followed by an alloca when the variable comes into scope and a stack restore when the variable goes out of scope.
>
>> what would happen if stack safe/remove would be neglected?
2009 Feb 12
2
Messing with the "..." argument
Hi all,
Sorry if this is documented somewhere, but trying to search and google for
ways to alter my "..." argument is having me chasing my tail.
Is there someway that I can manipulate the elements in "..."?
Specifically I'd like to use certain vars in "...", then remove them
from "..." and pass the rest of "..." to another function.
2010 Feb 10
1
eval function with javascript-semantics possible in R?
Dear r-helpers,
I am looking for an R-equivalent for the eval-function in javascript which
can
interpret a string as code on runtime, thereby allowing things like
for (i in c(1:2))
{
eval(items + "i") <- read.csv(eval(filename+ i), dec=",");
}
which would execute (with filename="testfile"):
items1 <- read.csv(testfile1, dec=",");
items2 <-
2005 Dec 09
5
Prototype Enumerable, Array and Hash Documentation
Hey guys,
I recently published an article documenting some of the more useful
and interesting parts of Prototype''s Enumerable, Hash and Array objects.
You can find it here: http://encytemedia.com/blog/articles/
2005/12/07/prototype-meets-ruby-a-look-at-enumerable-array-and-hash
If you have any feedback or suggestions, fire away.
Cheers,
-Justin Palmer
2016 May 19
2
Completely Disable NTLM on Samba4
Thanks. I already request as below.
https://bugzilla.samba.org/show_bug.cgi?id=11923
-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org]
Sent: Thursday, May 19, 2016 2:54 AM
To: Kelvin Yip <kelvin at icshk.com>
Cc: samba at lists.samba.org
Subject: Re: [Samba] Completely Disable NTLM on Samba4
On Wed, May 18, 2016 at 05:15:40PM +0800, Kelvin Yip wrote:
> Dear
2005 Jun 12
1
how to tell
How do I tell if Asterisk is receiving a flash hook command?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050612/e0bb14f6/attachment.htm
2006 May 03
5
Listing Variables
How does one create a vector whose contents is the list of variables in a
dataframe pertaining to a particular pattern?
This is so simple but I cannot find a straightforward answer.
I want to be able to pass the contents of that list to a "for" loop.
So let us assume that one has a dataframe whose name is Data. And let us
assume one had the height of a group of people measured at
2017 Apr 26
6
NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
On 04/26/2017 04:22 AM, Gordon Messmer wrote:
> On 04/25/2017 03:25 PM, Robert Moskowitz wrote:
>> This made the same content as before that caused problems:
>
> I still don't understand, exactly. Are you seeing *new* problems
> after installing a policy? What are the problems?
>
>> #!!!! The file '/var/lib/mysql/mysql.sock' is mislabeled on your system.
2006 Oct 17
2
autoconf check for ldap not linking with -lber
Maybe not a big deal, but generally you (used to?) link against both:
configure:31276: checking for ldap_init in -lldap
configure:31311: gcc -o conftest -std=gnu99 -I/usr/local/include -Wall -W -Wmiss
ing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat
=2 -Wbad-function-cast -I/usr/sfw/include -L/usr/local/lib conftest.c -lldap
-lsocket -lnsl -lrt -lsendfile
2012 Oct 27
6
Is Xen VGA Passthrough to CentOS 6.3 x86-64 HVM domU successful?
Hi,
I have just passed through my NVIDIA Geforce GTX 560 to CentOS 6.3
x86-64 HVM domU. I am wondering whether the Xen VGA Passthrough is
successful.
The following information is obtained from inside CentOS 6.3 x86-64 HVM
domU:
00:05.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX
560] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Giga-byte Technology Device 3527
2012 Oct 27
6
Is Xen VGA Passthrough to CentOS 6.3 x86-64 HVM domU successful?
Hi,
I have just passed through my NVIDIA Geforce GTX 560 to CentOS 6.3
x86-64 HVM domU. I am wondering whether the Xen VGA Passthrough is
successful.
The following information is obtained from inside CentOS 6.3 x86-64 HVM
domU:
00:05.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX
560] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Giga-byte Technology Device 3527
2016 May 18
2
Completely Disable NTLM on Samba4
Dear all,
May I know if there is any way to completely disable NTLM and NTLM V2 on
samba4 ?
I need to ensure if someone bring their own workstations back to office and
they cannot connect to samba4 server using their password.
On Windows, there are a Security Settings to do this (Local Policies ->
Security Options -> Network Security: Restrict NTLM: Incoming NTLM Traffic)
Already
2005 Feb 07
3
e2fsck errors after lvextend when trying to resize2fs
I found a thread that has almost the exact same symptoms as me, but didn't
seem to come to a resolution:
https://listman.redhat.com/archives/ext3-users/2004-December/msg00018.html
I have an LVM(2) array that I've just lvextend'd and want to resize2fs, but I
can't get through the e2fsck. I get these errors when fsck-ing:
Group 3125's inode table at 102400545 conflicts with
2017 Jul 25
2
why is llvm.stacksave() necessary?
> Clang does this because clang intentionally generates IR naïvely and relies on LLVM optimisation passes to clean it up.
>
> In the case of C VLAs, the size of the alloca changes whenever the declaration goes into scope. By emitting a stack save and restore for d, clang doesn’t need to have different IR generating code for your example and for this one:
>
> void myfunc(void
>
2006 Feb 11
0
Chan capi failing post build 8015, possible causes?
Hello List and Armin,
I have been trying to narrow down my problems with getting chan_capi to
function properly. It seems that anything above build 8015 causes a
segfault on dial or receive.
The problem almost seems sporadic, and is certainly related to sip or
iax channels.
As soon as I update to build 8016, the problem starts. 8015 is fine.
For example, if I direct the number right to a
2013 Apr 03
3
arrayInd and which
Folks,
I have Googled but not found much regarding arrayInd aside from the "which" help page.
Any good examples or docs on what arrayInd does that is better or different from which()?
In addition take the following 20x10 matrix:
td<-structure(c(1, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 4, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 1, 6, 6, 6, 6, 6,
6, 6, 1, 6, 6, 6, 6,
2005 Jul 19
1
Statistics (PR#8015)
Full_Name: Wu,Jianyun
Version: 2.1.1
OS:
Submission from: (NULL) (139.80.123.40)
When i install the software,it appears a language selection box, which contain
chinese and english. Then i selected english, but after it was installed, the R
is running in Chinese character with some characters are wrong. I dont know what
happens
looking forward to your reply
2009 Sep 01
1
X11 plot window sizes
Hi,
I'm not understanding how the width & height parameters are
supposed to work. When I execute the following 4 commands:
X11()
X11(width=20, height=20)
X11(width=20, height=10)
X11(width=40, height=40)
I get the following *approximate* physical sizes on my screen:
6" x 6"
8" x 8"
12" x 6"
8" x 8"
For now I'm assuming that my pointsize