[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
eb/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.ch/mai

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 <pda...@gmail.com> wrote: > >> On 7 May 2017, at 08:36 , Oliver Keyes <ironho..

[R] Mac-specific encoding bug

2017-05-07 Thread Oliver Keyes
ut 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.ethz.ch/mailman/listinfo/r

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

2016-01-25 Thread Oliver Keyes
ng 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, see > https://stat.ethz.ch/mailman/listinfo

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

2016-01-25 Thread Oliver Keyes
anyone > on the list who is always rude and never helpful. Oliver claimed almost > everyone is like that. > > I actually agree with a weaker version of John's proposal (which I cut out > of my reply to Oliver). I can imagine a public reprimand from one of the > moderators would be approp

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

2016-01-25 Thread Oliver Keyes
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 >> >> a Monty Python skit, people could be di

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 Keyes Count L

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

2016-01-24 Thread Oliver Keyes
> Nomination 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 givi

Re: [R] [FORGED] Mixed Beta Disrubutions

2015-12-28 Thread Oliver Keyes
> >> [[alternative HTML version 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

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 <marc_schwa...@me.com> Sent: 22 September 2015 22:27 To: peter dalgaard Cc: Bert

[R] 'R' Software Output Plagiarism

2015-09-22 Thread BARRETT, Oliver
ing as plagiarism. I would like to thank you in advance, Kind regards, Oliver Barrett (+44) 7341 834 217 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mail

[R] URLdecode problems

2014-09-01 Thread Oliver Keyes
values treated as 0 in coercion to raw I'm a relative newb to encodings, so maybe the fault is simply in my understanding of how this should work, but - why are both strings being read as including nuls, despite having different values? And how would I go about removing said nuls? -- Oliver Keyes

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

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

[R] file.link fails on NTFS

2012-12-07 Thread Oliver Soong
' to 'link.txt' is suspicious. Does this happen to anybody else? I didn't find anything in my searches. 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

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

2012-10-08 Thread Oliver Kullmann
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 building errors. And I don't know how to get more information about these test-errors. Hope somebody can help. Best regards Oliver

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 PREEMPT Thu Jul 26 09:36:26 UTC 2012 (641c197

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 k...@hotmail.com wrote: Dear R Users: I'm a STATA user converting to R

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 rath...@biostat.wisc.edu wrote: Hi -- I am wondering why

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

2012-06-26 Thread Oliver Ruebenacker
Oliver On Mon, Jun 25, 2012 at 8:07 PM, Xi amzhan...@gmail.com 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 would

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

2012-06-26 Thread Oliver Ruebenacker
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 bogaso.christo...@gmail.com wrote: On 26-06-2012 16:33, Oliver Ruebenacker

Re: [R] equality of values

2012-06-24 Thread Oliver Ruebenacker
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 sarah.gos...@gmail.com wrote: Please read R FAQ

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 rip...@stats.ox.ac.uk wrote: On 21/06/2012 17:17, Brett Robinson wrote: Hi, I have tried

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 mat...@berkeley.edu wrote: Hi all

Re: [R] spelling correction using R

2012-06-15 Thread Oliver Ruebenacker
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) Knowomics, The Bioinformatics Network (http://www.knowomics.com) SBPAX: Turning Bio

Re: [R] R: Securities earning covariance

2012-06-15 Thread Oliver Ruebenacker
to whether you can 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

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, angelo.lina...@bancaditalia.it wrote: Hello, first of all thanks to both of you for your fast response. Going back

Re: [R] handle large matrix in R

2012-06-12 Thread Oliver Ruebenacker
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 Knowledge into Math Models (http://www.sbpax.org

Re: [R] R-SCRIPT Label Calling Method

2012-06-12 Thread Oliver Ruebenacker
to use very sparingly. 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 Knowledge into Math Models (http://www.sbpax.org

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 michael.weyla...@gmail.com 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

[R] RJava: Error obtaining System.out

2012-06-07 Thread Oliver Ruebenacker
, out) : RgetField: field out not found Thanks! 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 Knowledge into Math Models (http

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

2012-06-01 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 saptarshi.g...@gmail.com wrote: Hello, (Sorry for the repost, i am resending in plain text) I have a function

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 jct...@gmail.com wrote: On Thu, May 31, 2012 at 6:40 AM, Oliver Ruebenacker cur...@gmail.com wrote:     Hello,  Is there a convenient way

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 florian.hengstber...@ait.ac.at 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

[R] Using RDF/OWL with R?

2012-05-31 Thread Oliver Ruebenacker
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) SBPAX

Re: [R] Quadrat counting with spatstat

2012-05-31 Thread Oliver Ruebenacker
for 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

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

2011-11-14 Thread Oliver Mannion (COMPASS)
: 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 though, this seem to me like a case

Re: [R] A question on Programming

2011-11-11 Thread Oliver
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)
, 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-help@r-project.org mailing list

[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

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

2011-08-28 Thread Oliver Kullmann
expr2) (if expr1 fails, evaluate expr2 instead) ? 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

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

2011-08-28 Thread Oliver Kullmann
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: tmp - readLines(filename, n = 1L) (do stuff

[R] how to improve summary.lm

2011-08-21 Thread Oliver Kullmann
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-help@r-project.org

Re: [R] how to improve summary.lm

2011-08-21 Thread Oliver Kullmann
)-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/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

[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
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 read the posting guide http://www.R

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 z along the values given by the vectors x and y. But I

[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.ch/mailman

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

2011-06-03 Thread Oliver
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 posting guide http

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

2011-05-31 Thread Oliver
. ( 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?) Thanks, Oliver

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

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

2011-05-31 Thread Oliver
Duncan Murdoch murdoch.duncan at 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 be needed in C to get the same effect as in R

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

2011-05-31 Thread Oliver
Oliver oliver at 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 __ R

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

2011-05-31 Thread Oliver
Oliver oliver at 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 expected on R-side

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,

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

2011-04-30 Thread Oliver
) == 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?!) Ciao, Oliver __ R-help@r-project.org

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] 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
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-project.org/posting-guide.html

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
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/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] standardized/studentized residuals with loess

2010-11-11 Thread Oliver Frings
at different points? Many thanks! /Oliver On Wed, Nov 10, 2010 at 8:21 PM, Joshua Wiley jwiley.ps...@gmail.comwrote: 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 did

[R] standardized/studentized residuals with loess

2010-11-10 Thread Oliver Frings
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]] __ R

[R] R 2.11, shell, spaces

2010-09-07 Thread Oliver Soong
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 mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] R 2.11, shell, spaces

2010-09-07 Thread Oliver Soong
/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, Sep 7, 2010

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

2010-06-07 Thread Oliver
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 __ R-help

[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

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

2010-06-06 Thread Oliver
baptiste auguie baptiste.auguie at 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, but not display it. :( Ciao, Oliver

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 O.Kullmann at swansea.ac.uk writes: Hello, I couldn't find information on whether the logarithmic integrals Li_m(x) = integral_0^x log(t)^(-m) dt for x = 0

[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-help PLEASE

[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] 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

Re: [R] popen() ?

2010-05-14 Thread Oliver
Oliver oliver at 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? Maybe via extra packages? Ciao

[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

[R] Tinn-R related problem

2010-04-29 Thread Maspfuhl, Oliver
the 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 Oliver

[R] Quartering a plot() ?

2010-04-06 Thread Wells Oliver
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 read the posting guide

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 labels) can be accessed with: names

[R] question regarding conversion from factor to vector

2010-03-26 Thread Oliver Kullmann
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 mailing list https

[R] Error in mvpart example

2010-02-26 Thread Wearn, Oliver
, shouldn't method=dist be used (as per the examples)? Thanks, in advance, for any help on this error. 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

[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? Oliver

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 mailing list https

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

Re: [R] Rounding like in finances

2010-02-22 Thread Oliver
Duncan Murdoch murdoch at 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

[R] tree-drawing in R ?

2010-02-15 Thread Oliver Kullmann
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 posting guide http://www.R-project.org

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

2010-02-04 Thread Oliver Gondring
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 'V961327' thing by 'x' for example

[R] Prediction intervals for beta regression

2010-02-04 Thread Wearn, Oliver
=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 version deleted]] __ R-help@r

[R] Reshaping matrix of lists as dataframe

2010-02-01 Thread Oliver Gondring
:2] - c(Case,Sequence) result Cheers, 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] Reshaping matrix of vectors as dataframe

2010-01-31 Thread Oliver Gondring
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 wasn't able to figure out how to do it so far. Every hint or helpful comment is much appreciated! Oliver __ R-help@r

[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 name2

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

[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

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

2009-12-13 Thread Wells Oliver
of course is far too cluttered. Any idea how I can easily reduce this to a subset of 10? -- 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

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

2009-12-08 Thread Wells Oliver
? 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-guide.html

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

2009-12-06 Thread Oliver Kullmann
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 sources, which version of the source bundle, (perhaps) which mirror, etc, etc. (I surely would not report

[R] regression tests still fail for R version 2.10.0

2009-12-05 Thread Oliver Kullmann
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 'datasets.R' ... OK

[R] Formatting of numbers on y axis

2009-12-03 Thread Wells Oliver
with the raw numbers, which are in the range of .5 - 7 million. However, it displays them as 100, and so on- I'd like it to show just whole numbers 1, 2, 3, through 7, so I can label the Y axis in millions. Any tips? Thanks! -- Wells Oliver we...@submute.net [[alternative HTML

[R] par() background issue

2009-12-03 Thread Wells Oliver
(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-help@r-project.org mailing list https://stat.ethz.ch

  1   2   3   >