Re: [R] Dataverse

2018-05-13 Thread Ista Zahn
Use https://cran.rstudio.com/web/packages/dataverse/ --Ista On Sun, May 13, 2018 at 5:21 AM, Ilio Fornasero wrote: > Hello. > > I am trying to find a way to retrieve data from Harvard Dataverse website. > I usually don't have problem in web-scraping data but the problem here is > that there are

Re: [R] is there any method to defer the execution of code in r?

2018-05-13 Thread David Winsemius
> On May 13, 2018, at 10:01 AM, Duncan Murdoch wrote: > > On 13/05/2018 12:41 PM, Berry, Charles wrote: >>> On May 13, 2018, at 9:24 AM, Jeff Newmiller >>> wrote: >>> >>> Not when I click on that link. >>> >>> >> Nor me, but what I get is actually >> https://stackoverflow.com/questions/1174

Re: [R] Dataverse (reading files with .tab and .7z suffixes)

2018-05-13 Thread David Winsemius
> On May 13, 2018, at 5:04 AM, Thomas Levine <_...@thomaslevine.com> wrote: > > Ilio Fornasero writes: >> Yet, I am at this point. >> >> >> >> >> ## 01. Finding the dataverse server and making a search >> Sys.setenv("DATAVERSE_SERVER" =3D "dataverse.harvard.edu") >> dataverse_search(".Hunger"

Re: [R] is there any method to defer the execution of code in r?

2018-05-13 Thread Duncan Murdoch
On 13/05/2018 12:41 PM, Berry, Charles wrote: On May 13, 2018, at 9:24 AM, Jeff Newmiller wrote: Not when I click on that link. Nor me, but what I get is actually https://stackoverflow.com/questions/1174799/how-to-make-execution-pause-sleep-wait-for-x-seconds-in-r note the number is *d

Re: [R] is there any method to defer the execution of code in r?

2018-05-13 Thread Rui Barradas
Hello, OK, I have checked your link and it does seem like a bug somewhere. Note that the question in your link was "asked Jul 23 '09 at 22:17". I am talking about a question "asked 8 hours ago". That in the mean time was closed as duplicate. Anyway, sorry for the noise unrelated to R-Help, I w

Re: [R] is there any method to defer the execution of code in r?

2018-05-13 Thread Berry, Charles
> On May 13, 2018, at 9:24 AM, Jeff Newmiller wrote: > > Not when I click on that link. > > Nor me, but what I get is actually https://stackoverflow.com/questions/1174799/how-to-make-execution-pause-sleep-wait-for-x-seconds-in-r note the number is *different* than 50314015 - the OPs postin

Re: [R] (no subject)

2018-05-13 Thread David Winsemius
> On May 13, 2018, at 9:35 AM, David Winsemius wrote: > > >> On May 12, 2018, at 9:42 AM, malika yassa via R-help >> wrote: >> >> >> hello >> for exampl, i have this programme >> # Generating data which are right truncated >> library(DTDA) >> library(splines) >> library(survival) >> n<-25 >

Re: [R] (no subject)

2018-05-13 Thread David Winsemius
> On May 12, 2018, at 9:42 AM, malika yassa via R-help > wrote: > > > hello > for exampl, i have this programme > # Generating data which are right truncated > library(DTDA) > library(splines) > library(survival) > n<-25 > X<-runif(n,0,1) > V<-runif(n,0.75,1) > for (i in 1:n){ > while (X[i]>V[

Re: [R] is there any method to defer the execution of code in r?

2018-05-13 Thread Jeff Newmiller
Not when I click on that link. On May 13, 2018 7:37:50 AM PDT, Rui Barradas wrote: >Hello, > >I don't understand. > >It *is* the same question. Same code, same words. And same 'AKSHAY M >KULKARNI' (the OP here) and 'AKshayKulkarni' (SO). > >Exactly the same. > >Rui Barradas > >On 5/13/2018 2:07

Re: [R] is there any method to defer the execution of code in r?

2018-05-13 Thread Rui Barradas
Hello, I don't understand. It *is* the same question. Same code, same words. And same 'AKSHAY M KULKARNI' (the OP here) and 'AKshayKulkarni' (SO). Exactly the same. Rui Barradas On 5/13/2018 2:07 PM, Jeff Newmiller wrote: I am puzzled by the use of the term "cross-posted" here... I don't

Re: [R] is there any method to defer the execution of code in r?

2018-05-13 Thread Jeff Newmiller
I am puzzled by the use of the term "cross-posted" here... I don't see the OP or their question or any similar words from the question involved the the given link, though that link seems worth bringing it to the OP's attention. But the function given in the question seems to have other problems:

Re: [R] Dataverse (reading files with .tab and .7z suffixes)

2018-05-13 Thread Jorge Cimentada
Our just use the dataverse package already in CRAN: https://cran.r-project.org/web/packages/dataverse/index.html --- Jorge Cimentada *https://cimentadaj.github.io/ * On Sun, May 13, 2018 at 2:04 PM, Thomas Levine <_...@thomaslevine

Re: [R] Dataverse (reading files with .tab and .7z suffixes)

2018-05-13 Thread Thomas Levine
Ilio Fornasero writes: > Yet, I am at this point. > > > > > ## 01. Finding the dataverse server and making a search > Sys.setenv("DATAVERSE_SERVER" =3D "dataverse.harvard.edu") > dataverse_search(".Hunger") > > > ## 02. Loading the dataset (in this example, I have chosen the word ".Hunge= > r" to g

[R] Dataverse (reading files with .tab and .7z suffixes)

2018-05-13 Thread Thomas Levine
Ilio Fornasero writes: > I am trying to find a way to retrieve data from Harvard Dataverse website. > I usually don't have problem in web-scraping data but the problem here is > that there are a bunch of data formats such as .tab, .7z and so and > I just can't find a way to retrieve the data I am

Re: [R] R-help Digest, Vol 183, Issue 13

2018-05-13 Thread Thomas Levine
Ilio Fornasero writes: > Hello. > > I am trying to find a way to retrieve data from Harvard Dataverse website. > I usually don't have problem in web-scraping data but the problem here is > that there are a bunch of data formats such as .tab, .7z and so and I just > can't find a way to retrieve

Re: [R] is there any method to defer the execution of code in r?

2018-05-13 Thread Rui Barradas
Hello, This is cross posted from StackOverflow: https://stackoverflow.com/questions/50314015/is-there-any-method-to-defer-the-execution-of-code-in-r Cross posting is discouraged in r-help. Rui Barradas On 5/13/2018 8:59 AM, akshay kulkarni wrote: dear members, I have created the following f