GithubHelp home page GithubHelp logo

gauravcodepro / r-package-backup Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 14 KB

r function for the R package installation

License: MIT License

R 100.00%
installer rpackage rpackages package-management rprogramming

r-package-backup's Introduction

r-package-backup

  • r functions for the r package customization.
  • alternative to this post on the R blogger RPost
#!/usr/bin/R
package_repo_file <- function(list_file){
    # reading the package repository from the file and prepairing the
    # install character file 
    # Universität Potsdam, Germany
    # Author: Gaurav Sablok
    # date: 2024-1-19
    # making your system package administration easy
    package <- read.csv("list_file", stringsAsFactors = FALSE, sep = ",")
    package_data_frame <- as.data.frame(package[1])
    install <- character(length(package_data_frame))
    for (i in seq_along(package_data_frame)) {
        install[i] <- package_data_frame[i]
    }
    return(install)
}
#!/usr/bin/R
package_repo <- function(){
    # invoking this function as a direct install from the system
    # Universität Potsdam, Germany
    # Author: Gaurav Sablok
    # date: 2024-1-19
    # making your system package administration easy
    package <- as.data.frame((installed.packages()))[1]
    install <- character(length(package))
    for (i in seq_along(package)){
    install[i] <- package[i]
}
    return(install)
}

Gaurav
Academic Staff Member
Bioinformatics
Institute for Biochemistry and Biology
University of Potsdam
Potsdam,Germany

r-package-backup's People

Watchers

Gaurav avatar

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.