Blog Archives

How to import a directory of csvs at once with base R and data.table. Can you guess which way is the fastest?

October 13, 2018
By
How to import a directory of csvs at once with base R and data.table. Can you guess which way is the fastest?

Introduction Inspired by a recent post on how to import a directory of csv files at once using purrr and readr by Garrick, in this post we will try achieving the same using base R with no extra packages, and with data·table, another very popular package and as an added bonus, we will play a bit with benchmarking to see...

Read more »

How to import a directory of csvs at once with base R and data.table. Can you guess which way is the fastest?

October 13, 2018
By

Introduction Inspired by a recent post on how to import a directory of csv files at once using purrr and readr by Garrick, in this post we will try achieving the same using base R with no extra packages, and with data·table, another very popular package and as an added bonus, we will play a bit with benchmarking to see...

Read more »

4 ways to be more productive, using RStudio’s terminal

September 29, 2018
By
4 ways to be more productive, using RStudio’s terminal

Introduction RStudio version 1.1 introduced the Terminal functionality, which does not seem to be getting enough deserved attention and love even though it is very well integrated with the rest of the IDE and can be extremely useful for several daily use-cases. In this post we will try to cover 4 very common scenarios where the Terminal can be very useful...

Read more »

4 ways to be more productive, using RStudio’s terminal

September 29, 2018
By
4 ways to be more productive, using RStudio’s terminal

Introduction RStudio version 1.1 introduced the Terminal functionality, which does not seem to be getting enough deserved attention and love even though it is very well integrated with the rest of the IDE and can be extremely useful for several daily use-cases. In this post we will try to cover 4 very common scenarios where the Terminal can be very useful...

Read more »

3 reasons to not write that new code, and how I failed at it

September 15, 2018
By
3 reasons to not write that new code, and how I failed at it

Introduction We all know that feeling. We have this great idea about a new project, feature, function, piece of code. What do we want? Write that amazing new code! When do we want it? Right NOW! The aim of this post is to try and give you at 3 g...

Read more »

3 reasons to not write that new code, and how I failed at it.

September 15, 2018
By
3 reasons to not write that new code, and how I failed at it.

Introduction We all know that feeling. We have this great idea about a new project, feature, function, piece of code. What do we want? Write that amazing new code! When do we want it? Right NOW! The aim of this post is to try and give you at 3 good...

Read more »

cRafty tRicks – No more typing brackets!

September 1, 2018
By
cRafty tRicks – No more typing brackets!

Calling functions in R usually involves typing brackets. And since many of our actions in R involve calling a function, we will have to type a lot of brackets working with R. Often it would make our life a lot easier if we could omit the need to type brackets where convenient. We will do exactly that today. Work in...

Read more »

cRafty tRicks – No more typing brackets!

September 1, 2018
By
cRafty tRicks – No more typing brackets!

Calling functions in R usually involves typing brackets. And since many of our actions in R involve calling a function, we will have to type a lot of brackets working with R. Often it would make our life a lot easier if we could omit the need to type brackets where convenient. We will do exactly that today. Work in...

Read more »

R:case4base – code profiling with base R

August 18, 2018
By
R:case4base – code profiling with base R

Introduction In this summertime post in the case4base series, we will look at useful tools in base R, which let us profile our code without any extra packages needed to be installed. We will cover simple and easy to use speed profiling, more complex profiling of performance and memory and, as always, look at alternatives to base R as well,...

Read more »

R:case4base – code profiling with base R

August 18, 2018
By
R:case4base – code profiling with base R

Introduction In this summertime post in the case4base series, we will look at useful tools in base R, which let us profile our code without any extra packages needed to be installed. We will cover simple and easy to use speed profiling, more complex profiling of performance and memory and, as always, look at alternatives to base R as well,...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)