[R] crash when opening existing scripts

2020-07-07 Thread Oliver Balmer
new script and try to reopen it, the same thing happens again. *Dr. Oliver Balmer* Project leader Tel. +41 (0)61 284 87 48 oliver.bal...@swisstph.ch *Swiss Tropical and Public Health Institute* Socinstrasse 57, 4051 Basel, Switzerland www.swisstph.ch [[alternative HTML version dele

Re: [R] CRAN Task View: Optimization and Mathematical Programming

2019-02-06 Thread Oliver Dechant
org/web/packages/MDPtoolbox/index.html Other than reading the papers I have no practical experience applying that package. Hope that helps. -- Oliver Dechant __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.c

Re: [R] Mac-specific encoding bug

2017-05-07 Thread Oliver Keyes
Interesting! The odd thing is it works perfectly well on Linux platforms, at least - I guess it must be something to do with the Mac locales. Thanks! On Sun, May 7, 2017 at 1:51 PM, peter dalgaard wrote: > >> On 7 May 2017, at 08:36 , Oliver Keyes wrote: >> >> Hey all,

[R] Mac-specific encoding bug

2017-05-07 Thread Oliver Keyes
for the character. But this only appears in R - Python has it display perfectly - so I'm kind of at a loss. Does anyone know what's going on? Best, Oliver __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Oliver Keyes
e between being unintentionally rude, but helpful >> and purposely putting someone down. -- H > > > I'm afraid I don't think your point is relevant. I didn't claim all the > people who were rude did it unintentionally. However, I don't know anyone > on the l

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Oliver Keyes
gt;> >> helpfully, can see their solutions accepted or not, or commented on in >> >> that >> >> specific topic. >> >> >> >> Perhaps one solution would be to create a new "R-not-help" list where, >> >> as in >> >>

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Oliver Keyes
t.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, reproducible code. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

Re: [R] Extracting complete information from XML data file using R-Nested Lists

2016-01-24 Thread Oliver Keyes
2007-11-25T17:18:01 2007-11-25T17:19:11 mkolker mkolker NA > Nicely performedNA NA > > Could somebody please help me in how could I get the required output > > I have posted the same question in Stackoverflow and the link is here (it > might help in giving more

Re: [R] Error because of large dimension

2016-01-24 Thread Oliver Keyes
__ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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, reproducible code. -- Oliver Ke

Re: [R] [FORGED] Mixed Beta Disrubutions

2015-12-28 Thread Oliver Keyes
deleted]] >> >> __ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and

Re: [R] 'R' Software Output Plagiarism

2015-09-22 Thread BARRETT, Oliver
% will be my quotations and references but that's normal, Thanks again, I will be sharing your thoughts with my thesis supervisor. Cheers, Oliver From: Marc Schwartz Sent: 22 September 2015 22:27 To: peter dalgaard Cc: Bert Gunter; BARRETT, Oliver; R

[R] 'R' Software Output Plagiarism

2015-09-22 Thread BARRETT, Oliver
f you could provide my with some clarity as to why this output from 'R' is reading as plagiarism. I would like to thank you in advance, Kind regards, Oliver Barrett (+44) 7341 834 217 [[alternative HTML version deleted]] __ R

[R] URLdecode problems

2014-09-01 Thread Oliver Keyes
read as including nuls, despite having different values? And how would I go about removing said nuls? -- Oliver Keyes Research Analyst Wikimedia Foundation [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] GLM Modelling help needed

2013-01-14 Thread Oliver Keyes
So, with R you use object[int,int] to select the rows and columns you want to highlight. ([rows,columns]); what you've done here is asked it to apply to rows 1 to 2 (1:2), across all columns. You'll want [,3:4] to specify two particular columns. I'm not familiar enough with glm itself to provide an

Re: [R] Grabbing Specific Words from Content (basic text mining)

2013-01-14 Thread Oliver Keyes
Total newb here, but you might want to check out ?grep and ?regmatches as a start. (ways to match and then extract substrings respectively) On Mon, Jan 14, 2013 at 9:30 AM, Sachinthaka Abeywardana < sachin.abeyward...@gmail.com> wrote: > Hi all, > > Suppose I have a data frame with mixed content

[R] file.link fails on NTFS

2012-12-07 Thread Oliver Soong
link.txt', reason 'The system cannot find the file specified' No link is created. The 'link.txt' to 'link.txt' is suspicious. Does this happen to anybody else? I didn't find anything in my searches. Oliver __ R-h

Re: [R] installation of R (14.1 and 15.1) fails: [reg-packages.Rout] Error 1

2012-10-08 Thread Oliver Kullmann
sorry, I forgot: I'm using gcc and gfortran, version 4.5.4. Oliver On Mon, Oct 08, 2012 at 09:57:00AM +0100, Oliver Kullmann wrote: > Hello, > > I'm trying to install R on two Linux machines: > > 1. > > uname -a > Linux cs-wsok 3.4.6-2.10-desktop #1 SMP PREE

[R] installation of R (14.1 and 15.1) fails: [reg-packages.Rout] Error 1

2012-10-08 Thread Oliver Kullmann
ry `/home/kullmann/OKplatform/ExternalSources/builds/R/R-2.15.1/tests' make[3]: *** [test-Reg] Error 2 I looked at http://www.stats.bris.ac.uk/R/doc/FAQ/R-FAQ.html#R-Bugs and didn't find specific suggestions about information to provide in case of buildin

Re: [R] Printing a variable in a loop

2012-06-28 Thread Oliver Ruebenacker
Hello, Can't you just use vectors? Untested example: var[1] <- 10 var[2] <- 20 y <- 1 while(y < 3) { print(var[y]) y <- y+1 } Take care Oliver On Wed, Jun 27, 2012 at 8:22 PM, kat_the_great wrote: > Dear R Users: > > I'm a S

Re: [R] computing time for solve() in Matrix package

2012-06-27 Thread Oliver Ruebenacker
Hello, My guess would be that solve() does not take advantage of the special structure of the matrix and that you may want a sparse matrix representation. Take care Oliver On Tue, Jun 26, 2012 at 1:56 PM, Paul Rathouz wrote: > Hi -- I am wondering why the time to solve (inv

Re: [R] increase the usage of CPU and Memory

2012-06-26 Thread Oliver Ruebenacker
is likely to request them next. But in any case, input form disk or network is almost certain to cause waiting times and therefore decreases used CPU time. Take care Oliver On Tue, Jun 26, 2012 at 1:53 PM, Christofer Bogaso wrote: > On 26-06-2012 16:33, Oliver Ruebenacker wrote: >

Re: [R] increase the usage of CPU and Memory

2012-06-26 Thread Oliver Ruebenacker
care Oliver On Mon, Jun 25, 2012 at 8:07 PM, Xi wrote: > Dear All, > > I have been searching online for help increasing my R code more efficiently > for almost a whole day, however, there is no solution to my case. So if > anyone could give any clue to solve my problem, I woul

Re: [R] equality of values

2012-06-24 Thread Oliver Ruebenacker
;solutions" that aren't solutions (e.g. trying to invert a singular matrix) (7) Some well-defined problems may defy a straight-forward approach (e.g. solving stiff differential equations) Take care Oliver On Sun, Jun 24, 2012 at 5:29 PM, Sarah Goslee wrote: > Please read R

Re: [R] RODBC to access a web server

2012-06-21 Thread Oliver Ruebenacker
Hello Brett, My guess is you did not set the access rules on the MySQL server to allow connections from this host. Take care Oliver On Thu, Jun 21, 2012 at 1:29 PM, Prof Brian Ripley wrote: > On 21/06/2012 17:17, Brett Robinson wrote: >> >> Hi, I have tried to

Re: [R] populating a large matrix

2012-06-20 Thread Oliver Ruebenacker
Hello, For an optimization strategy, we need to know more: do you have many variables? do you have many different formulae? do you re-calculate after changing only one variable? Take care Oliver On Tue, Jun 19, 2012 at 11:10 PM, Nick Matzke wrote: > Hi all, > > This

Re: [R] R <--> JVM

2012-06-15 Thread Oliver Ruebenacker
Hello, By RNI, do you mean the Microsoft Raw Native Interface or the Rengine R Native Interface? Take care Oliver On Fri, Jun 15, 2012 at 12:03 PM, wrote: > Hello, > > first of all thanks to both of you for your fast response. > Going back to Michael's wo

Re: [R] R: Securities earning covariance

2012-06-15 Thread Oliver Ruebenacker
n open multiple independent R sessions on the same system and then address them separately via JNI (I don't know, but I would assume you can do that without multiplying the installation). Take care Oliver -- Oliver Ruebenacker Bioinformatics Consultant (http://www.knowomi

Re: [R] spelling correction using R

2012-06-15 Thread Oliver Ruebenacker
nut bee fond because they happen to leed two sentence consisting of reel word") It is therefore doubtful that spell-correction can be done non-interactively. Take care Oliver -- Oliver Ruebenacker Bioinformatics Consultant (http://www.knowomics.com/wiki/Oliver_Ruebenacker) K

Re: [R] How to subset a matrix?

2012-06-12 Thread Oliver Ruebenacker
t the dim attribute (but I didn't test that). Take care Oliver -- Oliver Ruebenacker Bioinformatics Consultant (http://www.knowomics.com/wiki/Oliver_Ruebenacker) Knowomics, The Bioinformatics Network (http://www.knowomics.com) SBPAX: Turning Bio

Re: [R] R-SCRIPT Label Calling Method

2012-06-12 Thread Oliver Ruebenacker
Hello, On Tue, Jun 12, 2012 at 11:13 AM, R. Michael Weylandt wrote: > Long answer: use a closure if for some bizarre reason you just can't > use a loop. Do you mean use recursion? Take care Oliver -- Oliver Ruebenacker Bioinformatics Consultant (http://www.knowomi

Re: [R] R-SCRIPT Label Calling Method

2012-06-12 Thread Oliver Ruebenacker
ve an urgent requirement. Can you explain why you want a goto? You may be aware that opinions in the computer science community on goto range from "never use" to "use very sparingly". Take care Oliver -- Oliver Ruebenacker Bioinformatics Consultant (http://www.kn

Re: [R] handle large matrix in R

2012-06-12 Thread Oliver Ruebenacker
the data, but use some sort of sparse matrix implementation. Take care Oliver -- Oliver Ruebenacker Bioinformatics Consultant (http://www.knowomics.com/wiki/Oliver_Ruebenacker) Knowomics, The Bioinformatics Network (http://www.knowomics.com) SBPAX: Turning Bio Know

[R] RJava: Error obtaining System.out

2012-06-07 Thread Oliver Ruebenacker
uot;, "Ljava/io/PrintStream", "out") Error in .jfield("java/lang/System", "Ljava/io/PrintStream", "out") : RgetField: field out not found Thanks! Take care Oliver -- Oliver Ruebenacker Bioinformatics Consultant (http://www.k

Re: [R] scaling of parameter errors in a weighted regression using nls

2012-06-01 Thread Oliver Ruebenacker
Oliver On Fri, Jun 1, 2012 at 11:29 AM, Hengstberger Florian wrote: > I noticed that nls treats weights as relative and that the absolute size of > the weights w in > the following script has therefore no influence on the errors of the > parameters reported in the summary >

Re: [R] Using RDF/OWL with R?

2012-06-01 Thread Oliver Ruebenacker
Hello James, Thanks for the pointer, but Rredland is not maintained any more. Take care Oliver On Thu, May 31, 2012 at 8:21 PM, J Toll wrote: > On Thu, May 31, 2012 at 6:40 AM, Oliver Ruebenacker wrote: >>     Hello, >> >>  Is there a convenient way t

Re: [R] Repost: Expressions returned by GlobalEnv functions and package functions

2012-05-31 Thread Oliver Ruebenacker
scope or have them read only arguments and local variables (i.e. pass all needed input variables as arguments). Take care Oliver On Thu, May 31, 2012 at 5:25 PM, Saptarshi Guha wrote: > Hello, > (Sorry for the repost, i am resending in plain text) > > I have a function '

Re: [R] Quadrat counting with spatstat

2012-05-31 Thread Oliver Ruebenacker
your purpose. Exploit symmetries by keeping distance weights equal that should be equal due to symmetry. You can run an optimization algorithm by using an evaluation function that is minimal for equal areas. Hope this helps! Take care Oliver On Thu, May 31, 2012 at 11:23 AM, AMFTom

[R] Using RDF/OWL with R?

2012-05-31 Thread Oliver Ruebenacker
a and OpenRDF Sesame Rio that could query RDF/OWL data and turn the results into data frames. Thanks! Take care Oliver -- Oliver Ruebenacker Bioinformatics Consultant (http://www.knowomics.com/wiki/Oliver_Ruebenacker) Knowomics, The Bioinformatics Network (http://www.knowomics.com)

Re: [R] Removing or ignoring package version for generic function in locked environment

2011-11-14 Thread Oliver Mannion (COMPASS)
wiley.ps...@gmail.com] Sent: Wednesday, 2 November 2011 8:34 p.m. To: Oliver Mannion (COMPASS) Cc: r-help@r-project.org Subject: Re: [R] Removing or ignoring package version for generic function in locked environment Interesting. I have a few (untested) thoughts. Before I get into those th

Re: [R] A question on Programming

2011-11-11 Thread Oliver
d that group of codes as-it-is in many places? [...] You did not asked for it, you may know it, or may not know it: if you use apply functions and other vector oriented functions, this can bring you a huge speedup, compared to a for-loop. Ciao, Oliver

[R] Removing or ignoring package version for generic function in locked environment

2011-11-01 Thread Oliver Mannion (COMPASS)
gregate.numeric, pos = which(search() == "package:epicalc")) : cannot remove bindings from a locked environment Is there some way I can remove aggregate.numeric, or otherwise prevent it from being used? Thanks in advance, Oliver __ R-h

[R] Problem with twitteR package

2011-10-09 Thread Steven Oliver
Hey Guys, I just started fooling around with the twitteR package in order to get a record of all tweets from a single public account. When I run userTimeline, I get the default 20 most recent tweets just fine. However, when I specify an arbitrary number of tweets (as described in the documentat

Re: [R] read.table: deciding automatically between two colClasses values

2011-08-28 Thread Oliver Kullmann
in the first line in the file with name f: lengthfirstline = function(f) { length(unlist(strsplit(trim(readLines(f,1)), " "))) } Oliver On Sun, Aug 28, 2011 at 07:23:07AM -0700, Joshua Wiley wrote: > Hi Oliver, > > Look at ?readLines > > I imagine something like:

[R] read.table: deciding automatically between two colClasses values

2011-08-28 Thread Oliver Kullmann
fails, and try the second one. However tryCatch doesn't seem to make it simple to write something like E = try(expr1 otherwise expr2) (if expr1 fails, evaluate expr2 instead) ? Oliver __ R-help@r-project.org mailing list https://stat.ethz.ch/ma

Re: [R] how to improve summary.lm

2011-08-21 Thread Oliver Kullmann
ficients, signif.legend=FALSE) digits = max(3,getOption("digits")-3) cat("R-squared:", formatC(S$r.squared, digits = digits), "\n") } Thanks! Oliver __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/list

[R] how to improve summary.lm

2011-08-21 Thread Oliver Kullmann
n "short_sum_lm", but couldn't find the parts I'm interested in. I hope it's not too complicated to achieve that. (In general it would be great to have more influence on the summary-function -- typically it's too spacious.) Thanks for your attention Oliver

[R] Server question

2011-06-17 Thread Oliver Jones
Hi A client of mine has asked me to investigate the installation of R-software. Could anyone tell me whether the software works only on a client machine or whether it sits on a server with clients attaching to it? Not immediately clear from the docs. Best Oliver -- Oliver

Re: [R] 3D-plotting a 2D-matrix that contains z-values (3rd dimension)

2011-06-09 Thread oliver
On Thu, Jun 09, 2011 at 01:50:17PM +0200, Uwe Ligges wrote: > > > On 09.06.2011 13:37, oliver wrote: > >On Thu, Jun 09, 2011 at 11:22:54AM +0200, Uwe Ligges wrote: > >>Well, > >> > >>persp(x, y, z) does exactly what you asked for: it plots tha matrix >

Re: [R] 3D-plotting a 2D-matrix that contains z-values (3rd dimension)

2011-06-09 Thread oliver
is the other way around. I don't want to calc the z for my x-and y, I want to generate the x- and y- values for my matrix of z-values. Ciao, Oliver __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] 3D-plotting a 2D-matrix that contains z-values (3rd dimension)

2011-06-08 Thread Oliver
mathcing how I think). Isn't that a very common case, where my z_x_y = mydata[x,y] ? Maybe I just don't know the right function that helps me. Any idea about that? Ciao, Oliver __ R-help@r-project.org mailing list https://stat.ethz.

[R] C-side: Applying a function (given as param) to data (given as param)

2011-06-03 Thread Oliver
ng it in a loop. Can this be used for efficiency reasons in general? What do these macros do? Do they convert data or cast datatypes? Ciao, Oliver __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

Re: [R] Coercing in R and in C (R-Extensions)

2011-05-31 Thread Oliver
Oliver first.in-berlin.de> writes: [...] > Can you give a simple C-Code example / snippet, > so that I can see what I would need to do, when trying to > do that on the C-side? h 5.9.5: classes... I assume, that from C-side the effect is then working as expect

Re: [R] Coercing in R and in C (R-Extensions)

2011-05-31 Thread Oliver
Oliver first.in-berlin.de> writes: [...] > Can you give a simple C-Code example / snippet, > so that I can see what I would need to do, when trying > to do that on the C-side? ...hmhh maybe with attributes, as mentioned in section 5.9.4 ___

Re: [R] Coercing in R and in C (R-Extensions)

2011-05-31 Thread Oliver
Duncan Murdoch gmail.com> writes: > > On 11-05-31 1:55 PM, Oliver wrote: [...] > > > > Maybe someone can explain me the problem in other words? > > > > What does coercion in R do, and what does coercion in C (not) do? > > > > (And what would

Re: [R] newbie: fourier series for time series data

2011-05-31 Thread Oliver
about decomposition. Ciao, Oliver __ 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] Coercing in R and in C (R-Extensions)

2011-05-31 Thread Oliver
calling R code." ( Writing R Extensions, 2011-04-13, page 100 ) What is meant by this? Maybe someone can explain me the problem in other words? What does coercion in R do, and what does coercion in C (not) do? (And what would be needed in C to get the same effect as in R?)

Re: [R] Value of 'pi'

2011-05-30 Thread Oliver Bandel
football-ball, or would it look like a triangle?) ;) The world maybe would have been imploded. And maybe because this would happen, the law was never activated... ...just because of Anthropic principle, which saved our world from that. ;) Ciao, Oliver __ R

[R] (no subject)

2011-05-02 Thread Oliver Sonnentag
[[alternative HTML version deleted]] __ 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,

Re: [R] Sorting dataframe by number of occurrences of factor

2011-04-30 Thread Oliver
to the first two lines of your solutions df<-data.frame(id=c(1:20),name=c('a','b','b','c','a','d','b','e', 'd','d','c','a','b','a','a','b','f','b','c','g')) freq <- ave(rep(1, times=nrow(df)), df$name, FUN=sum) I would add: df[ sort.list(freq), ] __

[R] Sys.getenv at startup is not working properly

2011-04-30 Thread Oliver
ge R version.string R version 2.10.1 (2009-12-14) == Is this problem fixed in newer releases? Or if not: how can I inform the R developers, so that they can pick it up? (Some R developers might be on this list?!) Ci

[R] str() without any details - only structure? (removing elements from list)

2011-04-27 Thread Oliver
Hello, can I get somehow the pure structure without any details via str or other functions? I have a very large list with lists as elements... And now I want to know which structure I have, becaiuse I need to kick out some entries. Any idea? Oliver

[R] Data with different time lines for one analysis

2011-04-13 Thread Oliver
with how to go on. Ciao, Oliver __ 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, reproducible

[R] system(wait = FALSE) seems to fail

2011-01-13 Thread Oliver Soong
, and things seem to work fine with R 2.12.1 on a 32-bit XP machine. Can anybody else confirm what I'm seeing here? Oliver __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-

Re: [R] can't install R with *local* gcc

2010-12-27 Thread Oliver Kullmann
own) one first wants to know where obvious errors are. Thanks! Once I know more (we are in the middle of it) I move to the devel-list. Oliver P.S. Currently it seems that the Gcc-build is not correct (still the same with 4.4.5), not propagating linker-information to the building of libraries

[R] can't install R with *local* gcc

2010-12-26 Thread Oliver Kullmann
svn rev51801 language R version.string R version 2.11.0 (2010-04-22) Thanks for you help in any case! Oliver __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] standardized/studentized residuals with loess

2010-11-11 Thread Oliver Frings
tions at different points? Many thanks! /Oliver On Wed, Nov 10, 2010 at 8:21 PM, Joshua Wiley wrote: > Hi Oliver, > > As a warning, I may be missing something too. I did not see something > explicit in base R or MASS. In a quick scan of the fourth edition of > the MASS book, I d

[R] standardized/studentized residuals with loess

2010-11-10 Thread Oliver Frings
I was wondering if there is an equally simple way to get the standardized/studentized residuals for a loess model? BTW my apologies if there is something here that I'm missing. All the best, * * *Oliver * [[alternative HTML version deleted]] __

Re: [R] R 2.11, shell, spaces

2010-09-07 Thread Oliver Soong
l/proddocs/en-us/cmd.mspx?mfr=true In my case I can use system. The only workaround I could think of for executing a command that requires a shell (e.g., using redirection) is to create a temporary batch file and cmd that, which is a bit ugly. Again, thanks for all the input. Oliver On Tue, S

[R] R 2.11, shell, spaces

2010-09-07 Thread Oliver Soong
\\path\\to\\test.R has no spaces, and I remove the surrounding quotes, things work as expected. I think this might be related to some earlier e-mail traffic that I didn't see a satisfactory resolution to. Cheers, Oliver __ R-help@r-project.org ma

Re: [R] Loading an image/picture (png/jpeg/...) to screen...

2010-06-07 Thread Oliver
experimenting with connecting ImageJ and R, but > even without connection a simple text file can get the data where it > has to be. [...] OK, maybe that helps; I just tried around... ...first want to try a pure R-way. But this might be a fallback. Thanks. Oliver ___

Re: [R] Loading an image/picture (png/jpeg/...) to screen...

2010-06-06 Thread Oliver
baptiste auguie googlemail.com> writes: > > Hi, > > Try this, > > library(png) > example(readPNG) [...] If "rasterImage" would be available, I think this would be the right hint. But it isn't. So I can load the pic,

[R] Loading an image/picture (png/jpeg/...) to screen...

2010-06-06 Thread oliver
Hello, how can I load an external picture/image file to screen? I want to use locator() then to get coordinates of that picture... ...in other words I want to use R to do some measurements on a picture. Therefore I need to load the image into R display, and that displaying needs to work togethe

Re: [R] logarithmic integrals in R?

2010-05-29 Thread Oliver Kullmann
Thanks for the information. On Sat, May 29, 2010 at 01:15:29PM +, Hans W. Borchers wrote: > Oliver Kullmann swansea.ac.uk> writes: > > > > > Hello, > > > > I couldn't find information on whether the logarithmic integrals > > > > Li_m(x)

[R] logarithmic integrals in R?

2010-05-20 Thread Oliver Kullmann
Hello, I couldn't find information on whether the logarithmic integrals Li_m(x) = integral_0^x log(t)^(-m) dt for x >= 0 are available in R? Best wishes Oliver __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-hel

[R] Text positioning in pixel coordinates?

2010-05-17 Thread Oliver
might use range() for locating the edges and then go down some percent of the range or so... ...but maybe there is a better alternative to this approach? Oliver __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] twos complement / Hex data

2010-05-14 Thread Oliver
Hello, is there a package for reading in Hex-Data and calculating vlaues into twos complement and back to normal integer values? Oliver __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] popen() ?

2010-05-14 Thread Oliver
Oliver first.in-berlin.de> writes: > > Hello, > > is there a possibility to call a program (like with system()) > and read back the data it prints to stdout? > > On Unix/Linux there is the popen() systemcall, which does this. > > Is it available in R? > Ma

[R] popen() ?

2010-05-14 Thread Oliver
Hello, is there a possibility to call a program (like with system()) and read back the data it prints to stdout? On Unix/Linux there is the popen() systemcall, which does this. Is it available in R? Maybe via extra packages? Ciao, Oliver __ R

[R] Tinn-R related problem

2010-04-29 Thread Maspfuhl, Oliver
problem). The mystirious thing about it is that I didn't change anything before this happend, I didn't upgrade R, Tinn-R or any other program, it happend right in the middle of working with R. Many thanks in advance, and kind regards, Oliver __

[R] Quartering a plot() ?

2010-04-06 Thread Wells Oliver
hop the box drawn by lines into an even 3x3 grid- is this possible easily? Thanks! -- Wells Oliver we...@submute.net [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

Re: [R] question regarding conversion from factor to vector

2010-03-27 Thread Oliver Kullmann
thank you! (I was on the wrong track, and thinking these would be "levels".) Oliver > In this case where the is only one dimension, the table object is more > like a named vector. The first "vector" in your terminology (but would > be more accurately called &

[R] question regarding conversion from factor to vector

2010-03-26 Thread Oliver Kullmann
ataframe, to get a name for the two vectors constituting the table, then a get a vector of strings(!), which are then converted to integers. By the way, the type of E$singles is integers. Thanks for your help! Oliver __ R-help@r-project.org ma

[R] Error in mvpart example

2010-02-26 Thread Wearn, Oliver
#x27; argument to ="mrt" seems, superficially, to solve the problem. However, when the dependent variable is a dissimilarity matrix, shouldn't method="dist" be used (as per the examples)? Thanks, in advance, for any help on this error. Oliver ___

Re: [R] Rounding like in finances

2010-02-22 Thread Oliver
Duncan Murdoch stats.uwo.ca> writes: [...] > MASS (function rational()) > rcdd > Rmpfr [...] OK, I will look for those packages. Maybe they will help. Thank you. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA

Re: [R] Rounding like in finances

2010-02-22 Thread Oliver
Hello, which packages are you talking about? And... are thoise packages using integer-based calculations? __ 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/posti

Re: [R] Rounding like in finances

2010-02-22 Thread Oliver
Oh strange... > round(108.275 , 2) [1] 108.28 > round(208.275 , 2) [1] 208.28 > round(308.275 , 2) [1] 308.27 > looks not like what one should expect... R version 2.9.2 (2009-08-24) Ciao, Oliver __ R-help@r-project.org mailin

[R] Rounding like in finances

2010-02-22 Thread Oliver
Hello, I need to have a "kaufmaennisches Runden" function. Is there already something like that? It means: rounding up the 5, instead of rounding it down. So, 245.455 would give 245.46 I found no option for this. Maybe there is a package for it

[R] tree-drawing in R ?

2010-02-15 Thread Oliver Kullmann
ion in any case Oliver P.S. Perhaps there is some graph-drawing package? (Here a "graph" consists of vertices and connecting edges.) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the p

[R] Prediction intervals for beta regression

2010-02-04 Thread Wearn, Oliver
is could be done with: library(gamlss.dist) CI<-SE * qBE(p=0.975,mu=predicted.value,sigma=sqrt(var1)) #...where SE has already been calculated somehow! Thanks in advance for any help/ideas/suggestions! As you can see, I am out of my depth here! Many thanks, Oliver [[alternative HTML versio

Re: [R] Changing an unordered factor into an ordered factor

2010-02-04 Thread Oliver Gondring
: "Reorder factor levels") provides a piece of sample code for the task. Should be easy to adapt it to your problem. Oliver P.S.: Maybe it's not a bad idea to provide a more readable transformation of your code next time. What about replacing the whole 'V96

[R] Reshaping matrix of lists as dataframe

2010-02-01 Thread Oliver Gondring
cbind(1:length(data[.x, "First"][[1]]), # and that was the incremental counter sapply(data[.x, ], # and finally the values which unfortunately get turned into characters function(.y) return(.y ) ) ) ) ))) > colnames(result)[1:2] <- c(&quo

[R] Reshaping matrix of vectors as dataframe

2010-01-31 Thread Oliver Gondring
e might be an elegant and not too complicated way to do this with one or several of the functions provided by the 'reshape' package, but due to my lack of experience with R in general, this package in particular and the complexity of the task I

Re: [R] select one row from data-frame by name, indirectly (as string)

2010-01-28 Thread Oliver
OK, now it works... just using [ and ] or [[ and ]] works. I thought have tried it before... why does it workj now and not before? hmhh sorry for the traffic __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] select one row from data-frame by name, indirectly (as string)

2010-01-28 Thread Oliver
Hello, say I have a dataframe x and it contains rows like "ch_01", "ch_02" and so on. How can I select those channels iundirectly, by name? I tried to select the data with get() but get() seems only to work on simple variables? Or how to do it? I need something like that: name1 <- "ch_01"

[R] Zeilenweiser Plot einer Matrix

2010-01-08 Thread Oliver Gondring
Liebe Liste, bin noch absoluter R-Anfänger und trotz fleißigen Lesens der Dokumentation noch nicht zur Lösung des folgenden Problems vorgedrungen. Die Werte einer 2D-Matrix sollen in einem einzigen 2D-Plot dargestellt werden, in dem jeweils für die Werte einer Zeile ein Graph aus mit Linien verb

[R] Drawing an axis with a subset of the data

2009-12-13 Thread Wells Oliver
CDT" "2009-06-03 CDT" "2009-06-05 CDT" "2009-06-06 CDT" [57] "2009-06-07 CDT" "2009-06-09 CDT" "2009-06-10 CDT" "2009-06-11 CDT" "2009-06-12 CDT" "2009-06-13 CDT" "2009-06-14 CDT" I&#x

[R] Formatting the length one vector to match another?

2009-12-08 Thread Wells Oliver
Any tips? Thank you! -- Wells Oliver we...@submute.net [[alternative HTML version deleted]] __ 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-

Re: [R] regression tests still fail for R version 2.10.0

2009-12-06 Thread Oliver Kullmann
Sage in some sense. See http://www.ok-sat-library.org/ As such I feel responsible to install only software which is correct (and I need to install from sources). Hope this helps a bit --- feel free to ask! Oliver > Among the missing items are OS specifics, why you need > to install from

[R] regression tests still fail for R version 2.10.0

2009-12-05 Thread Oliver Kullmann
ody has to say something here? Shall a bug report be submitted? Or will R 2.10.1 have fixed the bug? Oliver -- Hello, I have installed R version 2.9.2, and everything works fine, but when attempting to install version 2.10.0 I get: running code in 'dat

[R] par() background issue

2009-12-03 Thread Wells Oliver
, family='Lucida Grande') plot(salaries$yearID, salaries$salary/100, bg='#FF') But that does nothing. How can I accomplish this? Thanks! -- Wells Oliver we...@submute.net [[alternative HTML version deleted]] __ R-he

  1   2   3   >