<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>R on Choyang</title>
    <link>/tags/r/</link>
    <description>Recent content in R on Choyang</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 13 Sep 2019 00:00:00 +0000</lastBuildDate><atom:link href="/tags/r/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>rowwise manipulation of data frame in R</title>
      <link>/post/rowwise-manipulation-of-data-frame-in-r/</link>
      <pubDate>Fri, 13 Sep 2019 00:00:00 +0000</pubDate>
      
      <guid>/post/rowwise-manipulation-of-data-frame-in-r/</guid>
      <description>The data frame is used for storing tabular data in R. It is the fundamental data structure in R, especially for tidyverse. Tidy data (data frame), in which each variable in a column and each observation in a row, is used wherever possible througout all the tidyverse packages. Working on column is a very natural and usual operation, and the key ideology in dplyr, a core package of tidyverse. But how to perform rowwise manipulation ?</description>
    </item>
    
    <item>
      <title>R packages: How to solve the check NOTE &#34;no visible binding for global variable&#34;</title>
      <link>/post/r-packages-how-to-solve-the-check-note-no-visible-binding-for-global-variable/</link>
      <pubDate>Sun, 08 Sep 2019 00:00:00 +0000</pubDate>
      
      <guid>/post/r-packages-how-to-solve-the-check-note-no-visible-binding-for-global-variable/</guid>
      <description>While our package employ a function using Non Standard Evaluation (NSE), such as data.table and many tidyverse packages, R CMD check will generate NOTEs in the form &amp;ldquo;no visible binding for global variable xxx&amp;rdquo;. There are two ways to solve this problem
First, add utils::globalVariables(c(&amp;quot;xxx&amp;quot;)) to your code, perhaps in R/globals.R. I recommand add it to the R file which caused the NOTE. Apprantly, utils packaage should be added to the Imports filed of DESCRIPTION file.</description>
    </item>
    
  </channel>
</rss>
