similar to: Ctrl+C in R will terminate the child process which is spawned by using "pipe"

Displaying 20 results from an estimated 2000 matches similar to: "Ctrl+C in R will terminate the child process which is spawned by using "pipe""

2013 Jun 25
5
How can C++ read the R object written into socket with saveRDS or save
Hi, all, Recently, I met one issue when using socket between R & C++ to transmit R object. Would you pls help give me some suggestions? Many thanks! [Background]: I create a socket connection between R & C++ binary first, and then, want to use saveRDS() or save() in R to save the object into connection directly. So that the C++ binary can read the object, and send it to another remote R.
2013 Jun 25
5
How can C++ read the R object written into socket with saveRDS or save
Hi, all, Recently, I met one issue when using socket between R & C++ to transmit R object. Would you pls help give me some suggestions? Many thanks! [Background]: I create a socket connection between R & C++ binary first, and then, want to use saveRDS() or save() in R to save the object into connection directly. So that the C++ binary can read the object, and send it to another remote R.
2013 Aug 14
1
2 questions about signal & broken connection in R
Hi, all, I have 2 questions about signal handling in R. Would you pls help give me some suggestions? Many thanks! [How to block the signal in one R function]: If one R function hopes to be running without interrupting, how can we avoid this? To be more specific, for one R function "func1", it will do a loop to send messages to another R process, and receive responses from peers. How
2011 Jan 23
1
Newb Question : How do I load the Rsymphony Library, and How do I get Symphony Running on my windows Vista?
Hi, I'm new to R, and at this phase, I don't really even know how to learn how to use R. I want to use R and Symphony together. CAn I use Symphony on a windows based machine? I downloaded Symphony 5.2.0, and when I hit to install it, I'm getting an error that I can't get past. "Bad end of central directory record" Now, let's say I miraculously am able to install
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.
2013 Jan 10
1
Fixing corrupt flac files
Here you are: soa2ii at thor /mnt/files/music/Slime/Alle gegen Alle $ metaflac --list 02\ St?rtebecker.flac METADATA block #0 type: 0 (STREAMINFO) is last: false length: 34 minimum blocksize: 4608 samples maximum blocksize: 4608 samples minimum framesize: 14 bytes maximum framesize: 15637 bytes sample_rate: 44100 Hz channels: 2 bits-per-sample: 16 total samples: 5857656
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]]
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
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
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
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
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
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
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 #
2007 Jul 20
1
unable to load shared library: undefined symbol
Hi all, I'm a summer University research student and I've been wroking on writing a package, Rsoam, to integrate R with Platform's symphony software to allow for distributed computing. When I "R CMD check" the package, I get the following error when trying to load the Rsoam.so after building Rsoam.cpp: * checking whether the package can be loaded ... ERROR Loading
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
2006 Apr 08
1
RELENG_6_1
Hi, According to the webpage [1], 6.1 has been branched on April 5. However, I noticed that there is a tag called RELENG_6_1, not a branch called RELENG_6_1. For example, sys/conf/newvers.sh [2], rev 1.69.2.11, is on RELENG_6 branch with tag RELENG_6_1_BP and RELENG_6_1. It is a bit strange for me. At least, we have RELENG_X_Y branch before and RELENG_X_Y_BP tag. Is there any special reason that
2013 Jan 10
4
Fixing corrupt flac files
So, let's provide some information then :-) ---------------------------------------------------------------------------------------------- soa2ii at thor /mnt/files/music/Slime/Alle gegen Alle $ flac -aF 02\ St?rtebecker.flac flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome