Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

delimited

Split pipe-delimited values of a flat array into an associative array

February 14, 2024 by Tarik
Categories php Tags arrays, associative-array, delimited, php, text-parsing Leave a comment

How can I get 2nd and third column in tab delim file in bash?

July 22, 2023 by Tarik

cut(1) was made expressly for this purpose: cut -f 2-3 input.txt > output.txt

Categories bash Tags bash, delimited, process, tabs Leave a comment

Ways to read only select columns from a file into R? (A happy medium between `read.table` and `scan`?) [duplicate]

June 8, 2023 by Tarik
Categories r Tags data-processing, delimited, r, read.table Leave a comment

Reading text file with multiple space as delimiter in R

February 3, 2023 by Tarik

You need to change your delimiter. ” ” refers to one whitespace character. “” refers to any length whitespace as being the delimiter data <- read.table(file, sep = “” , header = F , nrows = 100, na.strings =””, stringsAsFactors= F) From the manual: If sep = “” (the default for read.table) the separator is … Read more

Categories r Tags delimited, file, r, space Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa