Re: [R] h5r package: cannot find hdf5

2016-12-18 Thread Dominik Schneider
Sorry I'm not sure what that error means. Dominik On Sun, Dec 18, 2016 at 17:21 David Winsemius wrote: > > > > On Dec 17, 2016, at 5:09 PM, Pedro Montenegro wrote: > > > > > > I'm new to R and Linux, and I have an issue I didn't see solved on the > > >

Re: [R] [FORGED] help using ggplot for contour plot

2016-12-18 Thread Jatin Kala
Hi, It seems that the mail system removed my attachments. Here are Dropbox links to the files: R-Script: https://www.dropbox.com/s/hgabbgzfeiddpsk/ggmap_attempt_GF.R?dl=0 Data being read in: https://www.dropbox.com/s/xdvnztc1s89qvgz/ALL_HOURLY_NOX_Processed?dl=0

Re: [R] h5r package: cannot find hdf5

2016-12-18 Thread Pedro Montenegro
Hello! It worked! Thank you! Now I have another issue, when I try to input a cmp.h5 it reports the following error: > cmpH5 <- PacBioCmpH5("/home/user/Documents/MFG-share/pacbio/GI.usequality.cmp.h5") HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 140365256419200: #000:

Re: [R] data manipulation

2016-12-18 Thread David Winsemius
> On Dec 18, 2016, at 3:31 PM, peter dalgaard wrote: > > >> On 18 Dec 2016, at 19:36 , David Winsemius wrote: >> >>> >>> On Dec 17, 2016, at 7:57 PM, Duncan Mackay wrote: >>> >>> Hi >>> >>> Coming late to the discussion -

Re: [R] data manipulation

2016-12-18 Thread David Winsemius
> On Dec 18, 2016, at 5:39 PM, Duncan Mackay wrote: > > > Hi David > > Thanks for the info. > As a test I am attaching it anyway Nothing allowed as an attachment by the server. -- David. > > Regards > > Duncan > > -Original Message- > From: David Winsemius

Re: [R] data manipulation

2016-12-18 Thread Duncan Mackay
Hi David Thanks for the info. As a test I am attaching it anyway Regards Duncan -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Monday, 19 December 2016 05:36 To: Duncan Mackay Cc: R Subject: Re: [R] data manipulation > On Dec 17, 2016, at 7:57 PM,

Re: [R] h5r package: cannot find hdf5

2016-12-18 Thread David Winsemius
> On Dec 17, 2016, at 5:09 PM, Pedro Montenegro wrote: > > I'm new to R and Linux, and I have an issue I didn't see solved on the > internet. > > I'm using Ubuntu Mate and installed R version 2.11 since the current > version does not support R-kinetics. > What happens is that

[R-es] [Grupo de Usuarios de R de Madrid]: Reunión del 15-dic. Material disponible...

2016-12-18 Thread Carlos Ortega
Hola, El pasado jueves 15-diciembre, celebramos una nueva reunión del "Grupo de Usuarios de R de Madrid". En esta ocasión pudimos contar con la participación de Javier Luraschi (RStudio) autor del paquete "sparklyr". El video y su presentación ya están disponibles en el portal del Grupo:

Re: [R] data manipulation

2016-12-18 Thread peter dalgaard
> On 18 Dec 2016, at 19:36 , David Winsemius wrote: > >> >> On Dec 17, 2016, at 7:57 PM, Duncan Mackay wrote: >> >> Hi >> >> Coming late to the discussion - I deleted the original message >> I found that I have a cbe.dat that I downloaded some

Re: [R] re attach into the killed R session

2016-12-18 Thread jim holtman
I would hope that if you have an R script that is running for a month that you have built in periodic checkpoints so that you can recover what is happening. In cases where I want to be able to restart an R script at some point downstream, I will "save.image", or just the objects that are

Re: [R] Infelicity in print output with matrix indexing of `[.data.frame`

2016-12-18 Thread peter dalgaard
> On 18 Dec 2016, at 19:51 , Jeff Newmiller wrote: > > Ah, "why"... perhaps because the speed reduction involved in successive > indexing operations on data frames was considered unacceptable to the > programmer? (Also the code would essentially have to check for

[ESS] (test) Eval function..

2016-12-18 Thread Christian
Recently ESS looks like having chade its behaviour: Working in R, when doing C-c C-f to evaluate a function now gives: Error in library(package, character.only = TRUE) : there is no package called 'test' and the minibuffer says (test) Eval function. Formely there was no error and the function

Re: [R] re attach into the killed R session

2016-12-18 Thread Jeff Newmiller
Not a question about R (it is about process management in what I am guessing is some kind of unix-alike OS). I suspect that unless you wrote log files or intermediate data to disk as you went, it is very likely that you are out of luck. Since you are posting here instead of reviewing those

[R] re attach into the killed R session

2016-12-18 Thread Ragia .
Dear group I had a tmux session, on it an R script is running before the program should ends on the screen written "killed" and the script terminated and returned bake to bash (in the same tmux window) Q: how can I re attach into the killed R session and check it? can I recover what was the

Re: [R] setAs: does it overwrite existing coerce methods?

2016-12-18 Thread Jeff Newmiller
You probably should have asked this on R-sig-geo. Technically, recent versions of R require that packages import dependencies, so your new function should not be called from within any packages. I am not an expert with the sp package but I would be concerned that if you passed your modified

Re: [R] h5r package: cannot find hdf5

2016-12-18 Thread Dominik Schneider
Pedro, I've only worked with netcdf4 but I imagine your issue is similar to one's I've had: I think you can: 1. add your hdf5 lib directory to the LD_LIBRARY_PATH http://grokbase.com/t/r/r-help/10at4wcjfq/r-ncdf4-package-installation-in-r 2. you can specify the direct path to lib and include

Re: [R] Infelicity in print output with matrix indexing of `[.data.frame`

2016-12-18 Thread Jeff Newmiller
Ah, "why"... perhaps because the speed reduction involved in successive indexing operations on data frames was considered unacceptable to the programmer? (Also the code would essentially have to check for type conversion of the result vector as every row of the index matrix was retrieved.)

Re: [R] data manipulation

2016-12-18 Thread David Winsemius
chocbeerelec 145196.31497 203784.41463 247791.21648 278581.91595 299480.51777 268170.41824 309874.81994 270875.91835 251786.31787 244598.71699 2087100.9 1633 1801113.8 1645 121689.81597 2173

Re: [R] data manipulation

2016-12-18 Thread David Winsemius
> On Dec 17, 2016, at 7:57 PM, Duncan Mackay wrote: > > Hi > > Coming late to the discussion - I deleted the original message > I found that I have a cbe.dat that I downloaded some years ago from > cowpertwaite's site . > > And have attached it Experience has shown

[R] [R-pkgs] pls 2.6-0 released

2016-12-18 Thread Bjørn-Helge Mevik
Version 2.6-0 of the pls package has been released and will be available at your local CRAN mirror shortly. The pls package implements Partial Least Squares Regression, Principal Component Regression and Canonical Powered PLS. The major changes in 2.6-0 are: - It now has a function

Re: [R] Infelicity in print output with matrix indexing of `[.data.frame`

2016-12-18 Thread David Winsemius
> On Dec 17, 2016, at 3:15 PM, Jeff Newmiller wrote: > > No, cannot agree. The result of using an n by 2 matrix to index into a > rectangular object is a vector. A vector can only have one storage mode for > all elements. Some type coercion is necessary to

Re: [R] dataframe columns class

2016-12-18 Thread Jeff Newmiller
The apply function operates on arrays, so your data frame is being converted to an array (matrix) before doing its thing. So use lapply or one of its variants. -- Sent from my phone. Please excuse my brevity. On December 18, 2016 9:07:52 AM PST, "Cleber N.Borges via R-help"

Re: [R] dataframe columns class

2016-12-18 Thread Ista Zahn
Read ?apply and you shall be be enlightened. --Ista On Dec 18, 2016 12:09 PM, "Cleber N.Borges via R-help" wrote: > Why columns classes are function dependents? > Like this example: > > > for( i in 1:5 ) print( class( iris[,i] ) ) > [1] "numeric" > [1] "numeric" > [1]

[R] dataframe columns class

2016-12-18 Thread Cleber N.Borges via R-help
Why columns classes are function dependents? Like this example: > for( i in 1:5 ) print( class( iris[,i] ) ) [1] "numeric" [1] "numeric" [1] "numeric" [1] "numeric" [1] "factor" > > apply( iris, 2, class ) Sepal.Length Sepal.Width Petal.Length Petal.Width Species "character" "character"

[R] setAs: does it overwrite existing coerce methods?

2016-12-18 Thread Martin Ivanov
Dear R users, I am working a lot with spatial objects from the package sp. I need to write my own method for converting a SpatialGrid to a SpatialPoints object, because the default method as("SpatialGrid", "SpatialPoints") returns a SpatialPoints object with decreasing latitudes. If I write my