Displaying 20 results from an estimated 23 matches for "test_1".
Did you mean:
test7_1
2011 Nov 21
5
R ignores number only with a nine under 10000
...s,
I'm trying to replace numerical values in a datamatrix with strings. R does
this except for numbers under 10000 starting with a 9 (eg 98, 970, 9504
etc). This is really weird and I wondered whether someone had encountered
such a problem or knows the solution. I'm using the next script:
test_1 <- read.table("5+ref_151111clusters3.csv", header = TRUE, sep = ",",
colClasses = "numeric")
test_1[test_1 > 94885 & test_1 <= 113835] = "KE3926OT"
test_1[test_1 != 0 & test_1 <= 18954] = "I8456"
test_1[test_1 > 75944 & te...
2009 Oct 25
4
Multiple line commands in R scripting
I'm wondering whether there is a character to let R know to expect more
input for a command on subsequent lines. Here is an example:
test_1.R:
x <- c(1,2,3,4)
/ c(1,2,3,4)
x
R CMD BATCh test_1.R produces test_1.Rout:
> x <- c(1,2,3,4)
> / c(1,2,3,4)
Error: unexpected '/' in " /"
Execution halted
test_2.R:
x <- c(1,2,3,4) /
c(1,2,3,4)
x
R CMD BATCh test_1.R produces test_2.Rout:
> x <...
2006 Apr 16
11
RJS templates not found
I am running Rails 1.10 and wanted to check out the RJS templates.
Rails doesn''t seem to find them.
I did issue the rake comment update_javascripts and that did not correct
the problem. RJS is part of 1.1 right?
Any ideas?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2011 Nov 21
1
quota.h
...rror: sys/fs/vx/quota.h: No such file or directory
compilation terminated.
['/usr/bin/gcc', '-MD', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1',
'-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o',
'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc
test.c -> test_1.o}'no
2014 Jun 21
1
broken samba-4.1.8 waf configure
...re with the -v option gives this interesting dialog:
Checking for header gssapi/gssapi_krb5.h :
21:53:04 runner /usr/bin/gcc -MD -I/usr/local/include
-I/local/package/krb5-1.12.1/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1
-D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../test.c -c -o
default/test_1.o
yes
Checking for library k5crypto :
21:53:04 runner /usr/bin/gcc -MD -I/usr/local/include -D_SAMBA_BUILD_=4
-DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../test.c
-c -o default/test_1.o
21:53:04 runner /usr/bin/gcc default/test_1.o -o
/scratch01/gigo.d1/gigo.d...
2016 Jul 02
3
Need help Compiling Samba
Hi,
I was recently using Samba 3.6.0 on AIX 6100-09-06-1543, but that has a
security vulnerability.
Therefore, I tried to compile Samba v4.4.4 on AIX 6100-09-06-1543. I am
using Python 2.7.11.
After running ./configure I get the following error.
/usr/local/samba-4.4.4/wscript:106: error: the configuration failed (see
'/usr/local/samba-4.4.4/bin/config.log')
I can send you more
2007 Nov 06
1
User keywords limit to 26
...rid of the keywords limit ?
Or perhaps the new dbox storage format can fix that ?
By the way, the comportement of Dovecot when we try to add a new flag
while the limit is exceeded is strange :
(C: is client and S: Dovecot)
The store of the flags is ok :
C: RUBY0094 UID STORE 89 +FLAGS (test_0 test_1 test_2 test_3 test_4
test_5 test_6 test_7 test_8 test_9 test_10 test_11 test_12 test_13
test_14 test_15 test_16 test_17 test_18 test_19 test_20 test_21
test_22 test_23 test_24 test_25 test_26)
S: * 81 FETCH (UID 89 FLAGS (\Seen test_1 test_2 test_3 test_4 test_5
test_6 test_7 test_8 test_9...
2009 Sep 11
1
call Fortran from R
...odel.o wrapper.o
From within R
dyn.load('model.so')
model <- function(times, alfa, beta) {
returned_data = .Fortran('model_wrapper', times=as.double(times),
alfa=as.double(alfa),
beta=as.double(beta), result=double(1))
return(returned_data) }
# example run
test_1<-model(1.0,0.2,0.3)
which gives
test_1$times
[1] 1.0
$alfa
[1] 0.2
$beta
[1] 0.3
$result
[1] 147456887
where $result is clearly wrong.
I suppose I made some mistake with the handling of data types, but I am
not able to figure out where.
Can someboby help me?
Giacomo
--
--------------...
2016 Mar 15
0
Building smbclient 4.3.3 issues with lttng-ust
.../gcc', '-MD', '-I/opt/windriver/6.0/2016.048/i686/sysroots/i686-wrs-linux/usr/lib/../include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
-----------------------------------------------------------------------------------------------
Checking for library lttng-ust
==>
int foo()
{
int v = 2;
return v*2;
}...
2014 May 31
0
broken samba-4.1.7 waf configure
...re with the -v option gives this interesting dialog:
Checking for header gssapi/gssapi_krb5.h :
21:53:04 runner /usr/bin/gcc -MD -I/usr/local/include
-I/local/package/krb5-1.12.1/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1
-D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../test.c -c -o
default/test_1.o
yes
Checking for library k5crypto :
21:53:04 runner /usr/bin/gcc -MD -I/usr/local/include -D_SAMBA_BUILD_=4
-DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../test.c
-c -o default/test_1.o
21:53:04 runner /usr/bin/gcc default/test_1.o -o
/scratch01/gigo.d1/gigo.d...
2010 Jun 30
2
plain text in Chinese can not be set
...egards,
Jinsong
### the code to reproduce my question ###
pdf("test_0.pdf", fonts = c("GB1"))
plot(1:10)
text(5,4, "\u4F60\u597D", family="GB1", font = 0) ## bold
text(5,5, "is 'hello' in Chinese", font = 0) ## normal
dev.off()
pdf("test_1.pdf", fonts = c("GB1"))
plot(1:10)
text(5,4, "\u4F60\u597D", family="GB1", font = 1) ## bold
text(5,5, "is 'hello' in Chinese", font = 1) # normal
dev.off()
pdf("test_2.pdf", fonts = c("GB1"))
plot(1:10)
text(5,4, "\u4F6...
2012 Sep 02
1
Cross Compile Samba4
...r/ddwrt/staging/opt/include/python2.6',
'-I/usr/local/include', '-I/usr/include/python2.6', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking ^[[33mdefault/testprog^[[0m
/home/ulmer/optware/builddir/ddwrt/toolchain/mipsel-linux-uclibc/gcc-4.1.1-uclibc-0.9.28/lib/gcc/mipsel-linux-uclibc/4.1.1/../../../../mipsel-linux-uclibc/bin/ld:
unrecognized option '-Bsymbolic-functions'
/home/ulmer/optware/builddir/ddwrt...
2015 Feb 11
0
Samba 4.2.0rc4 fails to start up
...MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['/opt/local/bin/gcc', 'default/test_1.o', '-o', '/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bin/.conf_check_0/testbuild/default/testprog', '-R/opt/local/samba4/lib:/opt/local/samba4/lib/private:/opt/local/lib'...
2003 Sep 04
0
security issues wint smbmount
...ngtesting/test.txt
test
bash-2.05a$ echo "test test test" > /testingtesting/test.txt
bash-2.05a$ cat /testingtesting/test.txt
test test test
bash-2.05a$ rm /testingtesting/test.txt
rm: cannot unlink `/testingtesting/test.txt': Permission denied
bash-2.05a$ touch /testingtesting/test_1.txt
touch: creating `/testingtesting/test_1.txt': Permission denied
bash-2.05a$ grep ^root: /etc/group
root:x:0:root
bash-2.05a$ smbmount
Usage: mount.smbfs service mountpoint [-o options,...]
Version 2.2.8a
.
(cut)
.
bash-2.05a$ exit
logout
[root@nfs1 ~]# ls -la /testingtesting/test*
-rw-r...
2007 Mar 01
3
Ajax.PeriodicalUpdater using Effect.Highlight to highlight newly loaded div
Hi folks. So far I have managed to get dataloading into a div froma
php script. This script just passes the time on the server in a div to
the javascript below. I am trying to get the last loaded data to call
Effect.Highlight but it seems to highlight the 2nd last data instead.
Can anyone see what''s going wrong here? I''ve tried everywhere to solve
this.
Check the code in action
2008 Apr 08
1
Weibull maximum likelihood estimates for censored data
...lt;-1
# if equal, only indicate if rv for simulation
}
# is larger that rv for sample LR
Gn <- 1-(sum(NSimM[,3]))/nsim + sum(NSimM[,4])/nsim
pval <- (nsim*Gn+1)/(nsim+1)
#Calculate Monte Carlo p-value
out <- c(pval,confint(fit1))
now <- c(Le,Lw)
LR0
}}
> test_1 <- dur_ind_test(CDMatrix = Interest,nsim=1000)
Profiling...
> test_1
A b
42.32406 41.59035
=> likelihood ratio = 1.017641
Could someone please help?
http://www.investec.com/EmailDisclaimer/emaildisclaimer.htm
The disclaimer also provides our corporate infor...
2007 Nov 06
1
UTF-8 in dovecot-sieve ?
...messages by matching header in
UTF-8.
But when I tested it, it failed :
(I'm using 1.0.5 with sieve plugin)
Here is my .dovecot.sieve file :
----------
require ["fileinto", "imapflags"];
if allof(header :contains "subject" "filtre") {
addflag "test_1";
}
if allof(header :contains "subject" "l?") {
addflag "test_2";
}
if allof(header :comparator "i;ascii-casemap" :contains "subject"
"h?") {
addflag "test_3";
}
----------
Only the first of the three rules do work....
2006 Feb 19
3
multi-sql problem?
hi all,
how to excute multi sql statement in rails
#-------------------------------------------------------
sql_1 = ''drop table if exists test''
sql_2 = ''create temporary table test select * from test_1''
sql_3=''select * from test''
#-------------------------------------------------------
any ideas
all regards
--
Posted via http://www.ruby-forum.com/.
2013 Jul 07
0
Libvirt and Glusterfs
...e-virtio-disk1,format=raw:
could not open disk image gluster://127.0.0.1/vol0/test0.img: No data
available
Using this command to run qemu directly works like a
charm:
[root@bbox ~]# qemu-system-x86_64 -name test -machine
pc-i440fx-1.5,accel=kvm,usb=off -m 8G -smp 1,maxcpus=4 -drive
file=/pool/st01/test_1.img,if=none,id=drive-virtio-disk0,format=raw
-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-drive
file=gluster://127.0.0.1/vol0/test0.img,if=none,id=drive-virtio-disk1,format=raw
-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive...
2007 Nov 25
1
DO NOT REPLY [Bug 5104] New: network copy issues involving filenames ending with a period
...produced by trying to sync a directory which has a name
ending in a period. Performing a local rsync (same machine) results in no
problems. However when attempting to rsync from either mac to my linux server
(running rsync 2.6.9) the file names get changed. If, for instance, a
directory is named TEST_1. and it is rsyncd over the network, the resulting
filename created on the linux server becomes something like TBI9NE~4
The problem only happens when the file is being created on the linux server
(running gentoo 2007.0). When the file correctly renamed and sent back to the
macs, all is well....