similar to: Q: replacing elements in an array

Displaying 20 results from an estimated 9000 matches similar to: "Q: replacing elements in an array"

2024 Jan 10
2
using Paraview "in-situ" with R?
At ORNL, we worked with VisIt (a sibling of Paraview, both funded largely by DOE) around 2016 and made an in situ demo with R. We used packages pbdMPI (on CRAN) and pbdDMAT (on GitHub/RbigData), which were in part built for this purpose. Later also the package hola (on GitHub/RbigData) was built to connect with adios2, which can do buffered in situ connections with various codes. But the VisIt
2019 Feb 26
8
Intermittent crashes with inset `[<-` command
The following code crashes after about 300 iterations on my?x86_64-w64-mingw32?machine on R 3.5.2 --vanilla.?? Others have duplicated this (see?https://github.com/tidyverse/magrittr/issues/190?if necessary), but I don't know how machine/OS-dependent it may be.?? If it doesn't crash for you, please try increasing the length of the x vector. Substituting the commented-out line for the one
2019 Feb 27
2
Intermittent crashes with inset `[<-` command
Valgrind (without gctorture) reports memory misuse: % R --debugger=valgrind --debugger-args="--leak-check=full --num-callers=18" ... > x <- 1:200000 > y <- rep(letters[1:5], length(x) / 5L) > for (i in 1:1000) { + # x[y == 'a'] <- x[y == 'b'] + x <- `[<-`(x, y == 'a', x[y == 'b']) + cat(i, '') + } 1 2 3 4 5 6 7 8 9 10
2018 May 09
2
DsGetNCChanges 2nd replication on different
On Wed, 9 May 2018 11:02:45 -0300 Carlos via samba <samba at lists.samba.org> wrote: > Thanks; > > but, i can use same name ou change name ? Upgrading in situ, then yes you can use the same data and to be honest, you should, but if you demote a DC, NEVER user the same name again (well not until you are 100% positive there are no traces of the old name in AD, probably at least 6
2005 Aug 02
2
port forwarding ip to ip sip calls
Hi, I've got two pa1688 phones that I want to set up to communicate between branch offices without a gatekeeper. Both phones will be behind a firewall and I want to use port forwarding so the phones can communicate. I tested the phones behind a firewall on the same network segment and there were no problems at all using sip. However, I then moved the phones into situ and port forwarded
2012 Jan 13
1
Brillouin index
Dear colleagues. I wonder if anybody knows about a procedure in R to calculate the Brillouin Diversity index. I searched the net but did not find anything about it. Thanks a lot for any help Best, Philipp *************************************************** Prof. Dr. Philipp Fischer Head of AWI Center for Scientific Diving & Dept. In situ Ecology Section Shelf Sea Systems
2019 May 11
1
Can browse files but can't open them
Hello I have a new Debian installation and am trying to open files on another computer. So far I can browse that other computer by using smb://192.x.x.x in my file manager (PCManFM). But when I try to open a file for editing, I can't. Typically what happens instead is that the right application launches as if to open the file, but it remains empty, i.e. no document gets loaded. I notice as
2018 May 09
2
Fwd: Re: DsGetNCChanges 2nd replication on different
HI ! I demote dc "same" name and rename dc, but same IP adresss. But erro persiste... DC "new name" May  9 15:34:39 dcXXX-NEW samba[12278]:   UpdateRefs failed with WERR_DS_DRA_ACCESS_DENIED/NT code 0xc0002105 for 37ba1799-307a-49ef-a6df-3657da7c4c98._msdcs.XXXX DC=DomainDnsZones,DC=XXX,DC=XXX,DC=XXX,DC=XX 37ba1799-307a-49ef-a6df-3657da7c4c98 = dcXXX-NEW Any  ideia ?
2019 Oct 01
1
upgrading from CentOS 7 to 8
On 10/1/19 10:57 AM, MAILIST wrote: >> Your answer has nothing to do with the original question which is related >> to upgrade method and not condition for reinstalling without loosing >> data. > > After 40 years of upgrading many different operating systems, > Windows (from 3.1 to 10), CentOS 6 to 8, Ubuntu, Fedora, Red Hat, > AT&T Unix, VAX VMS; I have never
2001 Dec 31
2
Extracting/setting elements from/in a matrix/array
Dear all, I had to extracts/set elements from/in a matrix. Let say I have two vectors dim1 and dim2 of indices in the respective two dimensions of a matrix: I want to extract all the corresponding elements. I the case of a nxn matrix, dim1 <- 1:n and dim2 <- 1:n would extract the diagonal. I know one way would be to use the functions 'row' and 'col', but the matrixes I
2010 May 06
1
R on kdeedu-svn library problem
Hello, I am new to this list. ?I am trying to compile the current svn version of kdeedu on an amd64 linux machine ?which uses R and I get the following compiler output. ------------------------------------------- ?79%] Building CXX object cantor/src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/rserver.o $SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp: In member function
2003 Oct 14
2
read-only problem in 3.0.0
We have a problem with shares that we would like to keep read-only for some users; it worked with 2.2.8a, but with 3.0.0 there is this odd behaviour: Users with read-only privilege can browse the files, can copy them out of the share (eg to their own hard disks) and open the copies, and can open the files in situ with Notepad; but if they try to open files in the share with Excel, for example, or
2023 Jan 29
1
Upgrading from Samba 4.8.2 to 4.15.5
On Sat, 28 Jan 2023 12:42:17 -0500 Mark Foley wrote: Thanks for that extensive response! --Mark On Sat Jan 28 05:12:23 2023 Rowland Penny via samba <samba at lists.samba.org> wrote > > [deleted] > You should be able to find out if your Samba packages were built with > MIT by running: > > smbd -b | grep HAVE_LIBKADM5SRV_MIT > > You should get nothing returned if
2012 Jun 20
1
CentOS-5.8 - Problem booting remote host
Kernel 2.6.18-308.8.2.el5 I recently experienced an odd problem with a host at our warm-site location. The facility we use suffered an hvac failure during elevated ambient temperatures (30C+) on Monday past and the equipment room reportedly cooked for some hours. It was sufficient that our equipment shutdown. In all probability this was due to an over-temp condition since the systems are all
2017 Mar 03
2
Control statements with condition with greater than one should give error (not just warning) [PATCH]
I'd like to propose that the whenever the length of condition passed to an if or a while statement differs from one, an error is produced rather than just a warning as today: > x <- 1:2 > if (x == 1) message("x == 1") x == 1 Warning message: In if (x == 1) message("x == 1") : the condition has length > 1 and only the first element will be used There are
2013 Jan 02
2
Read many cvs files
Hello R helpers, I would like to automate this code for many files of the same type. But I don´t know how to make it. In particular, i don´t know how to read many files each one as an r object with the name of the file. Then a for loop would be sufficient, right? Many thanks and a happy new year. Dominic datos <- read.table('global2001.csv',head=T,sep=';',stringsAsFactors=F)
2023 Feb 15
1
Evaluation of the Samba-tools rename functionality
HI, Just an update on this samba-tool (V4.17.4) ..rename functionality, against a 2008SP2 level AD. (also in case anyone else is mad enough to want to attempt this.) The rename tool, seems to do a fairly good job, However there are a couple of other fields that could do with being flushed/fixed during the rename. This one which breaks MS tools(with continuous looping & modal
2017 Apr 30
1
`match.call` and dots substitution
I'm noticing some interesting behavior in `match.call` in some corner-ish cases that arise when you try to use `match.call` to match a "grandparent" function and there are dots involved: fun0 <- function(a, ...) fun1(...) fun1 <- function(b, ...) fun2() fun2 <- function() match.call( fun1, sys.call(sys.parent()), expand.dots=FALSE,
2019 Jul 13
2
Mitigating Stalls Caused by Call Deparse on Error
When large calls cause errors R may stall for extended periods.? This is particularly likely to happen with `do.call`, as in this example with a 24 second stall: ??? x <- runif(1e7) ??? system.time(do.call(paste0, list(abs, x)))? # intentional error ??? ## Error in (function (..., collapse = NULL)? : ??? ##?? cannot coerce type 'builtin' to vector of type 'character' ??? ##
2008 Apr 24
1
Calling R functions with multiple arguments from C
Hi, I'm writing a C function that has to call a R function with multiple arguments. I've read the relevant section in Writing R Extensions, and searched the R site, mailing lists as well as rseek. I managed to call the function, but I'm now having trouble creating the argument list. I tried to create a pairlist of the arguments and send it to the R function. The R function however