lvalnegri

r_packages.R

Apr 8th, 2019
6,350
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 1.08 KB | None | 0 0
  1. # remember to first cd into the subfolder containing the list of packages to install (~/scripts/r_packages/)
  2.  
  3. # if you're in need to uninstall all (non *core*) libraries
  4. # y <- as.data.frame(installed.packages())
  5. # y <- as.character(unique(y[is.na(y$Priority), 'Package']))
  6. # remove.packages(y)
  7.  
  8. # install packages from Bioconductor which are dependencies for subsequent CRAN packages
  9. if(!require('BiocManager')) {
  10.     install.packages('BiocManager')
  11.     BiocManager::install('graph')
  12.     BiocManager::install('S4Vectors')
  13. }
  14.  
  15. # install CRAN packages not currently installed
  16. pkgs <- readLines(file('r_packages.lst'))
  17. pkgs.not <- pkgs[!sapply(pkgs, require, char = TRUE)]
  18. if(length(pkgs.not) > 0) install.packages(pkgs.not)
  19. lapply(pkgs, require, char = TRUE)
  20.  
  21. # summary
  22. y <- data.frame(installed.packages())
  23. message('Number of packages requested: ', length(pkgs))
  24. message('Number of NEW packages installed: ', length(pkgs.not))
  25. message('Number of packages installed: ', nrow(y[is.na(y$Priority),]))
  26. message('Number of dependencies installed: ', nrow(y[is.na(y$Priority),]) - length(pkgs))
Advertisement
Comments
  • Venzetis
    124 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • User was banned
Add Comment
Please, Sign In to add comment