Re: [R] X11 fonts and Ubuntu

2006-12-17 Thread Rich FitzJohn
X11/fonts/75dpi" > FontPath "/usr/share/fonts/X11/misc" > FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" > Endsection > > but cannot identify where the problem is actually thus no remedy. > > Any idea? > > __ > R-h

Re: [R] functions and strings

2006-09-13 Thread Rich FitzJohn
, at 09:08, Dimitris Rizopoulos wrote: > > > >> yes you're right, maybe this is better > >> > >>> f <- function(x){sin(x)+exp(x)} > >>> strng <- gsub("(x)", "(xyz)", deparse(body(f))[2], fixed = TRUE) > >>>

Re: [R] time zones, daylight saving etc.

2005-05-11 Thread Rich FitzJohn
ata,"%Y %m %d %H %M"))]<-data$V3 > > > > and things go wrong here with matching repeating times/missing times > > around the timezone changes and, my resulting vector is 1 hour shorter > > than my other series. From the R help I see that my OS may be to blame > > but, even if

Re: [R] functions of functions

2005-05-09 Thread Rich FitzJohn
>X[,1], as.integer(X[,2])) > > # caculating the sum: > > return(sum(values)) > > } > > > > > > Uwe > > > > > > > > > > > -- > Robin Hankin > Uncertainty Analyst >

Re: [R] Questions about the intersection area under two kernel densities

2005-05-04 Thread Rich FitzJohn
[alternative HTML version deleted]] > > ______ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- Rich FitzJohn rich.

Re: [R] local average

2005-04-20 Thread Rich FitzJohn
nterval. > > Best, > Jens > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- Rich FitzJohn rich

Re: [R] Clipboard size?

2005-04-20 Thread Rich FitzJohn
y text editor and paste it into R without a problem) > > -- Chris > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide

Re: [R] controlling the x axis of boxplots

2005-04-19 Thread Rich FitzJohn
mes Director, Nottinghamshire NHS Trust, > Hon. SL Institute of Psychiatry > *** My views are my own and not representative of those institutions > *** > > __ > R-help@stat.math.ethz.ch mailing list > http

Re: [R] terminate R program when trying to access out-of-bounds array element?

2005-04-13 Thread Rich FitzJohn
cess such > an element may indicate an error in my program. Is > there a way to get this behavior in R? Explicit > testing with the is.na() function everywhere does not > seem like a good solution. Thanks. > > __ > R-help@stat.math.e

Re: [R] i param in "for" loop does not takes zeros?

2005-04-13 Thread Rich FitzJohn
_ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- Rich FitzJohn rich.fitzjohn gmail.com |http://homepages.paradise.net.nz/richa183 You ar

[R] Re: how to separate a string

2005-04-12 Thread Rich FitzJohn
ank you so much > > C-Ming > April 12, 2005 > > > - > > > [[alternative HTML version deleted]] > > __ > R-help@stat.math.ethz.ch mailing list &

Re: [R] R into stata

2005-04-12 Thread Rich FitzJohn
__ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- Rich FitzJohn rich.fitzjohn gmail.com |http://homep

Re: [R] Plotting the occassional second label

2005-04-10 Thread Rich FitzJohn
as below; then > the labels are written on top of each other. ... > Does anyone have a better way of splitting the second reading for each > date off, or another way of printing two labels for one plotted point? -- Rich FitzJohn rich.fitzjohn gmail.com |http://homepages.parad

Re: [R] vectorized approach to cumulative sampling

2005-04-07 Thread Rich FitzJohn
ile (newsumi=sample(old, size=1, prob=p); >new[length(new)+1]=i; >newsum=sum(new) >} > new > newsum > target > if(newsum>target){new[length(new)]=target-sum(new[-length(new)])} > new > newsum=sum(new); newsum > target > -- Rich FitzJohn rich.fit

Re: [R] read.table with header and text data

2005-04-06 Thread Rich FitzJohn
2.0.1 Windows > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- Rich FitzJohn rich.fitzjohn gmail.com |http:/

Re: [R] How to do aggregate operations with non-scalar functions

2005-04-05 Thread Rich FitzJohn
imple way to convert the object returned > by by() into a data.frame? > Or, is there a better way to go with this? > Finally, if I should roll my own coercion function: any tips? > >Thank you very much in advance, >Itay > > ---

Re: [R] summing columns using partial labels

2005-04-05 Thread Rich FitzJohn
z.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- Rich FitzJohn rich.fitzjohn gmail.com |http://homepages.paradise.net.nz/richa183 You are in a maze of twisty littl

Re: [R] plotting mathematical notation and values substitution

2005-04-04 Thread Rich FitzJohn
uot;Monotonic Multigamma run (" theta == t1 * ").", > list(len = len, t1 = t1))) > > which works fine. How can I have more than one value substitution, > together with mathematical notation and text? -- Rich FitzJohn rich.fitzjohn gmail.com |http://homepages.parad

Re: Re[2]: [R] need any advises for code optimization.

2005-04-04 Thread Rich FitzJohn
4100 1558 2161 > > whole[-as.integer(row.names(to.drop)[120:220]),] > Error in "[.data.frame"(whole, -as.integer(row.names(to.drop)[120:220]), : > subscript out of bounds > > Row names don't coincide with row order numbers in my case. > > -- > B

Re: [R] need any advises for code optimization.

2005-04-04 Thread Rich FitzJohn
er. > Is it possible? > Will a sorting take effect? > Thank you for attention and any good feedback. > > -- > Best regards > Wladimir Eremeev mailto:[EMAIL PROTECTED] > >

[R] Re: is there a function like %in% for characters?

2005-04-02 Thread Rich FitzJohn
Or, using the %foo%-style functions: "%charin%" <- function(x, y) regexpr(x, y) != -1 > "a" %charin% "asdf" [1] TRUE > "a" %charin% "bsdf" [1] FALSE Cheers, Rich On Sat, 2 Apr 2005 22:54:35 -0500, "Liaw, Andy" <[EMAIL PROTECTED]> wrote: > I suppose here's one way: > > > hasChar <- function(x,