Displaying 20 results from an estimated 700 matches similar to: "Rsync recursion"
2002 May 17
3
Rsync dies
I?m trying to rsync a 210 GB Filesystem with approx 1.500.000 Files.
Rsync always dies after about 29 GB without any error messages.
I?m Using rsync version 2.5.5 protocol version 26.
Has anyone an idea ?
Thank?s Clemens
2012 Apr 27
6
Min , Max
Hellow everyone,
This code bellow will calculate average daily wind speed(measurements are
taken every three hours).Any ideas how to take the Min and Max instead of
average.
library(Matrix)
setwd("C:\\Users\\aalyaari\\Desktop\\img")
listfile<-dir()
long <- file("C:\\Users\\aalyaari\\Desktop\\New folder (5)\\inra.bin", "rb")
A=readBin(long, integer(),
2011 Jun 20
1
Per-directory brick preference?
Hi,
I operate a distributed replicated (1:2) setup that looks like this:
server1:bigdisk,server1:smalldisk,server2:bigdisk,server2:smalldisk
replica sets are bigdisk-bigdisk and smalldisk-smalldisk.
This setup will be extended by another set of four bricks (same setup)
within the next few days, and I could make those into another volume
entirely, but I'd prefer not to, leaving me with more
2012 May 24
6
R does not recognise columns and rows as they are supposed to be
Dear All,
The code given bellow is to extract values of one region and write that to
a text file(there are 365 binary files in the directory).
The problem which I am facing is that all my files are binary with size of
360 rows and 720 columns.
I specified that in this line: file2<-matrix(data=file,ncol=720,nrow=360)
but I got an error : Error in mean(file2[X, Y], na.rm = TRUE) : subscript
2007 Apr 20
1
Error: cannot change value of locked binding for
Hello R experts
What does this error means and how to resolve this issue (cannot change
value of locked binding for ). Please suggest
> mc = MonteCarloOption(dt = 1/360, pathLength = 30, mcSteps = 5000,
mcLoops =
+ 50, init = TRUE, innovations.gen = sobolInnovations, path.gen =
wienerPath,
+ payoff.calc = arithmeticAsianPayoff, antithetic = TRUE, standardization
=
+ FALSE, trace = TRUE,
2015 Mar 11
3
7-Zip for CentOS X86-64
Hey Y'all,
I'm looking at ZCad:
http://sourceforge.net/projects/zcad/?source=directory
It looks like the kind of 3D CAD package that I've been looking for. It
says that it works on Linux but it's zipped with 7-Zip which doesn't
seem to be available for CentOS.
Does anyone know if ZCAD or 7-Zip is packaged for CentOS X86-64
somewhere out there?
--
_
?v?
/(_)\
^
2012 Apr 06
2
read multiaple files within one folder
Suppose we have files in one folder file1.bin, file2.bin, ... , and
1460slice(file) with dim of 720 * 360 in directory C:\\PHD\\Climate
Data\\Wind\\ and we want to read them and make a loop to go from 1 to 4
and take the average, then from 4 to 8 and so on till 1460. in the end we
will get 365 files . I need those 365 files to be in one new folder for
later use in my model
I tried using this
2019 Mar 18
4
Possibly broken system2 env-option
Hey all,
what is wrong with this command:
system2("echo", env = c(VAR = "Hello World"), args = c("$VAR"))
I am a bit confused, as help("system2") writes about the env option:
> character vector of name=value strings to set environment variables.
Is this option buggy, or am I using it just wrong?
Thanks for your help
Henning
2019 Mar 19
2
Possibly broken system2 env-option
On Tue, Mar 19, 2019 at 9:59 AM peter dalgaard <pdalgd at gmail.com> wrote:
[...]
> What you need is something like (NB: single quotes!)
> > system2("sh", env = c("VAR='Hello World'"), args = c("-c 'echo $VAR'"))
> Hello World
Just out of curiosity, do you think it is possible to make this
portable, assuming sh is available? On
2018 Sep 14
2
Bug when calling system/system2 (and request for Bugzilla account)
I hope it's not too specific in my setup...
I've tried with system2 added on the first line, so:
Example.R:
system2('ls', timeout=5)
cat('Start non-interruptable functions\n')
sample_a <- sample(1:1e7)
sample_b <- sample(1:2e7)
matching <- match(sample_a, sample_b)
cat('Finished\n')
Sys.sleep(10)
And in terminal/bash:
R --vanilla
2016 Aug 09
4
ssh & ksh question
I need to run a report, source file on system 1, on system 2. I'd like to
do this in one script, not have a second script to run it.
Now
cat script | ssh system2
works fine. But no matter what I've tried, it gags on
ssh system2 <<EOF
blah, blah
EOF.
Mostly, I have a multiline awk script in the script, with \ at the end of
each line... *but* I think it's seeing "\n" as
2018 Sep 14
3
Bug when calling system/system2 (and request for Bugzilla account)
Hi all,
I found some strange behaviour, which I think is a bug. Could someone make an account for me on Bugzilla or pass on my report?
The problem:
When pressing Ctrl-C when a file is sourced in R, run from Terminal (macOS), sometimes the entire session is ended right away, while I just want to stop the script. This is the case when I press Ctrl-C while some functions are running that don?t
2018 Jan 26
2
utils::install.packages with quiet=TRUE fails for source packages on Windows
Hi,
Installing a source package on Windows using utils::install.packages()
with quiet=TRUE fails, while it works with the default quiet = FALSE.
The problem seems to be caused by the fact that when quiet = TRUE,
stdout and stderr are set to FALSE when calling "R CMD INSTALL" with
base::system2() here:
2015 May 18
4
How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?
My question:
On Windows, R's system() command prepends several directories to those
in the Windows Path variable.
>From ?system
The search path for 'command' may be system-dependent: it will
include the R 'bin' directory, the working directory and the
Windows system directories before 'PATH'.
This shadows any executables on the Path that share a
2010 Nov 11
1
Problem with system2(), directing STDERR to a file
According to ?system2, I should be able to direct the output of STDERR to a
file by giving the filename as a character vector to the "stderr" argument.
But here is what happens.
Given a ruby script test.rb (with its executable bit set):
#!/usr/bin/env ruby
STDOUT.puts "stdout"
STDERR.puts "stderr"
And the following R code:
> t <- tempfile()
> res <-
2019 Dec 15
1
system2 doesn't quote stdin on unix, unlike stdout, stderr & input and on Windows
Hi again!
While investigating the bug report [*] I found out that on unix, system2
does not quote its `stdin` argument while preparing the command line to launch.
It does shQuote the `stdout` and `stderr` arguments, and also the `f <-
tmpfile()` variable (which is used if `input` argument is provided),
which seems to set a precedent. On Windows, stdin, stdout, and stderr are handled
2019 Feb 28
2
Exit status of Rscript
Current R release (3.5.2) and devel return a 0 exit status on error,
while prior versions returned a non-zero exit status. On Linux and
MacOs, the following line returns TRUE for R-3.5.2 and R-devel, and
FALSE for R-3.5.1 and R-3.5.0:
system2("Rscript", c("-e", shQuote("stop('foo')"))) == 0
I didn't find this in the NEWS, so I believe this is a bug.
2010 Oct 02
1
cleanup_pkg() in tools:::.build_packages() is broken
Hi,
The cleanup_pkg() function defined the big tools:::.build_packages()
function in tools/R/build.R is currently broken. When Makefiles are
used cleanup_pkg() doesn't clean anything because of the way system2()
is called.
For example, the call to Ssystem() on line 304 (Ssystem is a silent
version of system2) is basically trying to do this:
>
2013 Sep 23
1
Capture output of install.packages (pipe system2)
Is there any way to capture output (both stdout and stderr) from
install.packages? Solutions like sink and capture.output don't work
because the install.packages calls out to system2 which is executed in
a separate process:
test <- capture.output(install.packages("MASS"))
The system2 function does have arguments stdout and stderr but afaik
these cannot be controlled via
2018 Jan 26
1
utils::install.packages with quiet=TRUE fails for source packages on Windows
The obvious guess would be that Rstudio is attempting something like redirecting output and getting itself confused. However, it is pretty clearly Their Problem, no? Rstudio has their own support infrastructure.
-pd
> On 26 Jan 2018, at 09:17 , Andreas Kersting <r-devel at akersting.de> wrote:
>
> Just noticed that this problem only occurs from within RStudio (v1.1.414). Any