Re: [R] suppress labels in lattice barchart

2016-10-16 Thread Duncan Mackay
Hi Try barchart(name ~ age, data = boy.age, scales = list(y = list(alternating = FALSE, at = 1:4, labels = rep("",4 see ?lattice::xyplot for details Regards Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northn

Re: [R] Merge data by coordinates

2016-10-16 Thread David Winsemius
> On Oct 16, 2016, at 6:32 AM, Miluji Sb wrote: > > Dear all, > > I have two dataframe 1 by latitude and longitude but they always do not > match. Is it possible to merge them (e.g. nearest distance)? > > # Dataframe 1 > structure(list(lat = c(54L, 55L, 51L, 54L, 53L, 50L, 47L, 51L, > 49L, 54L

Re: [R] Reg : R : How to capture cpu usage, memory usage and disks info using R language

2016-10-16 Thread jim holtman
Here is a start on the solution. This will create a VBS script that will gather the CPU data and return it in a character vector that you can extract the data from. You can add to it to get the other data you are looking for. > temp <- tempfile(fileext = '.vbs') # get a

[R] Merge data by coordinates

2016-10-16 Thread Miluji Sb
Dear all, I have two dataframe 1 by latitude and longitude but they always do not match. Is it possible to merge them (e.g. nearest distance)? # Dataframe 1 structure(list(lat = c(54L, 55L, 51L, 54L, 53L, 50L, 47L, 51L, 49L, 54L), lon = c(14L, 8L, 15L, 7L, 6L, 5L, 13L, 5L, 13L, 11L ), PPP2000_40