similar to: avoid row/column indexing in capture.output

Displaying 20 results from an estimated 100 matches similar to: "avoid row/column indexing in capture.output"

2009 Sep 17
3
Help with date specification
Hi everyone,I have a data daily data (x) for 10 years starting from 04-01-1995 to 03-31-2005. I was able to get the yearly sum for the ten years using aggregate(x, years, sum). But this gave me the yearly sum for 1995 (Apr- Dec); 1996 (Jan-Dec) ---------2005 (Jan-Mar). But I want to get the aggregates for Apr-1995 to Mar 1996, Apr 1996- mar 1997 and so on. your help will be higly appreciated.
2009 Dec 07
2
Filtering a zoo object based on index of another object
Hello everybody, I have two datasets, observed and predicted. Since my observed dataset is not in regular intervals, I need to filter my predicted dataset based on the measurement date of my observed data. Here, is an example similar to what I have library(chron);library(zoo) DATE<- seq(as.Date("2009-01-01"), as.Date("2009-05-01"), by = 1) mydat<- rnorm(length(DATE),
2009 Sep 09
2
Help with data containing date
Hello Everyone,I think this is a very simple problem, I have been struggling with it for a few days now. I have a 10-year daily data in the following format. Date A B C D E 1978-10-22 18 20.64 0.0 0.176 -1.76 1978-10-23 15 17.06 0.4 0.147 2.52 1978-10-24 3 7.588 0.0 0.068 -6.86 1978-10-25 9 11.491 0.0 0.102
2010 Jun 04
2
Help with iteration using while loop
Hello everyone, I am trying to use while loop to iterate a function until convergence. But I am having problem when I try to use a fixed number of iterations. Say I want to use maximum iteration of 150. If the value don't converge within maximum iteration, show warning of no convergence. Currently I don't have non- convergence problem so I think my code works fine. But in future I may
2009 Oct 27
1
option to control the spac between columns in data frame
Hello, I have a question regarding a way to control the appreance of output exported by R when I use capture.output( x, file = "Directory/file.txt") , I get a text file which when I paste to a word file looks like the first table below. The following table has its clumns spaced closely so when I paste it to a word file it looks continuous. Is there any option in R to make the outputs
2009 Oct 07
1
Formatting outputs:(chronological object)
Hello everyone, I have a data generated in a way similar to the following library(chron);library(zoo) date<- seq(as.Date("1990-01-01"),, as.Date("2000-12-31"), by = 1) obs<- zoo(rnorm(length(date), mean = 10, sd = 2.5), order.by = date) monthly<- function(date) as.Date(as.yearmon(Date)) result<- data.frame ( Date = obs = aggregate(obs, monthly, sum)) Now, I want
2010 Apr 26
1
finite difference scheme for 2D differential equations
Hello everyone, I am trying to solve 2D differential equations using finite difference scheme in R. I have been able to work with the equations with only one spatial dimensions but I want to extend it to the two dimensional problem. For example i can simulate one dimensional diffusion using a code like the following. But I want to write a similar code for,say, a two dimensional diffusion
2009 Sep 08
1
Help with use of rep function in R
Dear List,I am trying to use rep function in the following conditions A = c( 5, 6, 7, 11, 9, 12, 10, 15) B = c(12,15, 21, 31, 25, 27,32, *34*,13,12, 34, 33, 24, 29, 26, *28*,22,14,27,22,21,12,32, 16) I need to repeat each element of A, as many times as each element of B, for the entire length of B. for example, repeat 5, for 12 times, 6 for 15 times,........, 15 for 34 times, and then, again, 5
2023 Jul 21
1
Adding SRV records to zone
Hi Sagar, Are you getting a particular error? Because the same method should work just fine in NSD. Simply open the corresponding zone file (as configured in nsd.conf) and put that line in there. Best regards, Jeroen Koekkoek On Fri, 2023-07-21 at 09:14 +0200, Sagar Acharya via nsd-users wrote: > How do I add SRV record to my zone file? > > Eg. In pdns I have > >
2017 Sep 20
0
how many hosts could be down in a 12x(4+2) distributed dispersed volume?
Hi Mauro Tridici, >From the information provided it appears like you have placed 2 bricks of a subvolume on one host. Please confirm. The number of hosts that could go down without losing access to data can be derived based on the brick configuration/distribution. Please let us know the brick distribution plan. Regards, Sunil kumar Acharya Senior Software Engineer Red Hat
2023 Jul 21
1
Adding SRV records to zone
How do I add SRV record to my zone file? Eg. In pdns I have _xmpp-client._tcp.example.com.? ?3600? ? ?IN? ? ?SRV? ? ? 0 5 5222 example.com Thanking you Sagar Acharya https://humaaraartha.in P.S. Please cc me, I'm not subscribed to this list.?
2011 Jul 14
1
Error: "non-numeric argument to binary operator"
Hi I am posting in the topic related to the "non-numeric argument to binary operator" as I got similar problem while running the netcdf code. I have attached the file with this post. It is a climate data from NOAA site. The code follows as: library(survival) library(RNetCDF) library(ncdf) setwd("c:/projects/netcdfcsfiles") Conn42 =
2023 Jul 21
1
Adding SRV records to zone
I'm asking that what is the proper method to add SRV records. I read the documentation but I couldn't find anything around it. If you can perhaps add something which specifies how each and every type of record is to be written on documentation, that would be very useful. Thanking you Sagar Acharya https://humaaraartha.in 21 Jul 2023, 18:46 by jeroen at nlnetlabs.nl: > Hi Sagar,
2009 Sep 11
2
rsync deleted all my important docs...
How is rsync supposed to behave when I give the --delete-excluded? Recently I lost several of my important documents because of a corrupted file system on the source. Here are some logs, * Rsync gets an IO error on one of the folders, -- rsync: readlink_stat("/mnt/raid-backup/Documents/Finance") failed: Input/output error (5) -- * It starts deleting all my financial documents, --
2017 Sep 18
6
how many hosts could be down in a 12x(4+2) distributed dispersed volume?
Dear All, I just implemented a (6x(4+2)) DISTRIBUTED DISPERSED gluster (v.3.10) volume based on the following hardware: - 3 gluster servers (each server with 2 CPU 10 cores, 64GB RAM, 12 hard disk SAS 12Gb/s, 10GbE storage network) Now, we need to add 3 new servers with the same hardware configuration respecting the current volume topology. If I'm right, we will obtain a DITRIBUTED
2007 Mar 09
1
lpSolve space problem in R 2.4.1 on Windows XP
Hi. I am trying to use the linear optimizer from package lpSolve in R 2.4.1 on Windows XP (Version 5.1). The problem I am trying to solve has 2843 variables (2841 integer, 2 continuous) and 8524 constraints, and I have 2 Gb of memory. After I load the input data into R, I have at most 1.5 Gb of memory available. If I start the lp with significantly less memory available (say 1 Gb), I get
2023 Nov 25
1
Announcing Gluster release 11.1
Great news! Best Regards,Strahil Nikolov? On Fri, Nov 24, 2023 at 3:32, Shwetha Acharya<sacharya at redhat.com> wrote: The Gluster community is pleased to?announce?the release of Gluster11.1? Packages available at [1]. Release notes for the release can be found at [2]. Highlights of Release:? -??Fix upgrade issue by reverting posix change related to storage.reserve value -??Fix
2004 Apr 19
1
"ext3-fs warning : ext3_block_to_path block <0 "
Problem Definition: I have the following server system Configuration. Red Hat Linux release 7.3 (Valhalla) Kernel 2.4.18-27.7.xsmp on an i686 There are two local disc drives on the system configured as RAID 0 using the onboard Hardware RAID Controller. All the basic linux volumes(partitions) i.e /, / root, /boot, /home, /usr, /var, /tmp, /dev/shm are mounted of the above local hard drive RAID
2017 Jun 20
1
glusterfs build question
Hi Sir/Madam, I have a question about glusterfs build. In our environment, we need to build the glusterfs on one server and run it on another one. These two directories are different and the built image includes lots of symbol about the build server, as a result, I cannot run it in the production environment, any your comments will be highly appreciated! Best Regards, Sen --------------
2023 Nov 21
1
Announcing Gluster release 11.1
The Gluster community is pleased to announce the release of Gluster11.1 Packages available at [1]. Release notes for the release can be found at [2]. *Highlights of Release: * - Fix upgrade issue by reverting posix change related to storage.reserve value - Fix possible data loss during rebalance if there is any link file on the system - Fix maximum op-version for release 11 Thanks, Shwetha