Re: [R] What exactly is an dgCMatrix-class. There are so many attributes.

2017-10-21 Thread Martin Maechler
> David Winsemius > on Sat, 21 Oct 2017 09:05:38 -0700 writes: >> On Oct 21, 2017, at 7:50 AM, Martin Maechler wrote: >> >>> C W >>> on Fri, 20 Oct 2017 15:51:16 -0400 writes: >> >>> Thank you for your responses. I guess I don't feel >>> alone

Re: [R] Skip error in downloading file in loop

2017-10-21 Thread Jeff Newmiller
One of the recommendations in the Posting Guide is to read the archives before posting... even following along with recent posts would have pointed out the existence of the tryCatch function. ?tryCatch -- Sent from my phone. Please excuse my brevity. On October 21, 2017 8:01:02 AM PDT, Miluji

Re: [R] What exactly is an dgCMatrix-class. There are so many attributes.

2017-10-21 Thread Martin Maechler
> C W > on Fri, 20 Oct 2017 16:01:06 -0400 writes: > Subsetting using [] vs. head(), gives different results. > R code: >> head(train$data, 5) > [1] 0 0 1 0 0 The above is surprising ... and points to a bug somewhere. It is different (and correct) after you do re

Re: [R] What exactly is an dgCMatrix-class. There are so many attributes.

2017-10-21 Thread David Winsemius
> On Oct 21, 2017, at 7:50 AM, Martin Maechler > wrote: > >> C W >>on Fri, 20 Oct 2017 15:51:16 -0400 writes: > >> Thank you for your responses. I guess I don't feel >> alone. I don't find the documentation go into any detail. > >> I also find it surprising that, > >>> object.s

Re: [R] nls() and loop

2017-10-21 Thread Martin Maechler
Dear Vangi, > Evangelina Viotto > on Fri, 20 Oct 2017 11:37:12 -0300 writes: > Hello I´m need fitt growth curve with data length-age. I want to evaluate > which is the function that best predicts my data, to do so I compare the > Akaikes of different models. I'm now need

Re: [R] create a loop

2017-10-21 Thread Ismail SEZEN
you sould look at "boot" package. also search "bootstrap R" keywords in google. 20 Eki 2017 23:12 tarihinde "Marna Wagley" yazdı: > Hi R Users, > I do have very big data sets and wanted to run some of the analyses many > times with randomization (1000 times). > I have done the analysis using an

[R] Skip error in downloading file in loop

2017-10-21 Thread Miluji Sb
I am trying to download data from NASA web-service. I am using the following code; for( i in 1:8) { target1 <- paste0(" https://hydro1.gesdisc.eosdis.nasa.gov/daac-bin/access/timeseries.cgi?variable=NLDAS:NLDAS_FORA0125_H.002:TMP2m&location=GEOM:POINT( ", cities[i, "lon_nlda

Re: [R] What exactly is an dgCMatrix-class. There are so many attributes.

2017-10-21 Thread Martin Maechler
> C W > on Fri, 20 Oct 2017 15:51:16 -0400 writes: > Thank you for your responses. I guess I don't feel > alone. I don't find the documentation go into any detail. > I also find it surprising that, >> object.size(train$data) > 1730904 bytes >> object.size(a

[R] Problem when trying to run Java in R:

2017-10-21 Thread Morkus via R-help
Hello All, Although running Java from R used to work, for some mysterious reason, it's stopped. Today when I tried to load a basic JDBC driver (or the sample .jinit()) code, I got: - JavaVM: requested Java version ((null)) not available. Using Java at "" instead. - JavaVM: Failed to load JVM