Git Product home page Git Product logo

repmis's People

Contributors

christophergandrud avatar karthik avatar mansmeg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

repmis's Issues

Remove the rJava dependency if not xlsx is explicitly called

I've been having huge problems with my students in the R programming class Im teaching that uses repmis from a Windows version.

You first has to choose where to temporarily download the files (Y/n choice) and rJava is used. In most cases you don't need to use the xlsx file. Would it be possible to move it to "suggests" and load this package into R if xlsx is used.

/Måns

Allow .Rda files in source_data()

Hey Christopher, I'm trying to redo all my blogposts after dropbox changed the policy re public directories and your package looks like my best bet. The following now doesn't work:

load(file(source_data("http://dl.dropboxusercontent.com/u/25710348/Blogposts/data/IL2010.Rda")))

I'd like to be able to run something like the following:

source_data("http://dl.dropboxusercontent.com/u/25710348/Blogposts/data/IL2010.Rda")

LoadandCite does not respect package's recommended citation mechanism

R packages have a mechanism for allowing their developers to indicate how they wish to be cited. This can be particularly important in making sure that a relevant software paper is cited, rather / or in addition to citing the package itself, since for many academic developers only citations to the software paper have much value.

It looks to me like LoadandCite ignores the existing citation mechanism, e.g. LoadandCite("knitr", file = "refs.bib") does match the recommended citation of citation("knitr").

Package fails to install in R 3.0.2

I found this package because I want to be able to install R package versions that are compatible with the R provided in Ubuntu 14.04 LTS. But even installing this package fails because install.packages('repmis') tries to install the latest dependencies and they are not compatible with R 3.0.2. It'd be nice if the package that tries to solve the old package support could actually be installed in older versions of R. This is just a note, I think the problem is endemic to the R packaging eco-system.

More arguements to read.table

Dear Christopher

In source_DropboxData is it possible to change the functionality slightly to allow additional arguments to be used for read.table. i.e. add the ellipsis as an argument to the function as this will then be available to read.table

source_DropboxData(file, key, sha1 = NULL, sep = ",", header = TRUE, ...)

read.table(temp_file, sep = sep, header = header, ...)

Very useful package, thank you

Specify R version

Include arguments to InstallOldPackages and LoadandCite that allow the user to specify what version of R should be installed.

Also suggest website to download it from.

Old versions

Toby Dylan Hocking suggests improving LoadandCite so that it can install old package versions.

rJava error

Tried to install "repmis" on Win 64 Enterprise with R 3.1.2 64 bit. All software is up to date.

library(repmis)
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: dirname(this$RuntimeLib)
error: a character vector argument expected
Error: package or namespace load failed for ‘repmis’
library(rJava)
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: dirname(this$RuntimeLib)
error: a character vector argument expected
Error: package or namespace load failed for ‘rJava’

url to URL

Use argument name URL instead of url (which is a function in base R).

Include functions for workspace cleaning

Hi Christopher,

I wrote some functions to clean the workspace of R.

I think this is an important element to achieve reproducible research in R.

The code is very little, see it here:

https://gist.github.com/behrica/864e9424f0b6a6b72db7

The only public function is cleanWS(), which is deleting all objects and unloads all libraries, except the base libraries.
This should put the R environment in an "clean" state. It would be useful to have this function in the beginning of each r script or R markdown file, which should be reproducible,

If you would find it useful to get included in your library, let me know and I could send you a pull request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.