Re: [R] JSON data in data frame

2017-01-14 Thread Rob Baer
Try this: # get weather data library(jsonlite) dat<- fromJSON('http://api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric=ec0313a918fa729d4372555ada5fb1f8') tab <- dat$list #look at what we get class(tab) names(tab) ncol(tab) nrow(tab) tab[,c("clouds","wind","name")]

Re: [R] How these Plots are called? Which package

2017-01-14 Thread Uwe Ligges
On 14.01.2017 21:04, Alaios via R-help wrote: can you see it now? I have uploaded it on my dropbox https://www.dropbox.com/s/9eikpabu6xflasa/Figure.jpg?dl=0 This is called spectogram and there are several packages that can do it, depending on your application. Best, Uwe Ligges On

Re: [R] JSON data in data frame

2017-01-14 Thread Archit Soni
Hey David, A big big thank you..!! Your code worked like a charm and with little tweaks i extracted each item from other nested data frames. Now i got a single data frame My final code: dat2 <- cbind(as.data.frame(dat1$list[!names(dat1$list) %in%

Re: [R] How these Plots are called? Which package

2017-01-14 Thread Alaios via R-help
can you see it now? I have uploaded it on my dropbox https://www.dropbox.com/s/9eikpabu6xflasa/Figure.jpg?dl=0 On Saturday, January 14, 2017 12:57 PM, John Kane wrote: No sign of attachment. On Saturday, January 14, 2017 5:42 AM, Alaios via R-help

Re: [R] JSON data in data frame

2017-01-14 Thread David Winsemius
> On Jan 14, 2017, at 9:27 AM, William Dunlap via R-help > wrote: > > This is a question concerning the interface between the TIBCO products > Spotfire and TERR so most people on this mailing list won't have a > clue. You will have better luck with TIBCO support or

[R] OS X solution... was Re: rgdal functions: spTransform and CRS not working

2017-01-14 Thread David Winsemius
> On Jan 13, 2017, at 1:21 PM, Ossenbruggen, Paul > wrote: > > The following are examples from the rgdal library help file. > > Neither functions operate properly. > > Help is appreciated. > Paul > > Example 1 >> EPSG <- make_EPSG() > Error in make_EPSG() :

Re: [R] JSON data in data frame

2017-01-14 Thread William Dunlap via R-help
This is a question concerning the interface between the TIBCO products Spotfire and TERR so most people on this mailing list won't have a clue. You will have better luck with TIBCO support or asking in the Q section of https://community.tibco.com. It does sound like you might have a data.frame

Re: [R] How these Plots are called? Which package

2017-01-14 Thread Jeff Newmiller
... which means Alaios desperately needs to read the Posting Guide... carefully. -- Sent from my phone. Please excuse my brevity. On January 14, 2017 2:57:02 AM PST, John Kane via R-help wrote: >No sign of attachment. > > >On Saturday, January 14, 2017 5:42 AM, Alaios

Re: [R] JSON data in data frame

2017-01-14 Thread Archit Soni
Hey Rob, Thanks for replying but what i see after i run str(tab$list) is that it has nested data.frame. And for some weird reason Spotfire is discarding and stating as illegal data type. On Jan 14, 2017 20:15, "Rob Baer" wrote: > I just tried after fixing what I thoug were

Re: [R] How these Plots are called? Which package

2017-01-14 Thread John Kane via R-help
No sign of attachment. On Saturday, January 14, 2017 5:42 AM, Alaios via R-help wrote: Hello,how I can try something like that in R (in the attachment I am providing a sketch).Which packages would you try to use?I would like to thank you in advance for your

[R] How these Plots are called? Which package

2017-01-14 Thread Alaios via R-help
Hello,how I can try something like that in R (in the attachment I am providing a sketch).Which packages would you try to use?I would like to thank you in advance for your helpRegardsAlex __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

Re: [R] Qvalue package: I am getting back 1, 000 q values when I only want 1 q value.

2017-01-14 Thread Thomas Ryan
Jim, Thanks for the reply. Yes I'm just playing around with the data at the minute, but regardless of where the p values actually come from, I can't seem to get a Q value that makes sense. For example, in one case, I have an actual P value of 0.05. I have a list of 1,000 randomised p values:

[R] rgdal functions: spTransform and CRS not working

2017-01-14 Thread Ossenbruggen, Paul
The following are examples from the rgdal library help file. Neither functions operate properly. Help is appreciated. Paul Example 1 > EPSG <- make_EPSG() Error in make_EPSG() : Error opening epsg file > EPSG[grep("Oslo", EPSG$note), 1:2] Error: object 'EPSG' not found > EPSG[1925:1927, 3]

Re: [R] JSON data in data frame

2017-01-14 Thread Archit Soni
Hi Jermiah, When i ran this code in Spotfire, my aim is to get output as a data table. I am getting the same error: TIBCO Enterprise Runtime for R returned an error: 'Error in .cleanDataForExport(value, output.name) : Output data 'tab$coord' has illegal type: 'data.frame''. Code that I used:

Re: [R] Match ISO 8601 week-of-year numbers to month-of-year numbers on Windows with German locale

2017-01-14 Thread peter dalgaard
> On 12 Jan 2017, at 22:20 , Nordlund, Dan (DSHS/RDA) > wrote: > > See comments inline. > >> -Original Message- >> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Bob Rudis >> Sent: Thursday, January 12, 2017 12:41 PM >> To: David Winsemius >> Cc: