Displaying 20 results from an estimated 4000 matches similar to: "--write-batch just hangs?"
2012 Feb 07
6
Setting up infile for R CMD BATCH
Suppose I create an R program called myTest.R with only one line like
the following:
type <- as.integer(readline("input type (1: type1; 2: type2)? "))
Then I'd like to run myTest.R in batch mode by constructing an input
file called answers.R with the following:
source("myTest.R")
1
When I ran the following at the terminal:
R CMD BATCH answer.R output.Rout
it failed
2008 Jan 13
2
{worker} after :end-time worker freaks out
Hi all,
i was using bdrb a while ago and it wasn''t stable enough in version
0.2.1 for doing the job - it loss jobs or did execute only the first one
invoked and so on.
Now i gave the new version a try and i found a bug at playing around.
When i start a worker_method over the normal Unix scheduler bdrb will
start as much as possible the worker_method after the :end-time is reached.
2004 Nov 05
2
Creating .Rout.save files for package subdirectory "tests"
Hi,
I added the "tests" subdirectory and a test file (say "myTest.R") to our
"systemfit" package. Up to now I create the "myTest.Rout.save" file with
> R CMD BATCH --vanilla myTest.R myTest.Rout.save
However, "R CMD check" reports two differences between myTest.Rout.save and
the output of myTest.R:
a) myTest.Rout.save contains following
2013 Dec 13
2
how can i write the function into a file c:/mytest.R with cat function?
mytest<-function(x,f){
sum(x*f)/sum(f)
}
cat(mytest,file="c:/mytest.R")
Error in cat(list(...), file, sep, fill, labels, append) :
argument 1 (type 'closure') cannot be handled by 'cat'
how can i write the mytest function into a file c:/mytest.R with cat function?
[[alternative HTML version deleted]]
2006 Apr 19
1
gsummary function (nlme library) (PR#8782)
Full_Name: Ben Saville
Version: 2.1
OS: Windows XP
Submission from: (NULL) (152.2.94.145)
I'm using the gsummary function to calculate a sum of V1 (column one) from my
data 'mytest' by group (V2,or column 2). If V1 (the variable of interest) is
all the same value (in this case all 2's), I do not get back the correct
summation. If there is at least one difference in V1 (all
2009 Jan 16
3
rspec model testing - test on user defined validation- How do I test that the create failed.
I''m new to rspec and looking for way to test a validation I added to a model.
The test checks to see that if field1 has a value then field2 must be nil
and vice versa.
-------------------------------
When I did the rspec_scaffold it generated one test which worked
before :each do
@valid_attributes = {
:field1 = "value for field1"
:field2 = "value for
2009 May 19
2
incremental directory searche in rsync 3.0.6
Hi,
I was in under impression that rsync 3.0.5/3.0.6 creates all the missing
directories in the path but I think I am wrong. Could any one tell me is it
possible to create all missing dirs in path at destination side if not
exists. Currently, I have been getting below errors.
rsync -avz /tmp/mytest/rsync-test/dir-test/parent-dir/
desthost:/tmp/mytest/rsync-test/dir-test/parent-dir/
sending
2014 Jun 09
4
[LLVMdev] LTO and Optimized libraries don't mix
When using the ARM cross compiler we've run into an issue with LTO and
optimized libraries.
Consider you have an optimized library opt.a, which contains a version of
memcpy.
Compiling with LTO (something like),
clang myTest.c opt.a -flto -o myTest
causes myTest.c to get compiled to bitcode.
Then the bitcode gets passed to the linker. The linker looks through the
bitcode (via
2010 Jul 02
4
zfs - filesystem versus directory
Folks,
While going through a quick tutorial on zfs, I came across a way to create zfs filesystem within a filesystem. For example:
# zfs create mytest/peter
where mytest is a zpool filesystem.
When does this way, the new filesystem has the mount point as /mytest/peter.
When does it make sense to create such a filesystem versus just creating a directory?
# mkdir mytest/peter
Thank you in
2010 Dec 03
2
How to get 'R' to talk BACK to other languages / scripts??
Hey everyone,
I know that I can call 'R' from other scripts, and that I can make
command calls from 'R' (e.g., using system() ). But how can I get 'R' to
RETURN values to the script that called it. E.g., I would like to be able
to do something like the following (as a simpler example) from a bash
script:
#!/bin/bash
myTest=echo /usr/local/bin/R --no-restore
2003 Sep 30
2
problem with batch mode:
Hi!
I try to use batch mode to send only the difference between two packed CDs
by email over a slow line.
I create the diff with:
rsync -avvv --write-batch=rs CD-ROM-V6.6.32.zip CD-ROM-V6.6.31.zip
where
alfred:/Auslieferung/CD # l -n
-rw-r--r-- 1 0 0 453248121 Sep 2 16:22 CD-ROM-V6.6.31.zip
-rw-r--r-- 1 0 0 407416499 Sep 29 13:39 CD-ROM-V6.6.32.zip
resulting
2002 Jun 02
1
batch diffs
I needed a tool to produce diffs of binary volumes, and to apply them as
patches accordingly. So I tried the 'batch mode' that was added to rsync,
but it invariably segfaulted on reading the batches...
$ sh foo.rsync_argvs
foo.rsync_argvs: line 1: 8971 Segmentation fault rsync -a -v --stats --read-batch=foo ${1:-FOO}
rsync: error writing 64 unbuffered bytes - exiting: Broken pipe
2010 Jan 01
1
Questions bout SVM
Hi everyone,
Can someone please help me in these questions?:
1)if I use crossvalidation with svm, do I have to use this equation to calculate RMSE?:
mymodel <- svm(myformula,data=mydata,cross=10)
sqrt(mean(mymodel$MSE))
But if I don’t use crossvalidation, I have to use the following to calculate RMSE:
mymodel <- svm(myformula,data=mydata)
mytest
2005 Dec 19
6
Shutdown script not being run
I've got an odd problem. My server will not shutdown normally because
the AoE driver is not being shut down properly. While investigating the
problem, I found that the aoe script is apparently not being called for
shutdown. I have been able to duplicate this with a brand new test
script.
My test script is just a simple file that echos back the start or stop
command:
#!/bin/bash
#
2005 Jun 23
6
Problems with Hello World
Hello, I''m installed RubyOnRails in my Fedora Core 4 system.
I''ve created an empty web application with:
rails cookbook
then a controller
ruby script/generate controller MyTest
And a file named my_test_controller.rb was created at
cookbook/app/controller directory.
I ''ve written a new method for MyTestController class like:
def index
render_text "Hello
2002 Feb 07
1
Latest version of the batch mode cleanup patch
Here's the latest version of the batch mode cleanup patch.
Index: batch.c
===================================================================
RCS file: /cvsroot/rsync/batch.c,v
retrieving revision 1.12
diff -u -r1.12 batch.c
--- batch.c 24 Jan 2002 08:09:46 -0000 1.12
+++ batch.c 6 Feb 2002 19:47:57 -0000
@@ -8,55 +8,38 @@
#include "rsync.h"
#include <time.h>
-char
2012 Jan 27
2
help with Box plot
Dear researchers
I wish to plot a box plot without the mean line (the black line) and the i
wish a full line for the standard deviation
This is an example
mytest <- c(2.1,2.6,2.7,3.2,4.1,4.3,5.2,5.1,4.8,1.8,1.4,2.5,2.7,3.1,2.6,2.8)
boxplot(mytest)
really thanks
Gianni
[[alternative HTML version deleted]]
2016 Jun 14
2
vfs_recycle on samba 4.3.9 as DC reset permissions
Hi,
I set up an Ubuntu 16.04 machine with samba 4.3.9 as DC.
Everything works fine. I created users and groups with the Windows RSAT
tools.
I also set different group permissions on some shares over Windows.
My Problem is now that I tried to enable the samba recycle bin:
[mytest]
path = /data/samba/mytest
read only = No
vfs objects = recycle
2006 Aug 08
1
recognation failed - ?!
Hi there,
When I was making examples form "Rolling with Ruby on Rails" (
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html ) , after
generating controller MyTest, the WEBrick server ( localhost:3000 )
reported an error:
recognation failed /MyTest
The WEBrick server was started form correct directory, what else can
crush in that way ?
Cheers.
--
Posted via
2008 Sep 23
1
Help with "No route matches "/MyTest/" with {:method=>:get}"
I just started working with Ruby. Anyways I can''t seem to figure out
how to have this message disappear. I was reading a tutorial and based
on it, when I type in http://localhost:3000/MyTest/ it should say
whatever I have written down on my my_test_controller.rb file.
I first ran: ruby script\generate controller MyTest
then I edited the my_test_controller.rb file
It currently says: