Questions tagged [reproducible-research]

Reproducible research is the idea that the result of scientific research should be published with data and code in order to make it possible for other researchers to verify the results.

Reproducible research is the idea that the result of scientific research should be published with data and code in order to make it possible for other researchers to verify the results.

Reproducible research may be especially important to you if your investigation involves large amount of data or very complex calculations.

One possible set of tools for reproducible research is using with or .

Related links:

227 questions
1
vote
1 answer

Pseudo random generators and platform dependency

I know that pseudo random generators are meant to be deterministic, i.e., when the same seed is used, they produce the same sequence of outputs. In practice, this is all true only when you are on the same platform, i.e., the same hardware, OS,…
Mahdi
  • 1,778
  • 1
  • 21
  • 35
1
vote
1 answer

Code chunk using repmis::dropboxData works in one Rstudio project but not another

I have two R projects associated with github repositories. I have been using the repmis function source_DropboxData to download a file, then tbl_df in dplyr In both projects the code…
JonMinton
  • 1,239
  • 2
  • 8
  • 26
1
vote
1 answer

Reading dput() gists from github into R

I am trying to read a gist containing a dput from Github: library(RCurl) data <- getURL("https://gist.githubusercontent.com/aronlindberg/848b8efef154d0e7fdb4/raw/5bf4bb864cc4c1db0f66da1be85515b4fa19bf6b/pull_lists") pull_lists <-…
histelheim
  • 4,938
  • 6
  • 33
  • 63
1
vote
0 answers

install_bitbucket or install_github and install specific versions of dependencies

I have a package hosted on a bitbucket private repository and would like to install my package along with the specific versions of it's dependencies specified in the Depends section of the DESCRIPTION file: Depends: R (>= 2.15.0), foo (== 1.17-12)…
Brian Bolt
  • 21
  • 4
1
vote
0 answers

Labelling variables in regression output (reproducible research)

I achieve to get nicely formatted regression results using the glm() function and then building a table (myTable). > myTable <- cbind("Estimate" = coef(FulMod), "Std. Error" = summary(FulMod)$coefficients[,2], ,"p value" =…
moabit21
  • 639
  • 8
  • 20
1
vote
1 answer

Error trying to generate notes with reports package on R

I am trying to generate notes for the reports package https://github.com/trinker/reports/ , and followed the steps from the youtube video http://goo.gl/x9ulf0 . I did run the chunk Tyler has there http://goo.gl/XHouuc but when I try to generate the…
1
vote
1 answer

How flexible is the syntax of static pattern rules in Make?

I'd like to use make as a tool for reproducible research. This research involves a long pipeline which I will run for many independent datasets, requiring a workflow that I'll describe in "pseudo-make" as follows: datasets = foo bar…
wvoq
  • 553
  • 3
  • 13
0
votes
1 answer

Fetch refs not associated with a branch

I have a program that runs some scientific tests. I have written a git post-receive hook for the server that runs these tests: When it receives a commit, e.g. deadbeef..., run the program Commit the output of the program to no branch in…
Zaz
  • 46,476
  • 14
  • 84
  • 101
0
votes
1 answer

How to re-write my iterative LASSO via lars() code run on N datasets to using cv.lars instead so I don't have to hardcode the lambda value

Here is a link to the GitHub Repository for this project. I wrote R scripts that iteratively estimate N LASSO on each of N randomly generated synthetic datasets within a file folder because LASSO is one of the 3 benchmark variable selection…
0
votes
0 answers

How can I disable power menu from long press click on power button in android development?

I've finished trying with KeyEvent.KEYCODE_POWER in onKeyDown override method, execut Root command, dismiss system dialog and abortBroadcast() to prevent power-off or restart from power button's long press click event. But these're not working due…
0
votes
0 answers

How to write a reproducible as_chunk command in flextable R

While in the process to create a flextable in R, I'am unable to write a reproducible quote for a section. This table will be updated every month, therefore adding a new column. To make this reproducible most of my code is in the form on column…
0
votes
0 answers

Reproduce Bugs SPARK-25947

I'm trying to reproduce this bugs: https://issues.apache.org/jira/browse/SPARK-25947 Anyone can help me to reproduce this one?
rotibakar
  • 23
  • 5
0
votes
2 answers

Reproducibility with multithreading and multiprocessing in Python (how to fix random seed)

My code does the following: Starts processes to collect data Starts processes to test model One thread takes care of training (read data from collect processes) One thread takes care of testing (read data from test processes) Every time the…
0
votes
0 answers

Reproducibility in training a RNN neural network

recently I encounter a very strange thing in training a RNN type neural networks(LSTM and GRU). Last month, I finish all the code can get the results. I do believe that I set random seeds each time initialize a new model (like model = RNNModel() ),…
0
votes
1 answer

I have a project I want to make public on Github. I was wondering if there was a way to shorten my file paths on my project

The way I've always imported data is by reading the file and inputting a path. I have a pretty long path and was wondering if there was a way to shorten my paths so that instead of "C:/Users/Bryan/Desktop/Data/Data/MoreData" It's something like…