Displaying 20 results from an estimated 900 matches similar to: "Help with iteration using while loop"
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 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
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 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 Jun 14
1
avoid row/column indexing in capture.output
Hi everyone,
This might be a very petty thing but Its not working for me.
I want to export an output to a txt file but without indexing.
Here is what I have tried to do
outfile<- function(Time, var.names, output) {
var.names = c(names(para))
for(i in 1: ncol(output)){
cat(length(var.names), '\n')
cat("A", "S", "C", "I", '\n')
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
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
2015 Jul 27
2
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
Hi,
I created a R library that uses a Fortran module. Everything works like a
charm on linux.
Now I'm trying to make it work on Windows. I cloned my git repository
<https://github.com/ignacio82/MyPi> on a windows computer, and when I press
the build and reload button on Rstudio I get these errors:
==> Rcmd.exe INSTALL --no-multiarch --with-keep.source MyPi
* installing to library
2008 Apr 06
1
lme cant get parameter estimated correctly
I am caught in a mental trap. Why isn't the between groups variance estimated
(0.0038) to be around the value with which I generated the data (0.0002)?
Thanks Toby
set.seed(76589437887)
fph = 0.4
Sigh = sqrt(0.0002)
Sigi = sqrt(0.04)
ci = 1
fpi = matrix(,7200,3)
for (i in 1:90) {
fph = rnorm(1, fph, Sigh)
for (k in 1:80) {
fpi[ci,1:3] = matrix(c(i, k, rnorm(1, fph, Sigi)),1)
ci
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
2017 Jun 14
4
SMB_ACL_GROUP SMB_ACL_USER
Hello,
Yes I wrote a mistike its not v4.6.6 but 4.6.5.
For "unix password sync = yes" it is an old parameters, it was ten years ago an sftp server was installed with samba server.
Currently there is no ftp server.
Here is the AD object with RID 7022
objectClass: top
objectClass: group
cn: FREDGROUP
member: CN=fpt,CN=Users,DC=cogesys,DC=com
distinguishedName:
2017 Jun 13
1
SMB_ACL_GROUP SMB_ACL_USER
Hello,
I installed a samba server v 4.6.6,
I use samba in classic mode (in /etc/default/sernet-samba).
Samba is a member of a Windows server 2003 R2 domain.
Here is my smb.conf :
[global]
use sendfile = no
gpfs:getrealfilename = no
smb ports = 445 139
dos charset = 850
unix charset = UTF-8
interfaces = eth0
bind interfaces only = true
workgroup = MYREALM
passdb backend =
2012 Jan 27
1
need help to build livecd and create success iso file but it hang
Hi all
my environment:
1/ windows 7 OS system
2/ use virtual box install the host centos system
i try to make a centos livecd and i follow the step
1/ create file: vi /etc/yum.repos.d/centos-livecd.repo and the content of file:
# Name: CentOS LiveCD repository
[livecd]
name = CentOS $releasever - LiveCD
baseurl =
2012 Oct 28
1
Trouble with first passage time analysis using adehabitatLT
Hey all,
I've run into a few problems running first passage time analysis. I'm hoping
someone might be able to help me sort this out. I'm fine up to the point of
creating the ltraj object from a dataset.
/test<-read.table("~/Desktop/R_Directory/test.txt",header=TRUE)
attach(test)
library(adehabitatLT)
xy<-test[,c("x","y")]
2006 Dec 21
2
Locking problem
Hi all!
I am using Debian Sarge with Samba version 3.0.14a-Debian and experience a
locking problem:
the program is a linux port of a Clipper program compiled with xHarbour
(www.xharbour.org). It uses byte-range-locking to lock a record of a dbf
database. If I mount the server directory over an smbmount and start 2
clients on the server accessing the server directory over the smbmount, the
2014 Jun 24
2
[LLVMdev] Issues with clang-llvm debug info validity
On Tue, Jun 24, 2014 at 2:38 PM, Adrian Prantl <aprantl at apple.com> wrote:
> I will take this.
>
> !5 = metadata !{metadata !"./test.h", metadata !"/Volumes/Data/radar/17052973"}
> !6 = metadata !{i32 786489, metadata !5, null, metadata !"test", i32 1} ; [ DW_TAG_namespace ] [test] [line 1]
> !4 = metadata !{i32 786434, metadata !5, metadata !6,
2004 Sep 17
5
msaccess db corruption
Ok, I've tried all the "common" fixes, such as turning oplocks off on
the share. Twice a day the database has to be repaired.
running samba-3.0.7-2.FC2
Here's the pertinent section:
comment = Aeries
path = /home/aeries
valid users = @aeries
read only = No
create mask = 0770
directory mask = 0770
inherit permissions = Yes
2011 Mar 14
3
FTP accounts
Hello,
I have setup a centos server running 5.5 and I have a problem with the FTP
settings.
Currently I have two FTP accounts based on that server, they lead to:
/home/bella
/home/carmen
Currently the FPT accounts starts in the home directory when they are logged
in. But they are able to see all directories on the server. What can I do to
make sure they cant come out of there home directory?
2015 Jul 27
0
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
You should be able to set PKG_FCFLAGS="-fno-stack-protector" when
compiling to ensure that the stack protector is not used.
(Trying that out on a Windows VM, with a simple `R CMD build` + `R CMD
INSTALL`, compilation of your package succeeded but linking failed
saying the DLL 'Fpi' was not found; I imagine that's a separate
issue.)
As an aside, be sure to check out what
2011 Aug 23
1
Re: Files dbf and cdx - net linux
Hi,
I have these BMIMS .dbf/.cdx/.fpt files. I have no longer BMIMS. I would like to transfers theses files to another visible format. I tried opening them with Monarch 4.0, but it does not give me a proper format. what do i do?
thankx