Displaying 20 results from an estimated 3000 matches similar to: "Create and Initialize List values"
2010 Nov 20
2
Merge two ggplots
Hello everyone.
I am using ggplot and I need some help to merge these two plots into one.
plot_CR<-function(x,y,agentid,CRagent){
library(ggplot2)
agent<-CRagent[[agentid]] # To make following expression shorter
ggplot((data.frame(x=CRX,y=CRY,sr=agent$sr)))+
geom_point(aes(x,y,colour=cut(sr,c(0,-10,-20,-30,-40,-50,-60,-70,-80))))+
geom_text(aes(x,y,color=cut(sr,
2011 Jan 06
1
Find and remove elemnts of a data frame
Dear all,
I have a data frame that is created like that
data.frame(x=CRX[-1],y=CRY[-1],z=CRagent[[1]]$sr)
the output looks like
45 116 162 -30.89105988567164
46 128 79 -42.66296679571184
47 180 195 -30.45626175641315
48 114 83 -45.26843476475688
49 118 73 -46.85389245327003
How can I select only the rows that their third column is higher that -45?
This will return the following
116 162
2010 Oct 22
2
create sequence of numbers
Hello.
I want to create some sequence of numbers . So far I used sequence which does
not work always
seq(CRagent[[1]]$xy[1],CRagent[[2]]$xy[1],by=0.01)
Error in seq.default(CRagent[[1]]$xy[1], CRagent[[2]]$xy[1], by = 0.01) :
wrong sign in 'by' argument
Calls: seq -> seq.default
if the parameters are in descending form.
The ideal would be to be able to use seq like this
2010 Nov 17
1
Give me all operator
Hello is there in R any operator that give you all the data of a matrix
for example in matlab
x(2,3) returns the 2ndth row and 3rdth column
x(2,:) returns all the columns of the 2nd row.
In R now I would like to print all the
CRagent[[i]][2]
CRagent[[:]][2] doesnot work of course. Other option is to make a loop with an index i that spans from 1:last element of CRagent[[]] but this is not
2019 Nov 27
0
error in parallel:::sendMaster
Hi again,
One important correction of my first message: I misinterpreted the output. Actually in that R session 2 input files were processed one after the other in a loop. The first (with 88 parts went fine). The second (with 85 parts) produced the sendMaster errors and failed. If (in a new session via Rscript) I only process the second input file it will work. The other observations on R vs
2019 Nov 28
0
error in parallel:::sendMaster
Hi Tomas,
Thanks for your prompt reply and your offer to help. I might need to get back to this since I am not too experienced in debugging these kinds of issues. Anyway, I gave it a try and I think I have found the immediate cause:
I installed the debug symbols (r-base-core-dbg), placed https://github.com/wch/r-source/blob/tags/R-3-5-2/src/library/parallel/src/fork.c in cwd and changed the
2019 Dec 04
0
error in parallel:::sendMaster
Hi all,
With the help of Tomas, I was able to track the issue down: Prior to R v3.6.0 the parallel package passes an uninitialized variable as the file descriptor argument to the close system call.
In my particular R session this uninitialized variable (reproducibly) was holding the value 7, which corresponded to the file descriptor of the write end of the pipe the second child would use to
2019 Dec 04
0
error in parallel:::sendMaster
Hi all,
With the help of Tomas, I was able to track the issue down: Prior to R v3.6.0 the parallel package passes an uninitialized variable as the file descriptor argument to the close system call.
In my particular R session this uninitialized variable (reproducibly) was holding the value 7, which corresponded to the file descriptor of the write end of the pipe the second child would use to
2013 Nov 25
2
mcp ping return no responses
I''m trying to install mcollective on an environment for the first time and
I''m having troubles:
MC client (also the puppet master)
activemq.xml
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The
2012 Jul 10
0
reply: puppet mcollective problem
I find the cause of the problem, because the client and server time not
synchronization.
发件人: 刘亚丹 [mailto:lyflyd@gmail.com]
发送时间: 2012年7月10日 10:10
收件人: ''puppet-users@googlegroups.com''
主题: puppet mcollective problem
Hi,
I am a new puppet user . I had some trouble when I using the
mcollective.
Soft info:
Mcollective :2.0.0
2003 Jun 21
2
rsync 2.5.6 for NCR MP-RAS
Hi:
After compiling rsync2.5.6 using on SVR4 on Intel HW, Please help
# ./rsync --version
rsync: --version: unknown option
rsync error: syntax or usage error (code 1) at main.c(994)
# ./rsync --help
Segmentation Fault - core dumped
Here is log of compilation.
Script started on Sat Jun 21 05:56:15 2003
# make
cc -I. -I. -g -DHAVE_CONFIG_H -I./popt -c rsync.c -o rsync.o
NCR High
2011 May 09
3
Recursive Indexing Failed
Dear all,
I would like to ask your help concerning an error message I get.
I have the following struct
str(CRagentInTime[[1]])
List of 2
$ timelag: int 0
$ CRagent:List of 50
..$ :List of 3
.. ..$ CRmap: num [1:256, 1:256] NA NA NA NA NA NA NA NA NA NA ...
.. ..$ xy : num [1:2] 10 177
.. ..$ sr : num [1:49] -94.9 -92.8 -79.5 -97.6 -78.4 ...
and I wanted to select all the sr fields
2019 Nov 28
1
error in parallel:::sendMaster
Hi Andreas,
thank you very much, good job finding it was EBADF. Now the question is
why the pipe has been closed prematurely; it could be accidentally by R
(a race condition in the cleanup code in fork.c) or possibly by some
other code running in the same process (maybe the R program itself or
some other code it runs). Maybe we can take this off the list and come
back when we know the cause
2016 Jan 07
1
Permissions Problem on a share
try with an unc path and not a drive letter.
if you get the admin auth you loose the drive letter.
greetz,
louis
> Op 7 jan. 2016 om 20:37 heeft Mike <1100100 at gmail.com> het volgende geschreven:
>
> Version 4.1.19-SerNet-RedHat-11.el7 on CentOS 7.1503
>
> Trying to install a software app on a domain user's windows client (Win 7
> Pro).
> The user and
2019 Nov 27
2
error in parallel:::sendMaster
Hi,
I am facing a very weird problem with parallel::mclapply. I have a script which does some data wrangling on an input dataset in parallel and then writes the results to disk. I have been using this script daily for more than one year always on an EC2 instance launched from the same AMI (no updates installed after launch) and processed thousands of different input data sets successfully. I now
2016 Jan 07
2
Permissions Problem on a share
that was a stupid answer, sorry, i did read it correctly.
post your smb.conf (sanitized) so we can have a look what we are talking about.
> Op 7 jan. 2016 om 20:56 heeft L.P.H. van Belle <belle at bazuin.nl> het volgende geschreven:
>
> try with an unc path and not a drive letter.
> if you get the admin auth you loose the drive letter.
>
> greetz,
> louis
>
2019 Nov 27
2
error in parallel:::sendMaster
Hi Andreas,
the error is reported when some child process cannot send results to the
master process, which originates from an error returned by write() -
when write() returns -1 or 0. The logic around the writing has not
changed since R 3.5.2. It should not be related to the printing in the
child, only to returning the value. The problem may be originating from
the execution environment,
2016 Jan 07
0
Permissions Problem on a share
Currently away from my desk.
Will post smb.conf as soon as I get to ssh terminal.
Thanks for your help.
On Jan 7, 2016 3:05 PM, "L.P.H. van Belle" <belle at bazuin.nl> wrote:
> that was a stupid answer, sorry, i did read it correctly.
>
> post your smb.conf (sanitized) so we can have a look what we are talking
> about.
>
>
> > Op 7 jan. 2016 om 20:56 heeft
2004 Sep 15
2
smbclient's tar_re_search broken?
Hi all,
My old and stable backup script don't work anymore.
It's based on smbclient's tar command using crX parameters for creating
archive, excluding files based on basic regular expressions.
The box is running Fedora core 2, fully updated:
kernel-2.6.8-1.521
samba-common-3.0.7-2.FC2
samba-client-3.0.7-2.FC2
The error is easily reproducible:
smbclient //ntpdc/share -A credfile \
-c
2010 Oct 05
3
Make a loop more efficient
Hello everyone
I need some advice if the following might be easier implemented.
There are n matrixes
each matrix needs to calculate one value for the rest n-1 matrixes (but not for
itself). I implemented this one by
two nested loops
for (i in c(1:length(CRX))) {
for (j in c(1:length(CRX)))
if (i!=j) # where i and j are the two indexes. If i==j then is the same
matrix.