search for: kondrin

Displaying 20 results from an estimated 21 matches for "kondrin".

2003 Feb 21
5
Problem Writeing a pipe using R (stdin is consumed)
Hi everybody, I a, trying to use R as a pipe like this: cat inputData | R --silent RCommandFile >outputData The RCommandFile would contain something like readLines(stdin()). I have tryed various things and none did work cleanly. One possible solution is to use the pipe() function inside R and to pass in the "cat inputData" however this is not very convenient since I would like to
2003 Jul 17
6
Formal definitions of R-language.
Hello! Some CS-guys (the type who knows what Church formalism is) keep asking me questions about formal definitions of R-language that I can not answer (or even understand). Is there some freely available papers which I can throw at them where it would be explained is R functional/OOP/procedural language, does it use weak/strong, dynamic/static typization, does it use lazy or ...(do not know
2003 Jul 21
1
grid and gtkDevice package clipping bug.
Hello! When I draw points on grid's viewport with clip set to TRUE clipping does not have effect on some symbols. It happens only when drawing over gtkDevice (GTK ver. 1.2) (with postscript device clipping works OK - take a look at this screenshot http://www.hppi.troitsk.ru/Kondrin/clipbug.png) and only with symbols that are drawn with commands other than gdk_draw_polygon() (i.e. circles - gdk_draw_arc() - and squares - gdk_draw_rect()).
2003 May 12
3
grid - deleting and erasing grobs?
Hello! Don't quite understand how can I delete grobs and simultaneously erase graphic output they produce. I first change grob's "vp" field to null (grid.edit(gr,vp=NULL)) to erase it and then call rm(gr) (as grobs are external pointers I'm not shure what this method actually frees allocated memory). May be there is simpler method? Does garbage collector have any effect
2003 May 12
3
grid - deleting and erasing grobs?
Hello! Don't quite understand how can I delete grobs and simultaneously erase graphic output they produce. I first change grob's "vp" field to null (grid.edit(gr,vp=NULL)) to erase it and then call rm(gr) (as grobs are external pointers I'm not shure what this method actually frees allocated memory). May be there is simpler method? Does garbage collector have any effect
2003 Feb 19
4
fitting a curve according to a custom loss function
Dear R-Users, I need to find a smooth function f() and coefficients a_i that give the best fit to y ~ a_0 + a_1*f(x_1) + a_2*f(x_2) Note that it is the same non-linear transformation f() that is applied to both x_1 and x_2. So my first question is how can I do it in R? A more general question is this: suppose I have a utility function U(a_i, f()), where f() is say a spline. Is there a general
2003 Feb 21
1
grid.grill?
Why this command does not return grob? What is special about grill and what makes it different from axis, lines, rectangles... Thanks in advance
2003 Mar 02
1
Dynamically changing point's symbol in grid.points...
...does not work. Do k<-grid.points(c(0.1,0.2,0.3),c(0.1,0.2,0.3),pch=3,vp=viewport()) (symbol - +). Try to change it grid.edit(k, pch=1) (symbol - open circle). Get filled squares. pch from 0 to 25 produces the same output. pch="x" - works OK. Device - x11(), gtk() (from GtkDevice). R -1.6.1
2003 Sep 27
1
CRAN mirror - howto?
Hello! There is a group of administartors of Russian internet site www.linuxportal.ru (this is mainly a forum for linux-users) who are intended to host on this site mirrors of linux distributions and open source software with http and ftp access. I have proposed to them to open there a CRAN mirror, making a point what this site would be a first R mirror in .ru domain, and they seems to accept
2003 Sep 29
2
Solving nonlinear system equation
Hi all, I would like to ask that is there any function in R which can solve nonlinear system equations with several variables. Thats mean some functions similar to the 'fsolve' or 'fzero' in matlab. Thanks you Jerry _________________________________________________________________ Get 10Mb extra storage for MSN Hotmail. Subscribe Now!
2003 Oct 21
1
Patches for DBI/RMySQL "valueClass" problem?
According David Jame's response to my earlier question, there is a problem with setGeneric.setMethod in R 1.8.0 that affects DBI and RMySQL. Is there a fix for this? David Jame's refers to an 'R-patched version' but I haven't seen anything like this on CRAN. Would going back to an older version of R solve the problem? Thanks, Barnet Wagman "David James wrote:
2004 Mar 26
2
Omegahat down?
...------------------------------------------------------- Navicom Inc. One Steelcase Road W Markham, On L3T 0T3 905-415-3207 ------------------------------------------------------- People often find it easier to be a result of the past than a cause of the future. -----Original Message----- From: M.Kondrin [mailto:mkondrin@hppi.troitsk.ru] Sent: Friday, March 26, 2004 8:01 PM To: R-Help Subject: [R] Omegahat down? Hello! For 2 days can not connect to www.omegahat.org :( Something happens? traceroute to www.omegahat.org (128.105.174.32), 30 hops max, 38 byte packets .......... 13 144.92.128.196...
2006 Jun 24
1
Rebuild private R package.
...pose I have my own R-package with long src/ subdirectory. If I edit only one file from this directory what I have to do to make R recompile only this file and resulting *.so library but not the all other source files? It looks to me like the default behaviour has changed in R-2.3.1. Thank you. M.Kondrin
2008 Nov 12
2
3D trajectory plot?
Hello, I'm attempting to create a smooth, 3D plot of a trajectory (rather than the cloud or wireframe functions). I would rather the individual data points not be visible. I've had no luck finding this on the graphics or help pages. Thank you in advance. Chris Some example data, just in case: 25 32 40 12 25 32 2 12 25 2 2 12 20 2 2 1 20 2 6 1 20 5 6 1 5 5 6
2005 Mar 20
2
Using locator() to digitise
Hi Folks, I'm contemplating using locator() to digitise external graphics. To set context, I would be using X11 display on Linux. To pre-empt the obvious comment: I've found on the R site the suggestion to use the 'pixmap' package. I've tried this, and it works; but it involves building a big R object (the internal pixmap representation), and this chokes my somewhat puny
2003 Jul 21
3
R commands from a text file ?
Hello I was wondering if it was possible to enter R commands from an external text file. If it is possible, it will be easy for repetetive tasks. Does anyone have an idea ? thanks in advance Ahmet Temiz TURKEY ______________________________________ ______________________________________ The views and opinions expressed in this e-mail message are ...{{dropped}}
2004 Aug 10
1
/minus or /hyphen in PS output
Dear R devolepers! Wouldn't you change src/main/devPS.c file (patch will follow). Problem is with minus sign in ps output. The original code forces the name /minus to the character number 45 (-). But /minus symbol is not defined in standard Adobe encoding and (even worse) is not defined in most type1 fonts (where the name /hyphen is used instead), in this case you will have an empty
2004 Aug 10
1
/minus or /hyphen in PS output
Dear R devolepers! Wouldn't you change src/main/devPS.c file (patch will follow). Problem is with minus sign in ps output. The original code forces the name /minus to the character number 45 (-). But /minus symbol is not defined in standard Adobe encoding and (even worse) is not defined in most type1 fonts (where the name /hyphen is used instead), in this case you will have an empty
2013 Aug 29
1
Problem with "Peaks" package - followup…
Hi, I apologize for not following the posting rules? Here is the text from my previous post: "I started evaluating the 'Peaks' package a couple of months ago and found it to be quite useful. Getting back to it last week I had to set up my R environment due to hardware changes again. The Peaks package loads with no problem. After successfully reinstalling all packages (RedHat
2003 Jul 15
7
Excel can do what R can't?????
Hi there I thought this would be of particular interest to people using 'optim' functions and perhaps people involved with R development. I've been beaten down by R trying to get it to perform an optimization on a mass-balance model. I've written the same program in excel, and using the 'solver' function, it comes up with an answer for my variables (p, ACT, which