1455 search results for "how to import image file to R"

Importing Data into R, part II

January 31, 2017
By
Importing Data into R, part II

I recently downloaded the latest version of R Studio and noticed that their import dataset functionality had changed significantly. I had previously written about this HERE and wanted to provide an update for the current version of RStudio. When you go to import data using R Studio, you get a menu like this. If you’re

Read more »

Version Control, File Sharing, and Collaboration Using GitHub and RStudio

January 29, 2017
By
Version Control, File Sharing, and Collaboration Using GitHub and RStudio

This is Part 3 of our “Getting Started with R Programming” series. For previous articles in the series, click here: Part 1, Part 2. This week, we are going to talk about using git and GitHub with RStudio to manage

Read more »

Research lessons learnt the hard way #1: maintaining organised data files

January 17, 2017
By
Research lessons learnt the hard way #1: maintaining organised data files

This is the first post in a (hopefully not long) series of research lessons learned from making mistakes. Most of the lessons have been in various aspects of programming as none of my supervisors or fellow postgraduates have any interest in R or Python, so I have had to learn through books and online resources.

Read more »

Image Classification in R using trained TensorFlow models

November 7, 2016
By
Image Classification in R using trained TensorFlow models

Recently RStudio has released a package that allows to use TensorFlow in R. Also recently several trained models for image classification have been released. In this post I describe how to use the VGG16 model in R to produce an image classification like this:(image taken from: https://www.flickr.com/photos/jonner/487461265)The code...

Read more »

How to add a background image to ggplot2 graphs

October 29, 2016
By
How to add a background image to ggplot2 graphs

When producing so called infographics, it is rather common to use images rather than a mere grid as background. In this blog post, I will show how to use a background image with ggplot2. Packages required The following code will install load and / or install the R packages required for this blog post. if Related Post

Read more »

Association Rules on WideWorldImporters and SQL Server R Services

October 14, 2016
By
Association Rules on WideWorldImporters and SQL Server R Services

Association rules are very handy for analyzing Retail data. And WWI database has really neat set of invoices that can be used to make a primer. Starting with following T-SQL query: USE WideWorldIMportersDW; GO ;WITH PRODUCT AS ( SELECT    ,  ,  ,LEFT(, 8) AS L8DESC  ,ROW_NUMBER() … Continue...

Read more »

importance sampling by kernel smoothing [experiment]

October 12, 2016
By
importance sampling by kernel smoothing [experiment]

Following my earlier post on Delyon and Portier’s proposal to replacing the true importance distribution ƒ with a leave-one-out (!) kernel estimate in the importance sampling estimator, I ran a simple one-dimensional experiment to compare the performances of the traditional method with this alternative. The true distribution is a N(0,½) with an importance proposal a N(0,1)

Read more »

Animate maps with mapmate: R package for map- and globe-based still image sequences

October 10, 2016
By
Animate maps with mapmate: R package for map- and globe-based still image sequences

Introduction to mapmate mapmate (map animate) is an R package for map animation. It is used to generate and save a sequence of plots to disk as a still image sequence intended for later use in data animation production. The mapmate package is used for map- and globe-based data animation pre-production. Specifically, mapmate functions are

Read more »

Importing Data into R

September 23, 2016
By
Importing Data into R

One of the most important features we need to be able to do in R is import existing data, whether it be .txt files, .csv files, or even .xls (Excel files). If we can’t import data into R, then we can’t do anything. Okay let’s get started. The spirit of this blog is that whatever

Read more »

Size of XDF files using RevoScaleR package

September 22, 2016
By
Size of XDF files using RevoScaleR package

It came to my attention that size of XDF (external data frame) file can change drastically based on the compute context and environment. When testing the output of a dataset I was working on in SQL Server Management Studio I was simultaneously testing R code in RTVS or  R Studio and I have noticed a … Continue...

Read more »

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)