Day: July 16, 2020

a gorgeous phone with a promising camera

Vivo‘s launching its ambitious X50 pro smartphone with a gimbal-supported camera today in India. While the company’s pushing the camera to be the centerpiece of the show, the build and design of the phone are charming.

I’ve been using the device for less than two days, and it has left a good impression in a lot of areas, including the camera. Before I talk about all that, let’s look at the specifications of the device:

Specifications:

  • Screen: 6.56-inch full HD screen with a 90Hz refresh rate
  • Processor: Qualcomm Snapdragon 765G
  • RAM: 8GB
  • Rear camera: 48-megapixel gimbal-supported main sensor + 8-megapixel
Read More

5 R data.table fread tips

Hi. I’m Sharon Machlis at IDG Communications, here with Episode 50 of Do More With R: 5 things you may not know about data.table’s fread() function.

fread() imports external data files into R. If it’s a data.table function, you know it’s fast. Very fast! But there’s more to fread() than speed. It has several helpful options — some you might not know about. Or, maybe you knew about them once but since stopped using them. Let’s take a look.

I’ll start with a file of daily Covid-19 data from every county in the U.S.: a 12 megabyte file from the

Read More

5 handy options in R data.table’s fread

Like all functions in the data.table R package, fread is fast. Very fast. But there’s more to fread than speed. It has several helpful features and options when importing external data into R. Here are five of the most useful.

Note: If you’d like to follow along, download the New York Times CSV file of daily Covid-19 cases by U.S. county at https://github.com/nytimes/covid-19-data/raw/master/us-counties.csv.

Use fread’s nrows option

Is your file large? Would you like to examine its structure before importing the whole thing – without having to open it in a text editor or Excel? Use fread’s nrows option

Read More