Displaying 20 results from an estimated 10000 matches similar to: "apologies if you aready received this ?"
2006 Jun 08
1
[Fwd: R 2.20 Windows XP anaolgue of Splus unix() command ?]
>Hi Everyone : As I mentioned earlier, I am taking a lot
>of Splus code and turning into R and I've run into
>another stumbling block that I have not been
>able to figure out.
>
>I did plotting in a loop when I was using Splus on unix
>and the way I made the plots stop so I could
>lookat them as they got plotted ( there are hundreds
>if not thousands getting plotted
2006 May 31
2
timeSeq and TimeDate analog in R ?
Hi All : I am attempting tomove a large amount of code from Splus to R and I was hoping that there was an equivalent in R of the Splus functions timeSeq and timeDate ?
I did an RSiteSearch but nothing came up ?
If the equivalent functions are part of some package, that's fine.
Thanks a lot.
Mark
2006 Jun 03
1
warnings messages from R when returning nothing
Hi : I have old Splus code that I am trying to turn into R
( I am using windows Xp and R 2.20 ) and I am getting a warning
from one of my statements because the behavior of R is different from Splus.
below, tempdata is a matrix of numbers and
I have the following command which basically runs through the columns and returns the minimum index of the column
where an NA occurs.
2006 Jul 07
3
attach and detach question
I have a large R program that I am constantly running over and over again. At the beginning of this program, I create a hige matrix and a huge dataframe but these are constant. What I mean by constant is that, if I run the program over later, I really should just use the old matrix and dataframe ( if they exist ) that were created in a previous run so that the program doesn't have to spend
2006 Jul 05
2
apologes if you already saw this :efficiency question
hi everyone : i'm not sure if my previous mail about
this got sent. i was typing and
erroneosuyl hit a button and lost what i was typing.
anyway, i have the code below ( it works ) in which i run through the rows of a dataframe, taking out the first two
fields which are characters strings ( with some extra spacing so
i yuse gsub) and appending these character strings to a list so that i can
2006 Jun 16
2
scatterplot but a little tricky
i have two vectors of numbers x and y and of course i
can do the standard scatterplot plot(x,y)
and it looks fine. But, I was hoping there was a way to
do the scatterplot so that each point plotted is a number
where the number represents the index in the dataset.
so, if it was x[3] and y[3], then the point would be a 3
or if it was x[4] and y[4], then the point would be a 4 etc.
i doubt this is
2006 Jun 20
1
weird application of apply again
uugh : i promise that this will be my last question of the day.
i hate to constantly bother this group but it takes me time to get familar with all of these functions, tricks and and manipulations.
i appreciate everyone's patience. i used too splus a lot
but i've gotten rusty.
i have a matrix of say 200 rows and 600 columns.
i have a function "getprofit" that takes two series
2009 Jul 16
2
Count the number of occurences in ranges
I got a vector of probabilities like,
probs<-c(0.001,0.5,0.02,1,.....)
Is there any nice and easy builtin function to get the number of
occurences within some specified probabality range.
Like with 2% it would be
occur[1] = sum(probs[probs>0&probs<0.02])
occur[2] = sum(probs[probs>0.02&probs<0.04])
...
occur[50] =sum(probs[probs>0.09] & probs<1)
(If it was a
2009 Mar 31
1
error when going through Alan Lenarcic's package Tutorial
Hi Everyone: I've been going through Alan Lenarcic's package tutorial but
when I did
R CMD SHLIB Xdemo.cc Xdemo_main.cc -o Xdemo.dll
I got the following error:
XDemo_res.rc:15:38: warning: missing terminating " character
XDemo_res.rc:23:34: warning: missing terminating ' character
c:\mark\research\Rtools\MinGW\bin\windres.exe: XDemo_res.rc:16: syntax error
2011 Oct 05
2
subplot strange behavoir
Hello,
Below is some example code that should reproduce an error I'm encountering
while trying to create a tiff plot with two subplots. If I run just the
following bit of code through the R GUI the result is what I'd like to have
appear in the saved tiff image:
x<-seq(0:20)
y<-c(1,1,2,2,3,4,5,4,3,6,7,1,1,2,2,3,4,5,4,3,6)
plot(x,y,type="l",las=1,ylim=c(0,12))
2006 Jun 11
2
regular expression question
I am very much a novice with regular expressions and I have spent
a decent amount of time trying to do the following and I can't
get it.
i have variables that are of type character but
they have number characters at the end. for example :
"AAL123"
"XELB245"
"A247"
I want a command that gives me just gives me the letter characters
for each one.
the letter
2008 Sep 23
4
perl expression question
If I have the string below. does someone know a regular expression to
just get the "BLC.NYSE". I bought the O'Reilley
book and read it when I can and I study the solutions on the list but
I'm still not self sufficient with these things. Thanks.
stock<-"/opt/limsrv/mark/research/equity/projects/testDL/stock_data/fhdb/US/BLC.NYSE"
2009 Aug 05
4
A question regarding R scoping
I have a question related to scoping. Suppose we have 2 functions:
f1 = function(i){i = 1}
f2 = function(n){
i = length(n)
f1(i)
}
In other words, I would like i=1 regardless of n. Is this possible without having f1 in the body of f2? Thanks in advance!
2009 Nov 13
4
processing log file
Dear all, I'm trying to process a log file which logs the date, the username and the computer number accessed. The table looks like this:
>table.users
Date UserName Machine
1 2008-11-25 John 641
2 2008-11-25 Clive 611
3 2008-11-25 Jeremy 641
4 2008-11-25 Walt 722
5 2008-11-25 Tony 645
6 2008-11-26 Tony 645
7 2008-11-26
2006 Jun 11
2
seemingly simple read.table question
I have a file that I thought would be fairly simple to read in using read.table but I am having problems ( as usual ).
each line of the file is of the form ( just 20 lines or so )
financials XXX, YYY, ZZZ
automobiles RTR, ABC, TGH
so the first field in the line is the industry and the other fields
( seperated by commas ) in the line are stock identifiers of stocks
in that industry. note that
2006 May 15
1
simple .bat question but i can't find out where to post. my apologies for posting a non R question
----- Original Message -----
From: MARK LEEDS
To: r-help-request@stat.math.ethz.ch
Sent: Sunday, May 14, 2006 9:49 PM
Subject: simple .bat question but i can't find out where to post. my apologiesfor posting a non R question
I have what I think is a simple .bat question but i can't figure out where to post it ( i spent 6 hours looking through tutorials on batch commands but i
2006 Jul 06
2
[Fwd: as.data.frame question]
>From: markleeds at verizon.net
>Date: Thu Jul 06 13:16:42 CDT 2006
>To: markleeds at verizon.net
>Subject: as.data.frame question
>hi all : as a result of an lapply command,
>i get the following output.
>
>
>$AAA
> 000106 000107 000108
> 5.5 6.5 3.0
>
>$BBB
> 000106 000107 000108
> 4 5 6
>
>$CCC
2009 Jun 01
1
Fwd: subset dataframe/list
--- the forwarded message follows ---
-------------- next part --------------
An embedded message was scrubbed...
From: "Cecilia Carmo" <cecilia.carmo at ua.pt>
Subject: Re: [R] subset dataframe/list
Date: Mon, 01 Jun 2009 21:33:15 +0100
Size: 3657
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090601/921f7638/attachment-0002.mht>
2008 Jul 05
3
trying to superimpose a line plot onto a histogram
Hello,
I'm trying to superimpose a line plot onto a histogram but I'm not having
any luck. I've attached the dataset. What I did was:
> hist(data,freq=F)
Now I'm trying to superimpose the following points with a line connecting
them onto the histogram:
x y
100 0.535665393824959
200 0.212744329736556
300 0.0844933242968584
400 0.0335572838043417
500
2006 Jun 04
2
difference in behavior between batch and source
Hi : I am using R 2.20 on windows XP and I have a REALLY
long read.table statement because the col.names argument
has 440 character strings in it. ( I use python to write R code ).
When I run the read.table statement inside an R program
( the R program only consists of the read.table statement )
using the source command in an interactive R session,
everything works fine. But, if I take the same