Displaying 20 results from an estimated 23 matches for "joda2457".
2011 May 05
3
Alter a line in a file.
Hi all R users
Ive got a file that contains diffrent settings in the manor of:
setting1="value1"
setting2="value2"
setting3="value3"
setting4="value4"
.
.
.
What I want to do is open the file and change the value of a specific
setting
like wanna change setting4="value4" -> setting4="value5" and then save the
file again.
2010 Oct 29
3
check RAM usage
Hi
Is there any way to check an certain command or procedure's RAM usage?
Im after something similar to system.time(bla) that gives me the time the
command took to preform but for RAM usage.
Hope you understand what i mean.
Best regards
Joel
--
View this message in context: http://r.789695.n4.nabble.com/check-RAM-usage-tp3018753p3018753.html
Sent from the R help mailing list archive at
2010 Sep 08
2
Passing aruments with source
Hi.
Im writing a small test program just to see how passing arguments work with
R.
>From the command line everything works as expected but from inside R using
source("test.R") i dont know where and how to send in the arguments did try
source("test.R --test") but it just says that it cant find or open the file.
(without the argument part it can).
Anyone know how to make it
2010 Nov 11
2
Number above the bar?
Hi
I got an barplot, and I would like to have the exact number of the bars just
above the bars anyone know how to do this?
Sorry for bad English, and I do hope that you understand what im after.
//Joel
--
View this message in context: http://r.789695.n4.nabble.com/Number-above-the-bar-tp3037438p3037438.html
Sent from the R help mailing list archive at Nabble.com.
2010 Dec 01
3
Save R2HTML as an object instead of file
Hi
Is it possible to instead of getting the HTML code written to a file, get it
saved as a string in an object instead?
Or is there any kind of package that can do this?
//Joel
--
View this message in context: http://r.789695.n4.nabble.com/Save-R2HTML-as-an-object-instead-of-file-tp3066776p3066776.html
Sent from the R help mailing list archive at Nabble.com.
2010 Dec 08
3
Dont print plot on screen
Hi is there any command or setting that allows you to do the plot command but
it dose not print the plot on screen?
So when you are saveing an plot in a function you dont want it to display
the plot just save it.
--
View this message in context: http://r.789695.n4.nabble.com/Dont-print-plot-on-screen-tp3078167p3078167.html
Sent from the R help mailing list archive at Nabble.com.
2010 Oct 15
4
Set value if else...
Hi
I want to set a variable to either 1 or 0 depending on an value of a
dataframe and then add this as a colum to the dataframe.
This could be done with a loop but as we are able to do questions on a
complete row or colum without a loop it would be sweet if it could be done.
for example:
table:
Name Age
Joel 24
agust 17
maja 40
and so on...
And what I want to do is a command that
2010 Nov 23
6
the first. from SAS in R
Is there any similar function in R to the first. in SAS?
What it dose is:
Lets say we have this table:
a b c
1 1 5
1 0 2
2 0 2
2 0 NA
2 9 2
3 1 3
and then I want do to do one thing the first time the number 1 appers in a
and something else the secund time 1 appers in a and so on.
so
something similar to:
if first.a {
a$d<-1
}else{
a$d<-0
}
This would give me
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...LinkedIn users. See
who's been viewing your profile:
http://www.linkedin.com/e/j2w180-ggtf3iot-z/wvp/inv18_wvmp/
--
(c) 2010, LinkedIn Corporation
[[alternative HTML version deleted]]
------------------------------
Message: 18
Date: Mon, 22 Nov 2010 06:06:30 -0800 (PST)
From: Joel <joda2457 at student.uu.se>
To: r-help at r-project.org
Subject: [R] Prob with merge
Message-ID: <1290434790326-3053652.post at n4.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hi
Im trying to merge 2 data frames using merge but I dont get the result i
want
Lets make this a small test a...
2010 Oct 31
1
R-help Digest, Vol 92, Issue 31
...uot;b", "c")
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
------------------------------
Message: 13
Date: Fri, 29 Oct 2010 08:32:31 -0400
From: jim holtman <jholtman@gmail.com>
To: Joel <joda2457@student.uu.se>
Cc: r-help@r-project.org
Subject: Re: [R] check RAM usage
Message-ID:
<AANLkTim90L+FwX22GMf6q2J8jHrb6UA6RTtzgd+tR3a8@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
?memory.size
use before/after a sequence of commands to get an idea of the memory usage.
O...
2010 Oct 15
0
nomianl response model
...ext:
http://r.789695.n4.nabble.com/Pasting-function-arguments-and-strings-tp29939
05p2993905.html
Sent from the R help mailing list archive at Nabble.com.
------------------------------
Message: 49
Date: Wed, 13 Oct 2010 10:01:19 -0600
From: Greg Snow <Greg.Snow at imail.org>
To: Joel <joda2457 at student.uu.se>, "r-help at r-project.org"
<r-help at r-project.org>
Subject: Re: [R] Plot table as table
Message-ID:
<B37C0A15B8FB3C468B5BC7EBC7DA14CC633E815148 at LP-EXMBVS10.CO.IHC.COM>
Content-Type: text/plain; charset="us-ascii"
Also look at textplot in...
2010 Dec 06
0
Error with Rserv
Hi
I get this error with Rserve:
eval failedeval failed, request status: R parser: syntax erroreval failed,
request status: R parser: input
incompleteorg.rosuda.REngine.Rserve.RserveException: eval failed
at org.rosuda.REngine.Rserve.RConnection.eval(RConnection.java:233)
at se.ucr.qrep.RGenerator.generateReport(RGenerator.java:45)
Anyone know what it could mean?
--
View this message in
2011 Feb 02
1
Hidden environment
Hi
I wondering if its possible to make a hidden environment for a package, so
the user cant see whats in it but the diffrent functions inside the package
can use the variables in the environment.
Hope you can understand what Im after.
Joel
--
View this message in context: http://r.789695.n4.nabble.com/Hidden-environment-tp3253502p3253502.html
Sent from the R help mailing list archive at
2010 Sep 29
2
Adding two data.frames.
Hi
I have two data frames that contains the same sort of data and I want do add
them together to get one big data frame, anyone know how to do that?
ex:
data.frame1
A B C
1 2 3
4 5 6
7 8 9
and
data.frame2
A B C
9 8 7
6 5 4
3 2 1
Would then become one big set:
data.frame3
A B C
1 2 3
4 5 6
7 8 9
9 8 7
6 5 4
3 2 1
Thx for your help
//Joel
--
View this message in context:
2010 Nov 17
2
Extract elements that starts with...
Hi
I got an table that contains this colum and i wonder if there is any nice
way to extract all rows that contains all dose that start with A02, so all
the rows that have A020 and A021 etc etc...
| A010 |
| A010 |
| A010 |
| A020 |
| A020 |
| A020 |
| A020 |
| A020 |
| A021 |
| A021 |
Thx for your help
//Joel
--
View this message in context:
2010 Nov 23
1
Slow update(insert) on Data.frame
Hi
When I try to update an number in a large data.frame by its pos It's really
slow it take almost a sec to do this and I wonder why and if where is any
faster way to update a number in a data.frame
ive tried
DF$col[POS]<-number
DF[xPOS,yPOS]<-number
Thx
//Joel
--
View this message in context: http://r.789695.n4.nabble.com/Slow-update-insert-on-Data-frame-tp3055707p3055707.html
2011 May 05
3
Remove all whitespaces
Hi
I got a string that looks something like this
1 2 3 4 5 6 7 8 9 ...
and I want it to be
123456789...
So I want to remove all spaces (or whitespaces) from my string.
Anyone know a good way of doing this?
//Joel
--
View this message in context: http://r.789695.n4.nabble.com/Remove-all-whitespaces-tp3497867p3497867.html
Sent from the R help mailing list archive at Nabble.com.
2011 Jun 16
1
Read file line by line
Hi
I got a file that looks like this: (i have shorten it alot the real file is
over 200k rows long)
chr10 rs7909677 101955 A G 0 1 0 1 0 0...
chr10 rs2436025 238506 C G 1 0 0 1 0 0...
chr10 rs11253562 148946 C T 0 1 0 0 1 ...
chr10 rs1105116 230788 G T 0 0 1 0 0 1...
chr10 rs4881551 149076 A G 0 1 0 0 1 0 0 1...
What I want it to go trough the file and get the highest value in the third
column
2011 Sep 27
0
Auto size of plots.
Hi
I'm wondering if there is anyway to auto set the margin of a plot. Right now
I'm setting it with par(mar=...) so that all the text for a bar shows up
inside the plot. But I don't want to change par(mar=) for every new plot I
make.
So is there any way to tell R to increase the margin automatic as long as
something is outside its borders?
//Joel
--
View this message in context:
2010 Sep 21
3
change y axis "distance"
Hi
I got a barplot that has values between 0-150 and the y-axis shows the steps
0 50 100 and 150 but I would like to change it to 0 10 20 30... ...130 140
150
Dont really know the word in english so sry about it beeing abit confusing
:)
Thx for your help
Joel
--
View this message in context: http://r.789695.n4.nabble.com/change-y-axis-distance-tp2548363p2548363.html
Sent from the R help