Displaying 20 results from an estimated 1000 matches similar to: "problem in appending data into*.csv file"
2010 Mar 09
2
Problem with mean
Hi all,
I got one intresting problem with caliculating mean that is
while i am taking mean of values
*0.6, -0.8, 4, -3.8*
using
*val<-c(0.6, -0.8, 4, -3.8)*
*mean(val)*
it given result as
*2.775558e-17*
but the actual result is *"0"*
can any one suggest how can I get correct mean result in this case
can any one suggest how I can farward
thanks in regards
kiran
[[alternative
2009 Jun 08
2
problem with bulk insert into a *.csv file
Hi all,
I am trying to create a "index.csv" with caliculating different
types of caliculations .
In that i have to caliculate on 10,000 studies and have to insert many no of
rows more than 500,000
for that right now I am inserting every row after caliculating and doing
data.frame
but its taking much time to create that index.csv
is there any thing like bulk insert in to file
2009 Jan 20
2
problem with writing data to *.xls file
Hi all,
I read data from *.xls file and i did some caliculations on that data and
now i have to create a column in the same .xls file
and i have to insert the data in to the consicutive rows related to the
previous data
i tried it with *write.xls() *but the thing is it deleted all the columns
previously presented in that file and it created a column and inserted data
can any one suggest what to do
2009 Jun 22
2
problem with checking wether file is present or not
Hi all,
I have a problem with checking File is present in the directory or not
like
I have a sequence of files in one folder I have to take each file in order
and have to caliculate on those files data but in order some files are
missing for that I have to check and load those files for that I am using
condition like
if(file.exists(findings)==TRUE){}
its giving results for files which are
2009 Feb 02
2
parsing problem
Hi all,
I am trying to parse a vector for caliculating minimum in that vector the
vector having values like
1 Kontrolle
2 Placebo
3 125mg/kg
4 250mg/kg
5 500mg/kg
6 1000mg/kg
hear i tries for comverting it into numeric with using "as.numaric()"
function
but i got values like
5
6
2
3
4
1
it gives 1000mg/kg is the least one
but i have
2007 Oct 25
2
Find duplicates and save their max value
Hi,
maybe someone can help me with this:
I have a matrix of genes and values:
GeneName Value
Abc1 10
Abc2 11
Bbc1 -5
Bbc31 2
Ccd 5
Ccd -2
Ccd 7
Dda 5
Dda 10
..... .....
Zzz3 -1
I would like to
2009 Mar 19
1
problem with Dates
Hi all,
I am strugling with date formates and caliculating diferent operations like
different between 2 dates and
getting minimum in vector of dates
that is i m working with dates in formate "6/22/1992 12:00:00 AM"
and the vector is
[1] 6/4/1992 12:00:00 AM 2/13/1992 12:00:00 AM 6/19/1992 12:00:00 AM
[4] 2/11/1992 12:00:00 AM 6/22/1992 12:00:00 AM 10/3/1991
2008 Dec 16
1
renaming factor-labels / add factors etc.
Hi,
how can I change a defined factor-variable?
Like adding levels, renaming existing levels or merge several levels
of a factor to one level?
For example; following factor-variable is given:
x <- factor(c("xyz1", "abc1", "xyz2", "abc2"))
How can I add the level fgh?
And how can I merge "xyz1" and "xyz2" to one level?
And
2010 Aug 20
2
segfault in embedded r after call to repldlldo1
Dear R developers,
i've got a question concerning an embedded R instance. I called the
initialization routines as seen in the "writing extensions" guide
(Rf_initialize, setup_Rmainloop and R_ReplDLLinit). I also changed the
function callback pointer of readconsole and writeconsoleex to my local
functions.
when i call mainloop there is no problem and the commands are evaluated
2009 Feb 09
2
Problem in appending a row to *.csv file
Hi all,
I am new to R-project
I have a problem when when ever I am going to append a row in a *.csv file
that is
in R-project I created one dataframe and I saved it in "res.csv" and again
I got some results in dataframe with same column names and i tried to append
in a new row of same "res.csv" file but its appending again with
columnnaes like
first time when i created
2003 Dec 02
2
forwarding in tcng
Hi!
I am learning tcng without having experiance of tc and I am trying to
build something that shall schedule traffic dependent on the value in the
IPv4 packets ip_ttl field.
I have read the tcng reference manual and cannot find information about
forwarding. Is it possible to farward packets from ingress to egress
without sending them upwards in layers?
2009 Jan 16
6
reading data from Excel Spread sheet
Hi all,
I tried to read data from Excel spread sheet with using
read.csv(file.choose())
and
read.delim(file.choose())
but its showing " *ÐÏ.à.*."
and also i tried with
read.table(file.choose())
then its showing " * V1
1 ÐÏ\021ࡱ* "
can any one suggest how to read data from Excel Spread sheet
2014 Jun 16
2
Print files which would be transfered by rsync (when syncing two directories)
Hi together,
after I read "very often" without even a tiny bit of a contradiction, I
start to have the feeling I have a basic misunderstanding of rsync.
Assume one want to get a list of files which would have been transfered
by rsync if rsync was requested to sync directories X and Y and one does
<code>
X=`mktemp`
echo "abc" > $X/1
echo "abc1" > $X/2
2015 Dec 10
2
Bug: windows server 2012R2 fails to start after virt-resize
Hello everyone!
After I ran virt-resize (v1.31.28) on my disk with win2012R2
(partition table [GPT]: VFAT (100M), unknown (128M), NTFS (64G))
My VM fails to boot: black screen informing that
Windows failed to start...
Status: 0xc000000e
Info: an unexpected error has occured.
After some investigations, I realized that Windows remembers the GUID of
disk it is installed to.
If I execute
2010 Jun 22
3
Problem with writing a CSV file in UTF-8 formate
Hi all,
I have a problem with writing a *.CSV file in UTF-8 formate
I tried to write a dataframe named "dfPREINDX" to the new file named
"preindx.csv" in below formate
write.table(dfPREINDX,PreIndex,fileEncoding="UTF-8",sep="|",row.names=FALSE)
but its throed an error like
Error in write.table(dfPREINDX, "preindx.csv", fileEncoding =
2005 Nov 11
0
Fwd: Re: conditional coloring of image labels
---------- Forwarded Message ----------
Subject: Re: [R] conditional coloring of image labels
Date: Friday 11 November 2005 1:04 pm
From: jim holtman <jholtman at gmail.com>
To: Jake Michaelson <jjmichael at cc.usu.edu>
Use 'mtext':
genes=cbind(ABC1=c(3,4,4,5,6,3), ABC2=c(4,3,4,7,7,8), ABC3=c(8,7,8,6,3,2))
###plot the image
image(1:nrow(genes), 1:ncol(genes), genes, axes =
2015 Dec 10
3
Re: Bug: windows server 2012R2 fails to start after virt-resize
On 12/10/2015 02:55 PM, Pino Toscano wrote:
> On Thursday 10 December 2015 13:55:26 Maxim Perevedentsev wrote:
>> Hello everyone!
>>
>> After I ran virt-resize (v1.31.28) on my disk with win2012R2
>> (partition table [GPT]: VFAT (100M), unknown (128M), NTFS (64G))
>> My VM fails to boot: black screen informing that
>>
>> Windows failed to start...
2005 Nov 11
1
conditional coloring of image labels
Hi all,
I am interested in plotting a heatmap of a set of genes. I would like the
text labels of these genes to be colored red rather than black if they meet
certain statistical criteria (using an if statement). I'm not sure how to
change individual color labels without changing them all. Can anyone provide
some insight on how to do this?
Thanks in advance,
Jake
2002 Oct 18
4
code to turn T into TRUE
Does anyone have code that will methodically process R sourcecode, turning
T's into TRUE and F's into FALSE? I got bored doing this by hand, after the
first 30-odd functions-- there are hundreds left to do. I don't want to
simply deparse everything, because that would destroy my beautiful
formatting.
The reason it's not trivial, is that comment lines, quotes, and split lines
need
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
Hello all,
I am trying to implement a feature in my app where a user posts a
message along with an image.
This is something similar to what is there in `www.diasp.org` .
I dealing with a pretty much outdated configuration of Rails 2.0.2 and
Ruby 1.8.7 , both running on Ubuntu 10.04 OS for project specific
purposes.
Initially, I found a problem in finding an appropriate plugin for
paperclip