Re: [R] Tendonitis and R users

2012-09-04 Thread Alexandre Aguiar
ete as it seems to be the case of the original poster. Best wishes. -- Alexandre Aguiar, MD SCT SPS Consultoria -- Sent from my tablet. Please, excuse my brevity. Enviado do tablet. Por favor, perdoe a brevidade. Publié de le tablet. S'il vous plaît pardonnez la brièveté. Veröffentli

Re: [R] What makes R different from other programming languages?

2012-08-22 Thread Alexandre Aguiar
Hi. Em Ter 21 Ago 2012, Mark Dalphin escreveu: > I guess the other aspect which I take the most time to describe to any > programmer from other more traditional languages is the working with > vectors. To use R effectively, you must move data in large chunks; the > standard paradigm of looping ove

Re: [R] What makes R different from other programming languages?

2012-08-21 Thread Alexandre Aguiar
d all the features of a structured language. And although a procedural >language there are some instances in which R resembles a declarative language >(IMHO, this could be extended, enhanced :-D). -- Alexandre Aguiar, MD SCT SPS Consultoria -- Sent from my tablet. Please, excuse my bre

Re: [R] pass by reference

2012-08-15 Thread Alexandre Aguiar
Em Ter 14 Ago 2012, Bert Gunter escreveu: > (Offlist, as my comments are not worth bothering the list about). (offlist as well) :-) > R is what it is. And it can even do things it was not designed for, including indirection to internal data, through extensions. Thanks. -- Alexandre -- Al

Re: [R] pass by reference

2012-08-13 Thread Alexandre Aguiar
as such, we must pick the proper tool for each problem. That means the very first step is properly assessing the problem. My 2 cents. -- Alexandre Aguiar, MD SCT SPS Consultoria -- Sent from my tablet. Please, excuse my brevity. Enviado do tablet. Por favor, perdoe a brevidade. Publié de

Re: [R] yet another update error

2012-04-01 Thread Alexandre Aguiar
Em Dom 01 Abr 2012, Alexandre Aguiar escreveu: > error reading package index > file /usr/local/lib/R/library/tcltk2/tklibs/datefield0.2/pkgIndex.tcl: > too many nested evaluations (infinite loop?) Sorry. Sorry. Had not uninstalled 2.14.2 before installing 2.15.0. > But don't t

[R] yet another update error

2012-04-01 Thread Alexandre Aguiar
Hi, After upgrading R I always update installed packages to the new version. This time an error I have never seen or heard of appeared: thousands, perhaps millions of lines like the ones below. --8><-- error reading package index file /usr/local/lib/R/library/tcltk2/tkl

[R] heavy processing during R_init_XXXXX()

2011-08-07 Thread Alexandre Aguiar
Hi. Need some advice. I have to load a library during R_init_X() with dlopen(). The library file is 23 megabytes long and loads several other libraries. Everything happens during dlopen() execution, out of control, and takes around 1 second on first load in a quadcore. Besides, due to secu

[R] boolean SEXP interpretation upon function return

2011-08-04 Thread Alexandre Aguiar
Hi, When a function returns a SEXP of type LGLSXP (logical) to signal whether it succeeded or failed, how is it intrepreted? Is it like C where SUCCESS = 0 or other value? Thanks. -- Alexandre -- Alexandre Santos Aguiar, MD, SCT signature.asc Description: This is a digitally signed mess

Re: [R] [Rd] example package for devel newcomers

2011-08-02 Thread Alexandre Aguiar
Em Segunda 01 Agosto 2011, você escreveu: > Is there a preferred language you would like to use in your package > development? I randomly downloaded packages until I found some that > helped me along my way, and might be able to help you pick one. If you > are just looking at building a package of

Re: [R] example package for devel newcomers

2011-07-31 Thread Alexandre Aguiar
Em Domingo 31 Julho 2011, você escreveu: > My memory is that this question gets asked every few months and one of > the stock answers is to use the function 'package.skeleton' in the > utils package as a starting point. Got that from docs. And actually I already have most of the code written. My

[R] example package for devel newcomers

2011-07-31 Thread Alexandre Aguiar
Hi, I'd like to know whether there is a package (or more, of course) regarded as a good example that could be used also as an instructional tool for newcomers to R extensions development. Thanks. -- Alexandre -- Alexandre Santos Aguiar, MD, SCT signature.asc Description: This is a digita

Re: [R] Upgrade through the R interface?

2009-03-31 Thread Alexandre Aguiar
Hi. Em Terça 31 Março 2009, stephen sefick escreveu: > I was just curious. I use a bash script [http://asaguiar.med.br/modules.php?name=Downloads&d_op=getit&lid=41] that checks for availability of upgrades and, if it is the case, downloads, compiles and install the newest R version. It could b

[R] error during DPpackage compilation

2009-03-31 Thread Alexandre Aguiar
Dear All, I've had trouble compiling DPpackage as a user in one system. It works fine as root in other machines. I can see any clues in error messages My guess is that it is a permissions matter. Any help is appreciated. OS: Linux Kernel: 2.6.27 SMP Arch: Intel 64 bits gfortran not available T

[R] R version update utility

2009-02-07 Thread Alexandre Aguiar
Hi, This is a resend because the attachment to the previous message was removed. Sorry. I wrote a bash script that can either perform unattended upgrades of R as a cron job or by hand in a terminal. It has run in several environments and fits my purposes but I'd like to submit it to the commun

[R] R version update utility

2009-02-04 Thread Alexandre Aguiar
Hi, O wrote a small bash script that performs unattended upgrades of R. It has fit my purposes but I'd like to submit it to the community so it can be enhanced and widely useful. There is some redundancy in code and this will be addressed soon. Almost every action is logged but the main action

Re: [R] R and computer heat

2008-10-07 Thread Alexandre Aguiar
Em Terça 07 Out 2008, Dr Eberhard Lisse escreveu: > Why don't you hack a little script that looks at system load, > temperature and date/time and writes it somewhere. Then Done! Columns are time, % of cpu usage and cpu temp in Celsius degrees. The R script used was complete in about 2 min 10 sec a

[R] R and computer heat

2008-10-07 Thread Alexandre Aguiar
Hi, I noticed the temperature of my laptop rises sharply during execution of a long R script that generates several hundred plots, all of them saved to files. No screen output. Temps reached above 90 Celsius degrees in the box and above 80 C deg in the processor. The machine turns on cooler at

[R] damaged text output of legend() and plot()

2008-09-23 Thread Alexandre Aguiar
Hi, System: laptop, Turion 64, Kubuntu Linux, Xorg X server 1.4.0.90, KDE 3.5.9, R 2.7.2 compiled with default settings. I recently changed my laptop setup to get better font rendering in the LCD monitor. Some "subpixel" stuff that limits quality of bitmaped fonts. When generating jpegs with R

[R] R as shelll script

2008-05-27 Thread Alexandre Aguiar
Hi, I have devised some applications of R as a scripting shell language and started using it flawlessly a few months ago. Never minded publishing it because it looked so obvious. However, a search in the archives revealed there is no recent easy-to-use method proposed. The latest reference I f