Displaying 20 results from an estimated 600 matches similar to: "re ad and check table"
2008 Mar 03
3
Plot using colors
Dear R users,
I have a problem since I try to plot my datas with different colors.
plot(tvar, var, xlab="zeit [s]",ylab="Variation [%]", col = ifelse(var <=
varstability, 'green','red'))
this works well!
But since I add a type="l" to my plot, it will color all the plot with
green!!!
Is there any solution? I avoid to use teachingDemos.
Thanks.
--
2008 Jun 30
4
Add comments on plot window
Dear R users,
Is it possible to add comments in a plot window?
I have 3 plots -> this plots have to be commented on same window
Is possible to do the following :
http://www.nabble.com/file/p18193822/plot%2526comments.JPG
plot%26comments.JPG
I don't know how to do it. Maybe plot.window or something like that.
Any suggestions??
Thanks in advance,
Adel.
--
View this message in context:
2007 Nov 13
2
Plot segments with different colors
Hello Everybody,
I'm trying to plot(x,y) using different colors.
I have to cut (x,y) into sub intervals.
And I want to plot this sub intervals using colors. But infortunally I don't
know how to do this with R.
Can any body help me please?
My code is looking like :
x<-c(tvar[1:t0],tvar[t0:(ts)],tvar[ts:n])
F<-c(var[1:t0],var[t0:(ts)],var[ts:n])
plot(x,F,xlab="Zeit
2008 Jul 04
2
create a zero matrix & fill
Dear R user,
I have written a function which returns max,min and variation of a power
(see below)
Power is a given matrix(1,n)
I call the function
>Variation<-VAR(p,(n-deltat))
Now the problem is when I want plot(Results[1],Results[2]). Not possible!
I become the following error (in english it means: Error in
as.double.default(x) :Object cannot be transformed in double)
>
2008 Jul 01
2
if one of 4 conditions is not satisfied
I'm trying to do realize the following:
I have 4 condtions.
If all conditions are satisfied I will paste("PASS")
If any of these is not satisfied I will paste("FAIL"). But I have to paste
the corresponding failure.
ifelse is a good solution but for a 2 conditions. Maybe switch or something
like this.
Does anyone have an idea how to do?
Thanks in advance.
Adel
--
View
2008 Jul 14
1
eval.wih.vis
Hello,
I have an error since I run my R code. This error is :
Fehler in eval.with.vis(expr, envir, enclos) :
>
My code is:
#CONDITION1 : check if the right logfile is chosen
c1=log(z[,3],n)
if (c1==FALSE) {
plot(0:1,0:1,type = "n", axes=FALSE,xlab="",ylab="")
text(0.4,0.8,adj=0,paste("FEHLER"),col="red")
2010 Apr 27
0
[LLVMdev] "clang -v" shows a GCC call
On 04/27/2010 06:54 PM, Swiss Guy wrote:
>
> Thanks for your really fast answer.
>
> I understood that, but this means that the llvm+Clang suite is not able to
> create a machine binary file without any intervention of GCC ?
>
> I thought it could.
>
> This means too that I must port GCC+Binutils in order to have a LLVM port
> for my architecture ?
>
> That
2008 Nov 13
3
Problem in iPhone streaming
Hi,
i'm developing an internet radio client for iPhone and as server is
used Icecast2. My problem is that every time when client connects to
some source(mount) Icecast2 sends correct HTTP 1.0 header and after
header delimiter(two empty lines(\r\n\r\n)) should be data ( mp3
samples). But every time in the first packet in the beginnig of data
section there are some bytes to which
2003 Apr 23
3
PBX Console
Hi,
I've been looking into the one bad thing about * which is there's no
practical solution to running a console. You know the kind where
you have rows of buttons each representing an extension. You press
the button of the extension you want to transfer the call to, and
it's done.
There's the beginnig of GUI version but it's going to eat resources
for running X which
2007 Aug 22
1
Time conversion problems
Hi there
I have precipitation data from 2004 to 2006 in varying resolutions (10 to 20min intervals) with time in seconds from beginnig of the year (summation) and a second variable as year.
I applied follwing code to convert the time into a date:
times<-strptime("2004-01-01", "%Y-%m-%d", tz="GMT") + precipitation$time1
everytihng went well, except that every
2010 Apr 27
6
[LLVMdev] "clang -v" shows a GCC call
Thanks for your really fast answer.
I understood that, but this means that the llvm+Clang suite is not able to
create a machine binary file without any intervention of GCC ?
I thought it could.
This means too that I must port GCC+Binutils in order to have a LLVM port
for my architecture ?
That sound like a huge work, I've chosen LLVM at the beginnig because I
thought it could avoid me
2004 Mar 08
1
Gethostbyaddr failed
Bonjour,
Mon serveur Samba 2.2.1a (sur Suse 7.3 PPC) a quelques soucis depuis 2/3
jours. Le dernier en date : les utilisateurs sont authentifi?s mais le
lecteur ne se connecte pas correctement dans le script (si on ouvre le
lecteur concern? il est vide).
L'architecture :
2 serveur Samba (fichiers / impression) avec 30 utilisateurs depuis 1 an
plusieurs serveurs NT4 dont le contr?leur
2008 Mar 04
1
automatically save graphic
Dear R users,
I write some code which produce a graphic
Now I try at the end to output it (bitmap or jpeg) like this way :
- pop up window asking me to choose a path where to save my picture
- choose name for this picture
thanks you in advance,
Adel
--
View this message in context: http://www.nabble.com/automatically-save-graphic-tp15822254p15822254.html
Sent from the R help mailing list
2020 Mar 26
3
LLVM pass to optimize redundant branch conditions
Hello All
I am looking for an LLVM pass that is able to detect branches whose condition is known if they are reached. To illustrate what I mean, I attached a screenshot showing a partial CFG of a function. The branch in basic block for.cond.cleanup3 tests the same condition as the branch in the entry block, and has the same target BB if the condition is false. Also, if you inspect the graph
2020 Apr 23
2
Incorrect behavior in the LLVM dependence analyzer
Hi all,
I am trying to use the dependence analyzer in a pass that I am writing and I was surprised to see an incorrect behavior when I try to query DependenceInfo for dependences between instructions. Specifically, if the two instructions are loads/stores accessing an array in a loop, the depend() method would return a dependence regardless of the order of instructions specified. (i.e. if the two
2012 Dec 04
3
monte carlo simulation on R
Hello,
How can I make a monte carlo simulation on R?
Regards
Adel
--
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
[[alternative HTML version deleted]]
2010 Aug 21
4
basic hist() question
Hi list
I loaded the content of a file dureetasks.txt to variable a. This file
contains an interger per line.
when I print a vector, it displays correctly.
however, when I try to print the histogram, I get this error message
> a=read.table("dureetasks.txt")
> hist(a)
Error in hist.default(a) : 'x' must be numeric
Can you help please?
regards
--
PhD candidate in
2020 Nov 11
1
Accessing Function analyses in a Module pass with the new pass manager
Hello
With the legacy pass manager, we could invoke a Function Pass within the runOnModule() of a Module Pass by simply passing the Function reference to the getAnalysis<>() method. Can the same be achieved using the new Pass Manager? I am writing a Module Pass which requires to access analyses for the different functions, and I need the new pass manager because I need different copies of
2018 Aug 07
4
Generating a loop from llvm bitcode
Hello
I am developing a backend that generates OpenCL from llvm bitcode. I start with a revived fork of the original LLVM C-Backend and have been modifying it. One thing that the backend lacked was generating proper loop structures; instead it relied on labels and goto statements. Therefore, I am trying to find a way to identify the loop structure and print it out in the backend. So far, the main
2007 Nov 21
1
better curve
Hi R users,
I have collected data which I plot(x,y).The problem it has oscillations.
Now i'm trying to "make better" this curve with a smooth line starting let's
say @x=300 s.
And then collect my new datas.
But I don't know how doing this.
Perhaps a linear regression ??
See .jpeg foto.
Thanks for any help it will be given.