Hello,
I am looking for tolerance interval related methodologies and found the
package "tolerance" which will e.g. nicely calculate the 95%/95% tolerance
limits of a given regression. What I am looking for, however is not only the
the tolerance limits this calculation defines, but I would like
Hi,
I'm currently combining multiple plots using something along the lines
of the following pseudo-code:
library(grid)
grid.newpage()
tmpLayout <- grid.layout(
nrow=4,
ncol=2)
pushViewport(viewport(layout = tmpLayout))
and than proceeding with filling the viewports ... works fine, but f
Hello,
Banging my head against a wall here ... can anyone light the way to a
pattern modification that would make the following TRUE?
identical(
grep(
"^Intensity\\s[^HL]",
c("Intensity","Intensity L", "Intensity H", "Intensity Rep1")),
as.integer(c(1,4)))
Thank you for your time.
Johannes Graumann wrote:
> Grrr ... new trial with code here: http://pastebin.com/RjHNNG9J
> Maybe the amount of inline-code prevented posting?
>
> Hello,
>
> I am writing a simple peak detector and it works quite well ... however
> there's one special case below
Grrr ... new trial with code here: http://pastebin.com/RjHNNG9J
Maybe the amount of inline-code prevented posting?
Hello,
I am writing a simple peak detector and it works quite well ... however
there's one special case below, that I can't get my head wrapped around ...
the problem is in the "De
Prof Brian Ripley wrote:
> On 30/01/2013 06:02, Johannes Graumann wrote:
>> Hi,
>>
>> Does anyboody have insight into what this error terminating "R CMD check"
>> on an in-house package may imply?
>
> You have re-defined cat(), so I guess you re-define
Hi,
Does anyboody have insight into what this error terminating "R CMD check" on
an in-house package may imply?
> ###
> cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n")
Error in get("ptime", pos = "CheckExEnv") :
unused argument(s) (pos = "CheckExEnv")
Calls: cat ->
Hi,
I am intending to save a path-describing character object in a slot of a
class I'm working on. In order to have the option to use "system.file" etc
in such string-saved path definitions, I wrote this
ExpressionEvaluator <- function(x){
x <- tryCatch(
expr=base::parse(text=x),
erro
Hi,
What goes wrong when the following error shows up:
> Error in reconcilePropertiesAndPrototype(name, slots, prototype,
> superClasses, :
> No definition was found for superclass “sequencesuperclass” in the
> specification of class “sequences”
Has this something to do with recursive class
your input.
Sincerely, Joh
On Thursday, March 11, 2010 10:07:17 PM UTC+3, hadley wickham wrote:
>
> No this currently isn't possible - it would require changes to
> stat_boxplot to work.
>
> Hadley
>
> On Wed, Mar 10, 2010 at 9:12 AM, Johannes Graumann
> > wrote:
Hello,
Please try this:
> library(devtools)
> create("mdaa")
> setwd("mdaa")
> dev_mode()
d> install()
Produces
...* DONE (mdaa)
Reloading installed mdaa
But when I then try to build documentation
d> document()
devtools/roxygen just hangs with a "?" like so:
Updating mdaa documentation
Loading
Hi,
Please see the subject line ;)
Goolge only let me to people asking the same question, but no answers ... Am
I out of luck with trying to in-line document Reference Classes?
Thank you for your input.
Sincerely, Joh
__
R-help@r-project.org mailing
.uk/professional-resources-home/knowledge-hub-
evidence-statistics/
>
>
> For evidence and statistics on the older population, visit the Age UK
> Knowledge Hub
> http://www.ageuk.org.uk/professional-resources-home/knowledge-hub-
evidence-statistics/
>
>
>
> -Ori
Hello,
I wrote a class like so:
> rcfdpsuperclass <- setRefClass(
> Class="rcfdpsuperclass",
> fields = list(
>RcfpdVersion = "character"),
> methods = list(
>initialize = function(){
> 'Populates fields with defaults and lock as appropriate'
> initFields(
>RcfpdVersi
David Winsemius wrote:
>
> On Oct 24, 2012, at 2:14 AM, Johannes Graumann wrote:
>
>> Hello,
>>
>> testclass <- setRefClass(
>> "testclass",
>> fields = list(testfield = "logical"),
>> methods = list(validate=function(){t
Hello,
testclass <- setRefClass(
"testclass",
fields = list(testfield = "logical"),
methods = list(validate=function(){testfield<<-TRUE}))
> test <- testclass$new()
> test$testfield
logical(0)
> test$validate()
> test$testfield
[1] TRUE
Works just fine for me.
I would love to be able to d
Dear all,
Is anyone aware of an R implementation of LoOF (H.-P. Kriegel, P. Kröger, E.
Schubert, A. Zimek; LoOP: Local Outlier Probabilities; In Proceedings of the
18th ACM Conference on Information and Knowledge Management (CIKM), Hong
Kong, China: 1649–1652, 2009.)? I found http://cran.r-
pro
NA
>
> For long input vectors vapply can save a fair bit of
> memory and time over sapply.
>
> Bill Dunlap
> Spotfire, TIBCO Software
> wdunlap tibco.com
>
>> -Original Message-----
>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
&g
Dear All,
I have trouble generizising some code.
> index <- 0
> sapply(list(c(1,2,3),c(1,2),c(1)),function(x){x[max(length(x)-index,0)]})
Will yield a wished for vector like so:
[1] 3 2 1
But in this case (trying to select te second to last element in each vector
of the list)
> index <- 1
> sap
Prof Brian Ripley wrote:
> On Mon, 4 Jul 2011, Johannes Graumann wrote:
>
>> Hello,
>>
>> I'm writing a package am running 'R CMD check' on it.
>>
>> Is there any way to make 'R CMD check' not warn about a missmatch between
>
Hello,
I'm writing a package am running 'R CMD check' on it.
Is there any way to make 'R CMD check' not warn about a missmatch between
'NA_character_' (in the function definition) and 'NA' (in the
documentation)?
Thanks for any help.
Sincerely, Joh
___
"count.fields" is a very nice hint for a clean solution - thank you!
Joh
On Sunday 06 March 2011 21:48:32 David Winsemius wrote:
> On Mar 6, 2011, at 12:47 PM, Johannes Graumann wrote:
> > Thank you for pointing this out. This is really inconvenient as I do
> > not
>
nd
> may fail completely for very large datasets.
>
> Sarah
>
> On Sun, Mar 6, 2011 at 12:47 PM, Johannes Graumann
>
> wrote:
> > Thank you for pointing this out. This is really inconvenient as I do not
> > know a priori how many and where those darn cases containing
ct character but have factor you may
> get unexpected results later.
>
> Sarah
>
> On Sun, Mar 6, 2011 at 5:04 AM, Johannes Graumann
> wrote:
>> Hello,
>>
>> Please have a look at the code below, which I use to read in the attached
>> file. As line 18 o
Hello,
Please have a look at the code below, which I use to read in the attached
file. As line 18 of the file reads "1065:>sp|Q9V3T9|ADRO_DROME
NADPH:adrenodoxin oxidoreductase, mitochondrial OS=Drosophila melanogaster
GN=dare PE=2 SV=1", I expect the code below to produce a 3 column data frame
<- apply(x, 1, is.na)
>> # now convert to list of columns with NAs
>> apply(row.na, 2, function(a) paste(colnames(x)[a], collapse = ','))
> [1] """B" "A,B" "A"
>>
>>
>
>
> On Mon, Jan 17, 2011 at 5:01 A
you're looking for...
> >
> > But would that do?
> > df <- data.frame(A=c(1,2,NA,NA),B=c(1,NA,NA,4))
> > apply(df,1, FUN=function(x) length(x[is.na(x)]))
> > [1] 0 1 2 1
> >
> > There might be better ways to do it, but it works
> > HTH,
> > Ivan
Hi,
What is an efficient way to take this DF
data.frame(A=c(1,2,NA,NA),B=c(1,NA,NA,4))
and get
c(NA,"TWO","BOTH","ONE")
as the result, where NA corresponds to a row without "NA"s, TWO indicates NA
in the second and ONE in the first column.
Thanks for any pointers.
Joh
_
Johannes Graumann wrote:
> Johannes Graumann wrote:
>
>> Hi,
>>
>> I'm running into the error below when doing "R CMD INSTALL
>> MyPackage.tar.gz". This didn't use to be this way and I am at a loss as
>> to where this migh
Johannes Graumann wrote:
> Hi,
>
> I'm running into the error below when doing "R CMD INSTALL
> MyPackage.tar.gz". This didn't use to be this way and I am at a loss as to
> where this might be coming from. Any pointers where to look?
>
> Joh
>
>
Duncan Murdoch wrote:
> On 28/10/2010 7:54 AM, Johannes Graumann wrote:
>> Hi,
>>
>> I'm running into the error below when doing "R CMD INSTALL
>> MyPackage.tar.gz". This didn't use to be this way and I am at a loss as
>> to where this might
Hi,
I'm running into the error below when doing "R CMD INSTALL
MyPackage.tar.gz". This didn't use to be this way and I am at a loss as to
where this might be coming from. Any pointers where to look?
Joh
** building package indices ...
Error in scan(file, what, nmax, sep, dec, quote, skip, nlin
Hi,
Can anyone give me a pointer on howto make a package execute a function at
loading?
Following an older post (http://bit.ly/cS1Go4), I'd like to do something
along the lines of
> .localstuff <- new.env()
> .localstuff$OftenUsedData <- read.csv(...)
upon loading the package ...
Thanks, Jo
Stupid Joh wants to give you a big hug! Thanks! Why "rank" works but "order"
not, I have still to figure out, though ...
Joh
On Monday 04 October 2010 17:30:32 peter dalgaard wrote:
> On Oct 4, 2010, at 16:57 , Johannes Graumann wrote:
> > Hi,
> >
> &g
Hi,
I'm turning my wheels on this and keep coming around to the same wrong
solution - please have a look and give a hand ...
The premise is: a DF like so
> loremIpsum <- "Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Quisque leo ipsum, ultricies scelerisque volutpat non, volutpat et
OK. Just checked and "choose.file"/"choose.dir" exists in the windows
version - apparently not in the linux one ... does anybody have a nice
platform-agnostic solution for this?
Thanks, Joh
Johannes Graumann wrote:
> Hi,
>
> I fail to find "choose.dir()&q
Hi,
I fail to find "choose.dir()" in my current R install (see below)? Didn't
that exist at some point? How to achieve "file.choose()" equivalent
functionality for directories?
Thanks for any hints, Joh
> sessionInfo()
R version 2.11.1 (2010-05-31)
x86_64-pc-linux-gnu
locale:
[1] LC_CTYPE=
Sorry about that - got dropped from my attempts yesterday (see the first
example below, that has the "useInternalNodes=TRUE") ...
Thanks again, Joh
Duncan Temple Lang wrote:
> Johannes Graumann wrote:
>> Thanks!
>> but:
>> > library(XML)
>> > xmlDoc
he default namespace. You need to specify this in
> two places - where you use it in the XPath expression and
> in the namespaces argument of getNodeSet()
>
> So
> getNodeSet(test, "//x:modifications_row", "x")
>
> gives you probably what you want.
>
&g
Hi,
Why is the following retuning a nodset of length 0:
> library(XML)
> test <- xmlTreeParse(
> "http://www.unimod.org/xml/unimod_tables.xml",useInternalNodes=TRUE)
> getNodeSet(test,"//modifications_row")
Thanks for any hint.
Joh
__
R-help@r-projec
s crossed it should build on r-forge in the next few
> days.
>
> baptiste
>
> On 6 August 2010 17:11, Johannes Graumann wrote:
> > I updated the package from r-forge, but despite the fact that
> > "grid.table" does not complain about the "parse" opti
On Saturday 14 August 2010 23:08:31 Peter Dalgaard wrote:
> Johannes Graumann wrote:
> > Hi,
> >
> > can someone point me at material to understand how in
> > http://upload.wikimedia.org/wikipedia/commons/8/89/Boxplot_vs_PDF.png the
> > "fivenum"-co
Hi,
can someone point me at material to understand how in
http://upload.wikimedia.org/wikipedia/commons/8/89/Boxplot_vs_PDF.png the
"fivenum"-corresponding percentages might be calculated?
Thanks, Joh
__
R-help@r-project.org mailing list
https://stat
),
>
> d <- data.frame("alpha", "beta")
> grid.table(d, parse=T)
>
> you'll need revision 258 of gridExtra for this to work (googlecode now,
> r-forge in the following days, CRAN in the next stable version).
>
> HTH,
>
> baptiste
>
Hi,
Is there any way to get an expression into a data.frame, such that
"grid.table" from "gridExtra" will plot it evaluated in the table body? The
docu does it for the header, but is the body possible?
Thanks, Joh
__
R-help@r-project.org mailing list
list(c(1,2,3), c(7,6), c(3,4,5,6,7,8,9))
>
> data.frame(
> OriginalListIndex = rep(x = seq_along(mydata),
>times = unlist(lapply(mydata, length))),
> Item = unlist(mydata)
> )
>
>
> HTH,
>
> Josh
>
> On Mon, Jul 26, 2010 at 7:46 AM, Johannes Graumann
Hi,
Any ideas on how to efficiently convert
> list(c(1,2,3),c(4,5,6))
to
> data.frame(OriginalListIndex=c(1,1,1,2,2,2),Item=c(1,2,3,4,5,6))
Thanks for any hints,
Joh
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
David Winsemius wrote:
>
> On May 27, 2010, at 7:24 AM, Johannes Graumann wrote:
>
>> Hi,
>>
>> Why is the result of below "apply" call rotated with respect to the
>> input
>> and how to remedy this?
>
> Because the processing you requ
Hi,
Why is the result of below "apply" call rotated with respect to the input
and how to remedy this?
Thanks, Joh
.ZScore <- function(input){
#cat(input,"\n")
z <- (input - mean(input))/sd(input)
return(z)
}
apply(data.frame(x1=c(1,2,3,4,5),x2=c(2,3,4,5,6),x3=c(3,4,5,6,7)),1,.ZScore)
__
Jim Lemon wrote:
> On 04/09/2010 08:55 PM, Samantha Reynolds wrote:
>> Hi
>>
>> I was hoping someone might be able to help me I have this data:
>>
>> birdid timetaken numvisits ptachchoice time bold
>> 1087 810 1 AM0
>> 108728 6 1
Thanks so much. Solved.
Joh
hadley wickham wrote:
> Because of the way you've constructed the plot with qplot, you need to
> use:
>
> myPlot + geom_point(
> data=medians,
> aes(x=med,shape=cut, y=0),
> size=2.5,
> )
>
> Hadley
>
> On Wed, Apr 7, 20
Hi,
Please consider the example below. How can I manage to overlay the points
the way I want in the second case?
Thanks, Joh
library(ggplot2)
# Modify data to match "real" case
myDiamonds <- diamonds
myDiamonds[["clarity"]] <- as.character(myDiamonds[["clarity"]])
myDiamonds[myDiamonds[["clari
;
> On Wed, Mar 31, 2010 at 4:46 AM, Johannes Graumann
> > wrote:
>
>> Hi,
>>
>> Consider something like
>> > library(ggplot2)
>> > movies$decade <- round_any(movies$year, 10)
>> > m <- qplot(rating,data=movies,colour=factor(decade),geo
Hi,
Consider something like
> library(ggplot2)
> movies$decade <- round_any(movies$year, 10)
> m <- qplot(rating,data=movies,colour=factor(decade),geom="density")
> m
(modified from "?stat_density").
I'd like to add on the line y=0 a dot for the median of each "decade"
category (using the same c
h geom_boxplot.
Joh
On Wednesday 10 March 2010 16:12:49 hadley wickham wrote:
> What is varwidth?
>
> Hadley
>
> On Wed, Mar 10, 2010 at 1:55 PM, Johannes Graumann
>
> wrote:
> > Hi,
> >
> > Is there such
Hi,
Is there such a thing? If no: is it easily simulated?
thanks, Joh
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented,
Works. Thank you!
Joh
On Wednesday 10 March 2010 11:13:09 you wrote:
> not with the theme, as far as I know, but you can do:
>
> set_default_scale("fill", "discrete","grey")
>
> baptiste
>
> On 10 March 2010 10:31, Johannes Graumann wro
Indeed. Thank you. Is there a global switch analogous to
"theme_set(theme_bw())"?
thanks for your help, Joh
On Wednesday 10 March 2010 10:29:05 baptiste auguie wrote:
> Hi,
>
> last_plot() + scale_fill_grey()
>
> should do it
>
> HTH,
>
> baptiste
Hello,
I'd like to sitch to a monochrome/bw color-palette for the filling of
geom_bar-bars (produced via "qplot" as in the example below). Hours of
googling didn't yield anything useful, so I thought, I'd just ask ...
Thanks, Joh
library(ggplot2)
qplot(factor(cyl), data=mtcars, geom="bar", fil
Thanks. I switched to ggplot2 which offers error bars.
Joh
Dieter Menne wrote:
>
>
> Johannes wrote:
>>
>>
>> How can I, given the code snippet below, draw the error bars in the
>> center of each grouped bar rather than in the center of the group?
>>
>
> http://markmail.org/message/oljgimk
Hi,
How can I, given the code snippet below, draw the error bars in the center
of each grouped bar rather than in the center of the group?
Thanks for any hints,
Joh
library(lattice)
barley[["SD"]] <- 5
barchart(
yield ~ variety | site,
data = barley,
groups=year,
origin=0,
lowDev=b
Johannes Graumann wrote:
> Has anybody solved this?
For the benefit of others: after studying
> ?panel.bwplot
I have to admit that
> bwplot(..., varwidth = TRUE)
solves the issue. It's just not documented at
> ?bw
Rolf Turner wrote:
>
> On 15/02/2010, at 9:40 AM, Johannes Graumann wrote
>
>
>
> (In response to some advice from David Winsemius):
>
>> I am quite certain that this is the most elaborately worded version of
>> "RTFM" I have ever come across.
>
Deepayan Sarkar wrote:
> On Sun, Feb 14, 2010 at 7:33 AM, Johannes Graumann
> wrote:
>> Hello,
>>
>> When drawing "barcharts", I find it not helpful if ylim[1] != 0 - bars
>> for a quantity of 0, that do not show a length of 0 are quite
>> non-intui
David Winsemius wrote:
>
> On Feb 14, 2010, at 10:33 AM, Johannes Graumann wrote:
>
>> Hello,
>>
>> When drawing "barcharts", I find it not helpful if ylim[1] != 0 -
>> bars for a
>> quantity of 0, that do not show a length of 0 are quite non-in
Hello,
When drawing "barcharts", I find it not helpful if ylim[1] != 0 - bars for a
quantity of 0, that do not show a length of 0 are quite non-intuitive.
I have tried to study
> library(lattice)
> panel.barchart
but am unable to figure out where ylim is taken care of and how one
Hello,
Has anybody solved this?
Thanks, Joh
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, r
nows about. And even if
> the header was stripped, such files are 8-bit and yours is ASCII.
> Try
>> x <- 'Johannes Graumann'
>> xx <- charToRaw(x)
>> xxx <- memCompress(xx, "g")
>> rawToChar(xxx)
> [1] "x\x9c\xf3\xca\xcfH\xcc\xcb
Hi,
I have zlib compressed strings (example is attached) and would like to
decompress them using memDecompress ...
I try this:
> connection <- file("compressed.txt","r")
> compressed <- readLines(connection)
> memDecompress(as.raw(compressed),type="g")
Error in memDecompress(as.raw(compressed),
myVector <- c(seq(10),23,35)
length(myVector)
myVector[length(myVector)]
it's unclear to me which of the two you want ...
HTH, Joh
yonosoyelmejor wrote:
>
> Hello, i would like to ask you another question. Is exist anymethod to
> vectors that tells me the last element?That is to say,I have a v
one. Just
> I prefer I can write the greek letter delta1 and delta 2 instead of words
> 'delta1' and 'delta2'. Also, it will be nice if there is a square symbol
> next to delta1 and a circle symbol next to delta 2, since sometimes I have
> to print the graph in a white
How about
plot(sigma, delta1, ylim=range(-0.5, 2), xlab='sigma', ylab='delta', pch=22,
type='o')
points(sigma, delta2, col='red', axes=FALSE, type='o')
legend("topleft",c("Delta1","Delta2"),fill=TRUE,col=c("black","red"))
Send runnable example next time.
HTH, Joh
gcheer3 wrote:
>
> TO be spe
Markus Mehrwald wrote:
> Hi all,
>
> I am completely new to R and my knowledge of statistics is quite small
> so I hope you can help my.
> I have three dimensional point data which represents (and this is what I
> do not know for sure) a normal distribution. Now I want to test if this
> is true o
Hi,
Is there any R-generic, OS-agnostic way to figure out what end-of-line
character is being used in a file to be processed by "readLines"?
Thanks, Joh
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read t
Hi,
I'm dealing which huge files I would like to index. On a linux system "grep
-buo " hands me the byte offsets for "PATTERN" very
quickly and I am looking to emulate that speed and ease with native R tools
- for portability and elegance. "gregexpr" should be able to do that but I
fail to co
On Monday 02 November 2009 13:41:45 Prof Brian Ripley wrote:
> On Mon, 2 Nov 2009, Johannes Graumann wrote:
> > Hmmm ... that should do it, thanks. But how would one use this on a file
> > without reading it into memory completely?
>
> ?file, ?readLines, ?readBin
>
ly prefer the character
> offset: if you want to match in a MBCS and have byte offsets you will
> need to work a bit harder if useBytes=TRUE is not sufficient for you.
>
> On Wed, 28 Oct 2009, Johannes Graumann wrote:
> > Hi,
> >
> > Is there any way of doing 'g
Hi,
Is there any way of doing 'grep' ore something like it on the content of a
text file and extract the byte positioning of the match in the file? I'm
facing the need to access rather largish (>600MB) XML files and would like
to be able to index them ...
Thanks for any help or flogging,
Joh
Vector))
>> split(seq(length(testVector)), xb)
> $`1`
> [1] 1
>
> $`2`
> [1] 2 3 4
>
> $`3`
> [1] 5 6
>
> $`4`
> [1] 7
>
> $`5`
> [1] 8
>
> $`6`
> [1] 9 10 11 12
>
> $`7`
> [1] 13
>
>
> On Wed, Oct 28, 2009 at 7:57
Dear all,
Is there an efficient way to get this list
> testList <- list(c(1),c(2,3,4),c(5,6),c(7),c(8),c(9,10,11,12),c(13))
from this vector
> testVector <- c(12,32,NA,NA,56,NA,78,65,87,NA,NA,NA,90)
?
Basically the vector should be grouped, such that non-NA and all following
NAs end up in one g
On Sunday 25 October 2009 00:38:54 you wrote:
> xmlEventParse() is intended for handling files that we don't want to keep
> in memory. The branches parameter does make it easier to deal with
> sub-trees as the document is being parsed. And within these branches one
> can use XPath.
Very interes
n Saturday 24 October 2009 23:31:46 Duncan Temple Lang wrote:
> Johannes Graumann wrote:
> > Hi,
> >
> > I had heard that Expat is was faster. Your mail actually made me go check
> > google for some comparisons and that does not seem the case ... do you
> > have any
nfigure-args='--with-expat' XML
>
> and that will endeavor to find the expat libraries, etc.
>
>
> HTH,
>
> D.
>
> Johannes Graumann wrote:
> > Hi,
> >
> > How can I make the result of the following lines "TRUE"?
> >
&
Hi,
How can I make the result of the following lines "TRUE"?
> install.packages("XML")
> library(XML)
> supportsExpat()
[1] FALSE
I'm on linux, looked into the actual package, but don't seem to be able to
wrap my head around how to compile this in ...
Any pointers are welcome,
Thanks Joh
Rene wrote:
> Dear all,
>
> I am stuck at applying loop function for creating separated plots.
>
> I have coding like below:
>
> dataset.table <-
>
table(data.frame(var1=c(1,2,3,1,2,3,1),colour=c("a","b","c","c","a","b","b")
> ))
> kk = function(f)
> {
> ls=as.charac
than the whole thing (only SAX-style passing would
be possible, since there's no way the thing will fit into memory).
Thanks again, Joh
Johannes Graumann wrote:
> Hello,
>
> With the help of "seek" I can start "readBin" from any byte offset within
> my file
Hello,
With the help of "seek" I can start "readBin" from any byte offset within my
file that I deem appropriate.
What I would like to do is to be able to define the endpoint of that read as
well. Is there any solution to that already out there?
Thanks for any hints, Joh
__
t occurs because
> you do not specify trim = FALSE in the call to xmlEventParse().
> If you specify this, you might well get the results you expect.
> If not, can you post the actual file you are reading so we can
> reproduce your results.
>
>D.
>
> Johannes Graumann wrote:
Hello,
I wrote the function below and have the problem, that the "text" bit returns
only a trimmed version (686 chars as far as I can see) of the content under
the "fetchPeaks" condition.
Any hunches why that might be?
Thanks for pointer, Joh
xmlEventParse(fileName,
list(
startElemen
Thanks a lot. Exactly what I was looking for.
Joh
Prof Brian Ripley wrote:
> On Tue, 20 Jan 2009, Johannes Graumann wrote:
>
>> Hello,
>>
>> Is there a way to get the name of the function currently running?
>
> It may not even have a name (you can write function
Hello,
Is there a way to get the name of the function currently running?
I'd like to have something like this
x <- function(){
myName <- getNameOfCurrentFunction
cat(myName)
}
so that
x()
would result in
"x"
Thanks for any pointers,
","Y","F",
> "N","I","N","I","N","I","D","K","M","Y","I","H","*")
> + )
>>
>>
>>
>> indexes <- list(
> + list(
> + c(1,22
ces[[1]][do.call(seq, as.list(g))])
}
still very slow for length(sequences) ~ 7000.
Joh
On Friday 16 January 2009 14:23:47 Henrique Dallazuanna wrote:
> Try this:
>
> lapply(indexes[[1]], function(g)sequences[[1]][do.call(seq, as.list(g))])
>
> On Fri, Jan 16, 2009 at 11:06 AM, Jo
Hello,
I have a list of character vectors like this:
sequences <- list(
c("M","G","L","W","I","S","F","G","T","P","P","S","Y","T","Y","L","L","I","M",
"N","H","K","L","L","L","I","N","N","N","N","L","T","E","V","H","T","Y","F",
"N","I","N","I","N","I","D","K","M","Y","I","H","*")
)
and ano
ap <[EMAIL PROTECTED]> wrote:
> >>> -Original Message-
> >>> From: William Dunlap
> >>> Sent: Tuesday, November 25, 2008 9:16 AM
> >>> To: '[EMAIL PROTECTED]'
> >>> Subject: Re: [R] Efficient passing through big data.f
Hi all,
I have relatively big data frames (> 1 rows by 80 columns) that need to be
exposed to "merge". Works marvelously well in general, but some fields of the
data frames actually contain multiple ";"-separated values encoded as a
character string without defined order, which makes the fi
a Center
> Intermountain Healthcare
> [EMAIL PROTECTED]
> 801.408.8111
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> project.org] On Behalf Of Johannes Graumann
>> Sent: Tuesday, October 28, 2008 8:42 AM
>> To: [EMAIL
Hello,
Is it possible to get all "par" content calculated for "plot" without actually
plotting anything? I'm missing an option "plot=FALSE" ... "type="n"" will still
open a device and draw the axes ...
Thanks, Joh
__
R-help@r-project.org mailing list
Hi all,
I'm plotting impulses, where some of them should have labels hovering above
them. I know of plotrix' spread.labels function, but would like to save that
for instances where there truely is to little space for the label.
Does anybody have any hints what' the most efficient way might be to
ult happened to work anyways.
>>
>> I guess the bottom line is that if you use parens in
>> your regexp that are not intended to be back references
>> then its important to specify backref= explicitly.
>>
>> The NEWS file in the gsubfn distribution does mention
>
1 - 100 of 161 matches
Mail list logo