Re: [R] Inappropriate color name

2020-11-20 Thread Charles Novaes de Santana
e institute, with a board of > literary, sociology, psychology professors? > > Afaik is github owned by Microsoft, and Microsoft is known to be an > offender of peoples rights. Who the @#$@#$ cares what they do? > > > -- Um axé! :) -- Charles Novaes de Santana, PhD https://github.co

Re: [R] [EXT] Re: Inappropriate color name

2020-11-20 Thread Charles Novaes de Santana
> PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Um axé! :) -- Charles Novaes de Santana, PhD https://github.com/cndesantana [[alternative HTML version deleted]] _

Re: [R] Plotting EEG signals as a "head" using R

2015-10-19 Thread Charles Novaes de Santana
les On 19 October 2015 at 15:10, Dénes Tóth wrote: > Hi, > > the eegkit package ( > https://cran.r-project.org/web/packages/eegkit/index.html) might help you > if you happen to work with a standard electrode cap. > > Best, > Denes > > > > On 10/19/2015

[R] Plotting EEG signals as a "head" using R

2015-10-19 Thread Charles Novaes de Santana
picture: http://d2avczb82rh8fa.cloudfront.net/content/jn/113/3/740/F3.large.jpg Thanks for any help, sorry for not having a reproducible example. Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles [[alternative HTML version deleted

Re: [R] Polysomnographic data analysis with R?

2015-06-17 Thread Charles Novaes de Santana
complete file specification. If there is no existing R package, it > might be possible to write an import function from the specification, > something like the functions in the "foreign" package. > > Jim > > > On Wed, Jun 17, 2015 at 4:55 AM, Charles Novaes de Santan

[R] Polysomnographic data analysis with R?

2015-06-16 Thread Charles Novaes de Santana
looked for it in the web and I didn't find. But maybe I used the wrong key-words. Any help will be much appreciated! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles [[alternative HTML version de

Re: [R] Problems combining two plots using par(mfrow=)

2015-04-18 Thread Charles Novaes de Santana
Just open this issue: https://github.com/igraph/rigraph/issues/69 Thanks again for your suggestion! Best, Charles On Sat, Apr 18, 2015 at 5:28 PM, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Dear Boris, > > Thank you for your message! I had experienced e

Re: [R] Problems combining two plots using par(mfrow=)

2015-04-18 Thread Charles Novaes de Santana
ort. > > Two quick workarounds: plot only the x-values contained in your xlim > range, or plot the graph last. > > Cheers, > B. > > > > On Apr 18, 2015, at 8:55 AM, Charles Novaes de Santana < > charles.sant...@gmail.com> wrote: > > > Dear all,

[R] Problems combining two plots using par(mfrow=)

2015-04-18 Thread Charles Novaes de Santana
s, so I am sending this message also to this broader mailing list. Does any of you have any clue about how to solve this? Thanks for your attention and for any help, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles [[alternative HTML

[R] A good way to debug a c++ library embedded to an R code

2015-02-02 Thread Charles Novaes de Santana
++ I would use GDB. I would much appreciate any help or suggestion! Best regards, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] Profiling a C/C++ library from R

2014-12-05 Thread Charles Novaes de Santana
PM, Charles Novaes de Santana wrote: > > Dear all, > > > > I am running a c++ library (a .so file) from a R code. I am using the > > function dyn.load("lib.so") to load the library. Do you know a way to > > profile my C library from R? Or should I compile my C

[R] Profiling a C/C++ library from R

2014-12-02 Thread Charles Novaes de Santana
dvance for any help! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://st

Re: [R] Comparing matrices in R - matrixB %in% matrixA

2014-10-31 Thread Charles Novaes de Santana
---------------- > Sent from my phone. Please excuse my brevity. > > On October 31, 2014 6:20:38 AM PDT, Charles Novaes de Santana < > charles.sant...@gmail.com> wrote: > >My apologies, because I sent the message before finishin

Re: [R] Comparing matrices in R - matrixB %in% matrixA

2014-10-31 Thread Charles Novaes de Santana
John > > > John Fox, Professor > McMaster University > Hamilton, Ontario, Canada > http://socserv.mcmaster.ca/jfox/ > > > > > On Fri, 31 Oct 2014 14:20:38 +0100 > Charles Novaes de Santana wrote: > &g

Re: [R] Comparing matrices in R - matrixB %in% matrixA

2014-10-31 Thread Charles Novaes de Santana
} return(unique(sort(res))); } Best, Charles On Fri, Oct 31, 2014 at 2:12 PM, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > A = matrix(1:10,nrow=5) > B = A[-c(1,2,3),]; > > So > > A > [,1] [,2] > [1,]16 > [2,]27 &g

[R] Comparing matrices in R - matrixB %in% matrixA

2014-10-31 Thread Charles Novaes de Santana
j in 1:colsB){ for (k in 1:rowsA){ for (l in 1:colsA){ if(A[k,l]==B[i,j]){res<-c(res,k);} } } } } return(unique(sort(res))); } Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-c

Re: [R] How to overlay contourplot of a dataset A and a levelplot of a dataset B?

2014-08-03 Thread Charles Novaes de Santana
//latticeextra.r-forge.r-project.org/ Thank you for your attention, Best, Charles On Sat, Aug 2, 2014 at 4:01 PM, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Dear all, > > Does anyone know a way to overlay a contourplot and a levelplot of > different datas

[R] How to overlay contourplot of a dataset A and a levelplot of a dataset B?

2014-08-02 Thread Charles Novaes de Santana
rid2) and levelplot(z ~ x*y,grid1,region=FALSE,contour=TRUE) par(new=T) levelplot(z ~ x*y,grid2,region=TRUE,contour=FALSE) Any clue? Thank you very much for your time and any help! Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles [[alt

Re: [R] Plot time series data irregularly hourly-spaced

2013-10-17 Thread Charles Novaes de Santana
ot;b",xlab="Time",ylab="Var") > plot(td,var,type="b",xlab="Time",ylab="Var") > This is dicey because you may have skipped more than one day. > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > > > >

[R] Plot time series data irregularly hourly-spaced

2013-10-16 Thread Charles Novaes de Santana
xlab="Time",ylab="Var") In this case, I would like to have a plot that starts at 20:00:00 and ends at 01:00:00. Does anybody know how to make R understand that 00:00:00 comes after 20:00:00 in this case? Or at least does anybody know a tip to make a plot with this kind o

Re: [R] Problems to show X-labels when plotting small values

2013-09-11 Thread Charles Novaes de Santana
Dear Jim, Thank you very much for your suggestion! It worked perfectly! Thanks for clarifying how things work. Best regards, Charles On Wed, Sep 11, 2013 at 3:49 AM, Jim Lemon wrote: > On 09/11/2013 09:06 AM, Charles Novaes de Santana wrote: > >> Dear all, >> >> I a

[R] Problems to show X-labels when plotting small values

2013-09-10 Thread Charles Novaes de Santana
quot;)[3] - 0.25, srt = 45, adj = 1,labels = laba, xpd = TRUE,cex=0.75) Do you have any idea about why is it happening? I much appreciate any help! I am using R version 2.10.1 in a machine with Ubuntu 12.04 (unfortunately I don't have the "power" to upgrade this mach

Re: [R] In which column and in which row a number is in a matrix

2013-01-02 Thread Charles Novaes de Santana
the argument arr.ind. > > Happy new year -- Gerrit > > > > On Wed, 2 Jan 2013, Charles Novaes de Santana wrote: > >> Dear all, Happy New Year for all of you! I hope we have an year of >> essential freedom for everyone! >> >> I am trying to manipula

[R] In which column and in which row a number is in a matrix

2013-01-02 Thread Charles Novaes de Santana
and row 3 of the matb. Do you know any way to know the column and the row of a number in a matrix automatically? Thanks, best regards, Charles -- Um axé! :) -- Charles Novaes de Santana http://www.imedea.uib-csic.es/~charles PhD student - Global Change Laboratorio Internacional de Cambio Glob

Re: [R] Large loops in R

2012-12-06 Thread Charles Novaes de Santana
;ve shown us, you're just > taking the sum of elementwise operations. You can read the matrix in > in manageable chunks, take the sum of that chunk and save the single > value. Repeat, then add them all up at the end. > > Sarah > > On Tue, Dec 4, 2012 at 3:14 PM, Char

Re: [R] Large loops in R

2012-12-04 Thread Charles Novaes de Santana
y (assuming nrows2 is actually columns): > > sum((mat1/d1 - mat2/d2)^2) > > R is smart enough to understand elementwise manipulation of a matrix: > you shouldn't need a loop at all. > > Sarah > > On Tue, Dec 4, 2012 at 2:27 PM, Charles Novaes de Santana > wrote: &g

Re: [R] Large loops in R

2012-12-04 Thread Charles Novaes de Santana
On Tue, Dec 4, 2012 at 8:43 PM, Peter Langfelder wrote: > On Tue, Dec 4, 2012 at 11:27 AM, Charles Novaes de Santana > wrote: >> Dear Michael, >> >> Thank you for your answer. >> >> I have 2 matrices. Each position of the matrices is a weight. And I >&

Re: [R] Large loops in R

2012-12-04 Thread Charles Novaes de Santana
r your attention! Best, Charles On Tue, Dec 4, 2012 at 7:54 PM, R. Michael Weylandt wrote: > > > On Dec 4, 2012, at 6:47 PM, Charles Novaes de Santana > wrote: > >> Dear all, >> >> I need to access data from a large matrix (48000 x 48000) and to do it >> I a

[R] Large loops in R

2012-12-04 Thread Charles Novaes de Santana
t would be the best (fast) option. sapply? vapply? Could anyone help me with this issue, please? Thank you very much for your attention and for any help! Best regards, Charles -- Um axé! :) -- Charles Novaes de Santana http://www.imedea.uib-csic.es/~charles PhD student - Global Change Laboratori

Re: [R] "non-numeric argument to binary operator" error while reading ncdf file

2010-11-03 Thread Charles Novaes de Santana
. data1 <- getx.var.ncdf( nc, v1 ) will retrieve the data." IT WORKS! ;) Thanks a lot! Charles On Wed, Oct 27, 2010 at 4:25 PM, Charles Novaes de Santana < charles.sant...@imedea.uib-csic.es> wrote: > Hi, > > Well, I did it, but all my script was on the first message. I d

Re: [R] "non-numeric argument to binary operator" error while reading ncdf file

2010-10-27 Thread Charles Novaes de Santana
read this values, I would be really really grateful. Thank you very much for your attention! Sorry about my poor English. Charles On Wed, Oct 27, 2010 at 3:46 PM, jim holtman wrote: > put: > > options(error=utils::recover) > > in your script so that when an error occurs y

Re: [R] "non-numeric argument to binary operator" error while reading ncdf file

2010-10-27 Thread Charles Novaes de Santana
ovide commented, minimal, self-contained, reproducible code > so other can reproduce the error and provide feed back. > > On Wed, Oct 27, 2010 at 9:27 AM, Charles Novaes de Santana > wrote: > > Hi everyone, > > > > I am a newbie in R and in this discussion list. I am trying t

[R] "non-numeric argument to binary operator" error while reading ncdf file

2010-10-27 Thread Charles Novaes de Santana
df: final dims of returned array:" [1]6840 21275 [1] "varid: 4" [1] "nc$varid2Rindex: 0" "nc$varid2Rindex: 0" "nc$varid2Rindex: 0" [4] "nc$varid2Rindex: 1" [1] "nc$varid2Rindex[varid]: 1" [1] "get.var.ncdf: setting missing va