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

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 »

Time Averages of NetCDF files from ECMWF in ArcGIS with R-Bridge

July 8, 2016
By
Time Averages of NetCDF files from ECMWF in ArcGIS with R-Bridge

With this post I would like to talk again about R-Bridge, which allows a direct communication between ArcGIS and R.In the previous post, I presented a very simple application of R-Bridge where I built a toolbox to perform k-means clustering on point sh...

Read more »

Use your .Rprofile to give you important notifications

June 23, 2016
By
Use your .Rprofile to give you important notifications

In R, we can use a file called .Rprofile to do things in R based on a number of triggers. One thing I’ve done is give myself a DIY notification of how many data breaches I’ve been involved in! First of all, you need a file called .Rprofile that’s stored in your working directory. Some The post

Read more »

Importing CSV data using T-SQL and R

June 18, 2016
By
Importing CSV data using T-SQL and R

Several ways exists to import CSV (excel) data into your SQL Server Database. One is of course, using SSIS. The other one – similar to SSIS – is using import/export function in SSMS. With wizard, you will be able to import data. Futher on, BULK INSERT (BCP) statement is to all DBA and developers very

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)