Displaying 20 results from an estimated 300 matches similar to: "use variable value to create new variable name"
2006 May 21
2
nls & fitting
Dear All,
I may look ridiculous, but I am puzzled at the behavior of the nls with
a fitting I am currently dealing with.
My data are:
x N
1 346.4102 145.428256
2 447.2136 169.530634
3 570.0877 144.081627
4 721.1103 106.363316
5 894.4272 130.390552
6 1264.9111 36.727069
7 1788.8544 52.848587
8 2449.4897 25.128742
9 3464.1016 7.531766
10 4472.1360 8.827367
11
2012 Jul 26
4
names function not working at the 2nd place in a program
Hello,
I am using names function to name an array.
It works first time when I use *as.numeric(names(myVar1)*
However, at a place later, when I tried to use a very similar line of code
*as.numeric(names(myVar2)*, it always returned 'numeric(0)' (or if I only
type 'names(myVar2), it gave me NULL'.
Both myVar1 and myVar2 are type of integer. The only difference that I can
tell is
2004 Nov 04
3
calling a var by name in another var
Hello list,
I'd like to use a variable (or a column of a data frame) by using its name as a
string. E.g.:
Data2003 <- c(150,200,120)
Data2004 <- c(145,211,110)
myvar1 <- "Data2003"
myvar2 <- "Data2004"
# now I'd like do do this
total <- Data2003 + Data2004
# in any way like
# total <- ???(myvar1, myvar2)
# or
# total <- ???(myvar1) +
2020 Nov 01
2
strange file .temp.1592374672.P11164Q21M692534.hostname - doveadm altmove
dovecot 2.2.33.2 Ubuntu 18.04
I got strange file
.temp.1592374672.P11164Q21M692534.hostname
after doveadm altmove command
in INBOX on alternate storage server
What can I do with this file? Remove?
I am using dbox
regards
2004 Dec 01
1
$HOME instead of pw->pw_dir question.
Hello.
I have one, small question.
There are any security reasons to not use a getenv("HOME")
instead of pw->pw_dir in ssh.c and tildexpand.c to find
user home directory?
--
Grzegorz Kryza
mailto: kryza at nomachine.com
http://grzegorz.kryza.net
2012 Apr 27
3
[LLVMdev] Odd PPC inline asm constraint
Hello,
I am not sure whether this is a clang issue, an LLVM issue, or both;
but clang chokes when parsing expanded macros from the
glibc /usr/include/bits/fenvinline.h with an error like:
./boost/math/tools/config.hpp:279:10: error: invalid input constraint
'i#*X' in asm feclearexcept(FE_ALL_EXCEPT);
^
/usr/include/bits/fenvinline.h:56:11: note: expanded from macro
2002 Nov 22
3
ftp on 80 port
Still not working
I really have to change 21 port on 80 port, my friend has only www and mail
on his netwok. He has rigorous admin.
I have done :
!! in proftpd.cof :
# Port 21 is the standard FTP port.
Port 80
!! in /etc/shorewall/modules:
loadmodule ip_conntrack_ftp ports=21,80
loadmodule ip_nat_ftp ports=21,80
AFTER THAT AND RESTARTTING PROFTP AND
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
2015 Aug 12
3
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
On 2015/8/12 12:57, Alexei Starovoitov wrote:
> On Wed, Aug 12, 2015 at 10:34:43AM +0800, Wangnan (F) via llvm-dev wrote:
>> Think about a program like this:
>>
>> struct strA { int a; }
>> struct strB { int b; }
>> int func() {
>> struct strA a;
>> struct strB b;
>>
>> a.a = 1;
>> b.b = 2;
>>
2012 Apr 28
0
[LLVMdev] Odd PPC inline asm constraint
On Fri, 2012-04-27 at 14:54 -0500, Hal Finkel wrote:
> There is a comment in the file which reads:
>
> /* The weird 'i#*X' constraints on the following suppress a gcc
> warning when __excepts is not a constant. Otherwise, they mean the
> same as just plain 'i'. */
[sinp]
> ("mtfsb0 %s0" : : "i#*X"(__builtin_ffs (__excepts)));
[snip]
2017 May 14
8
[PATCH 1/3] Fix ERROR: trailing statements should be on next line
From: Maciej Fijalkowski <macfij7 at wp.pl>
Signed-off-by: Maciej Fijalkowski <macfij7 at wp.pl>
---
drivers/net/virtio_net.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 9320d96..f20dfb8 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -217,7 +217,8 @@ static void
2017 May 14
8
[PATCH 1/3] Fix ERROR: trailing statements should be on next line
From: Maciej Fijalkowski <macfij7 at wp.pl>
Signed-off-by: Maciej Fijalkowski <macfij7 at wp.pl>
---
drivers/net/virtio_net.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 9320d96..f20dfb8 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -217,7 +217,8 @@ static void
2013 Oct 13
2
trouble with user's right indexing with omega
Hi,
I'm using omindex to index files and I want make query with user/group
boolean prefix (I*, I at ... and I#...). That work well with "other" and
"group" right, but not in all case for "user" right.
Here is an example:
assume that we have an user "ftp" not in "users" group. If file right are:
-rw-r------ 1 ftp users 13 2013-10-06
2002 Dec 13
1
help me with rules
I want to reject all ports to 217.17.41.0/24 for one IP 192.168.1.6 and give
only WWW from 217.17.41.87 to client computer 192.168.1.6. Please help me
... I have done it in rules file :
REJECT net:217.17.41.0/24 local:192.168.1.6 tcp
REJECT local:192.168.1.6 net:217.17.41.0/24 tcp
REJECT net:217.17.41.0/24 local:192.168.1.6 udp
REJECT local:192.168.1.6 net:217.17.41.0/24 udp
ACCEPT
2002 Dec 12
1
maclist - thank You
It is working very good :) Thank You. I only need to write Interface etho in
maclist file. My MAC addresses don''t neet the ~ in front of. Thanks !
Maciek
--
----
Oferta jakiej jeszcze nie by³o!
Serwer www 60 MB za 99 z³ rocznie
Szczegó³y: www.oferta.alpha.pl
----
2002 Dec 12
1
MACLIST -> one more time ... :(
> Yes -- just leave the setting of MACLIST_DISPOSITION=REJECT and any
request
> from interfaces with the ''maclist'' option will be rejected if there isn''t
a
> match found in the maclist file.
I have wrote some IP''s and MAC''s from my network, for example :
#INTERFACE MAC IP ADDRESSES (Optional)
2002 Dec 14
1
kazza 80 port
I have blocked all high ports used by kazza but new kazza is going also now.
It is going on 80 port, it is possible in shorewall to block kazza ? Mayby I
should write some rules for 80 port ?
Maciek
--
----
Oferta jakiej jeszcze nie by³o!
Serwer www 60 MB za 99 z³ rocznie
Szczegó³y: www.oferta.alpha.pl
----
2010 Aug 21
2
Making a series of similar, but modified .r files - suggested method(s)?
Dear all:
Any suggestions are much appreciated. I am looking for a way to make a
series of similar, but slightly modified, .r files.
My issue is automating making 320 .r files that change the for(i in 1:x) in
my base .r file (as well as other elements, e.g., the load(...),
setwd(...)). For smaller jobs running on a single computer with batch files,
I have been manually changing the for(i in 1:x)
2012 May 10
1
[LLVMdev] Odd PPC inline asm constraint
Peter,
Could you please comment on:
http://llvm.org/bugs/show_bug.cgi?id=12757
Specifically, gcc seems to allow this:
int __flt_rounds() {
unsigned long fpscr;
__asm__ volatile("mffs %0" : "=f"(fpscr));
return fpscr;
}
My reading of this is that gcc allocates a floating-point register to
hold the result of the mffs instruction, and then bit casts (and
truncates?) the
2002 Dec 06
1
speak freely -> 2074 port
I want to talk with my friend with microfon with program speak freally. He
has firewall (shorewall) on his linux serwer and has other computer as a
client and I have the same network connected winh internet. This program use
port 2074 to communicate. We have done something like this :
DNAT net local:192.168.1.6 tcp 2074
DNAT net local:192.168.1.6 udp 2074
on linux serwer with shorewall (rules
2002 Nov 22
1
(no subject)
I have changed my port in poftpd on 80 because I have to. But after
proftpd restart and shorewall restart ftp serwer not working on 80 (on 21
also not - I chave changed port numer in proftpd.conf).
I think that I have also change in my shorewall configuration ?
--
----
Oferta jakiej jeszcze nie by³o!
Serwer www 60 MB za 99 z³ rocznie
Szczegó³y: www.oferta.alpha.pl
----