Displaying 20 results from an estimated 10000 matches similar to: "overwriting a line in existing .csv file with new data"
2007 Dec 09
1
buglet in curve?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Symptoms: curve with log x axis gets the wrong
x limits (in 2.6.1, I believe introduced in this version).
Credit goes to Mike McCoy for detecting the problem.
Demonstration:
x = 1:5
plot(x,5*exp(-x),xlim=c(0.1,1000),log="x")
xvec = 10^seq(-1,3,length=100)
lines(xvec,5*exp(-xvec))
curve(5*exp(-x),add=TRUE,col=2,lwd=3)
I believe
2007 May 12
1
Area() artefacts??
Hello, everybody
I run the following program, and depending on the size of eps I get
different results.
With eps=1e-05, the program calculates wrong values for x=65:67 and
others. The program runs fine with eps=1e-07. Why is this so?
Also, I am using area() instead of integrate() because I cannot make
integrate to work, especially with imaginary numbers. Maybe someone
can show me how to use
2012 Jun 16
0
R CMD -lgsl -lgslcblas *.c returns a fatal error: gsl/gsl_rng.h no such file or directory exists
Hello,
I tried this posted on the R devel subforum but no help so far. Maybe the
wider net will be fruitful. Probably a pretty simple issue.
The short story goes, I'm writing C source code and compiling it in as *.dll
in the windows terminal by R CMD SHLIB foo.c. It works, I'm on a 64-bit
system. I have the lastest R 2.15.0 and Rtools, and I am using the gcc 4.6.3
compiler.
However,
2011 May 02
2
easy way to do a 2-D fit to an array of data?
Hi,
I've got a matrix, Z, of values representing (as it happens) optical
power at each pixel location. Since I know in advance I've got a
single, convex peak, I would like to do a 2D parabolic fit of the form
Z = poly((x+y),2) where x and y are the x,y coordinates of each pixel
(or equivalently, the row, column numbers).
Is there an R function that lets me easily implement that?
2006 Oct 27
2
Multivariate regression
Hi,
Suppose I have a multivariate response Y (n x k) obtained at a set of
predictors X (n x p). I would like to perform a linear regression taking
into consideration the covariance structure of Y within each unit - this
would be represented by a specified matrix V (k x k), assumed to be the same
across units. How do I use "lm" to do this?
One approach that I was thinking of
2012 Jul 10
2
different mail_max_userip settings
Is it possible to have mail_max_userip set to a value for localhost
(webmail) and to another value for everything else?
Best regards
Federico Bianchi
Dipartimento di Storia delle Arti
Universita` di Pisa
via Trieste, 38 - I-56126 Pisa (Italy)
tel.(+39) 050 221 6 024; fax (+39) 050 221 6 001
e-mail: <f.bianchi at arte.unipi.it>
1999 Nov 23
0
Case changes when overwriting existing files
Hi,
I'm using precompiled (for SCO OS5) 2.0.3. When my Win95 clients save a
file to a share that already has a file of the same name samba upcases it.
To be completely accurate the files in question have numbers as thier first
8 chars then an extension of .mtr. So, 19991115.mtr on Win95, when copied,
becomes 19991115.MTR on the share if it's overwiting a file called
19991115.mtr that
2017 Nov 03
1
as.spikeTrain
Hi all,
I have recently used the as.spikeTrain function in the STAR Packages but instead of using the CAL1S data that could be found in the package, I used data from other sources.
I am able to convert the data into the required data frame but when I execute the as.spikeTrain function: datafile <- lapply(list_data,as.spikeTrain)
It will give this error:
Error in FUN(X[[i]], ...) :
The
2012 Jun 09
0
-lgsl -lgslcblas fatal error no such file or directory
Hello,
Novice programmer.
I'm writing C source code and compiling it in as *.dll in the terminal by R
CMD SHLIB foo.c. It works, I'm on a 64 bits windows system. I have the
lastest R 2.15.0 and Rtools using the gcc 4.6.3 compiler.
However, that was a hello world run, and I installed GSL for the 64 bit
system for fast MCMC. The Rcpp package was easy to use, but I opted for a C
with GSL
2009 Jul 07
3
troubles with broken clients (iPhone) - again
The PC (Outlook) is accessing the mailbox via POP3, the iPhone is using
IMAP; please consider we are talking about a user's home setup, so it's
pretty difficult to have a more detailed report on his part (Outlook
version, iPhone OS version, xDSL router type and configuration, etc.). The
mail server 'dovecot -n' output is attached.
The symptoms: when the Mail application is
2010 Sep 13
3
[PATCH 1/4] Check that we're not overwriting an existing Libvirt domain
Exit with an error if we would overwrite an existing libvirt domain.
Fixes RHBZ#617110
---
lib/Sys/VirtV2V/Connection/LibVirt.pm | 4 ++++
lib/Sys/VirtV2V/Target/LibVirt.pm | 31 ++++++++++++++++++++++++++++++-
lib/Sys/VirtV2V/Target/RHEV.pm | 11 +++++++++++
3 files changed, 45 insertions(+), 1 deletions(-)
diff --git a/lib/Sys/VirtV2V/Connection/LibVirt.pm
2009 Aug 11
1
reading heterogeneous CSV
Greetings, all.
I've got a datafile I've been working with that has an ideosyncratic,
heterogeneous format. It's grossly like:
[...]
DISKREAD,metadata about disks
MEM,metadata about memory
ZZZZ,observation-identifier,time,date
DISKREAD,observation-identifier,data about disks
MEM,observation-identifier,data about memory
[ and repeat for each observation ]
What I've done in
2012 Feb 09
2
Lattice 3d coordinate transformation
Hello List!
I asked this before (with no solution), but maybe this time... I'm
trying to project a surface to the XY under a 3d cloud using lattice.
I can project contour lines following the code for fig 13.7 in
Deepayan Sarkar's "Lattice, Multivariate Data Visualization with R",
but it fails when I try to "color them in" using panel.levelplot.
?utilities.3d says there
2009 Mar 31
2
To save Trellis Plots on A3 size paper (Portrait and Landscape)
Dear R users,
Thanks in advance.
I am Deb, Statistician at NSW Department of Commerce, Sydney.
I am using R 2.8.1 on Windows XP.
I like to save Trellis Plots on A3 size paper (Portrait and
Landscape).
Currently, I am using the following command to save a Trellis Plot in
pdf [This is an example code]:
pdf("D:/Analysis/test.pdf")
dataFile <- expand.grid(xo=
2010 Jul 31
3
a problem
dear:
when I read a Excel file(exp-11),The R project give me a error ,Just like this:
??'datafile'
> write.foreign("exp-11.xls")
???list(df = df, datafile = datafile, codefile = codefile) :
??'datafile'
> write.foreign("exp-11.xls")
???list(df = df, datafile = datafile, codefile = codefile) :
??'datafile'
>
2008 Jul 28
1
loop does not work
Hi,
I am new to R and am trying to do a loop but it seems not to run after one
turn.
What I want to do is subset my dataframe (extract one station and one day)
to calculate and store the maxima that can then be plotted.
I have an error message at the end of each loop:
Error: unexpected '}' in "}"
Here is my code:
*********************************************
datafile <-
2013 Feb 15
1
Why no line? (ex. from Andy Filed book)
The following script is written by the author of a book on R--Andy Field:
You can also download the small datafile, hiccups.dat, from this address:
http://www.sagepub.com/dsur/study/articles.htm
The script:
hiccupsData <- read.delim("Hiccups.dat", header = TRUE)
hiccups<-stack(hiccupsData)
names(hiccups)<-c("Hiccups","Intervention")
2003 Aug 16
1
equivalent of Splus command axis(..., srt=45, adj=1) in R
Dear R-users
moving from Splus to R (under Windows), I notice that command "srt" within a
plot in the original Splus code is ignored by R.
For example, if a plot something and then include the line of code
axis(1, at=Time, labels=Text, srt=45, adj=1)
the srt=45 command within the axis() command fails to draw Text at 45
degrees on the x-axis in R but it works properly in Splus.
I will
2006 Apr 26
1
domU migration problem
Hi all,
I''m a total xen-newbie ...
I''ve installed xen-3.0-testing from source.
(http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-3.0-testing-src.tgz).
I''ve followed the intruction for the installation,
dom0 work fine and domU start up without problem !!!
Now, I''ve tryed to migrate the domU to another dom0 machine but I
receive this error on the
2018 Jan 19
1
Internal DNS logging
Rowland,
yoy are right, It's the first thing I did but I don't know why I have no
man for smb.conf
[root at dc2 ~]# man smb.conf
No manual entry for smb.conf
Perhaps is because I built samba from source and I omitted some option
in configure...
Thanks
Giuseppe
On 1/19/2018 10:01 AM, Rowland Penny via samba wrote:
> On Fri, 19 Jan 2018 09:46:53 +0100
> Giuseppe Cesa