<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-7958828565254404797.post2044024202183723390..comments</id><updated>2024-12-13T03:11:35.450-08:00</updated><title type='text'>Comments on ListenData: 3 Ways to Measure Execution Time in R with Examples</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.listendata.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2044024202183723390/comments/default'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/06/measuring-running-time-of-r-code.html'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><author><name>Deepanshu Bhalla</name><uri>http://www.blogger.com/profile/09802839558125192674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXm_iOrXFR9Ls-mjtOci4qd1m1V1TXkkWJINuMy84-Axo5pNS6CG7oKwR7hfHHI3tB1yuz8W_qo9HK2Cw5fHfe_4cL_2DCf_LyoK9LMLicZojbNYgypIP-RXNsw1GsVhk/s100/pic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8690706868737114936</id><published>2016-12-26T03:27:34.582-08:00</published><updated>2016-12-26T03:27:34.582-08:00</updated><title type='text'>Check out this code - &#xa;file_read&amp;lt;- function(inp...</title><content type='html'>Check out this code - &lt;br /&gt;file_read&amp;lt;- function(input_file){&lt;br /&gt;  start.time &amp;lt;- Sys.time()&lt;br /&gt;  df = read.csv(input_file)&lt;br /&gt;  end.time &amp;lt;- Sys.time()&lt;br /&gt;  print(round(end.time - start.time,2))&lt;br /&gt;  return(df)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mydata = file_read(&amp;quot;C:\\Users\\Deepanshu\\Downloads\\dataset.csv&amp;quot;)&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2044024202183723390/comments/default/8690706868737114936'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2044024202183723390/comments/default/8690706868737114936'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/06/measuring-running-time-of-r-code.html?showComment=1482751654582#c8690706868737114936' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2044024202183723390/comments/default/1314330032010036172'/><author><name>Deepanshu Bhalla</name><uri>https://www.blogger.com/profile/09802839558125192674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXm_iOrXFR9Ls-mjtOci4qd1m1V1TXkkWJINuMy84-Axo5pNS6CG7oKwR7hfHHI3tB1yuz8W_qo9HK2Cw5fHfe_4cL_2DCf_LyoK9LMLicZojbNYgypIP-RXNsw1GsVhk/s100/pic.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/06/measuring-running-time-of-r-code.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2044024202183723390' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2044024202183723390' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-966036103"/><gd:extendedProperty name="blogger.displayTime" value="December 26, 2016 at 3:27 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-1314330032010036172</id><published>2016-12-26T03:12:06.095-08:00</published><updated>2016-12-26T03:12:06.095-08:00</updated><title type='text'>I have a doubt. I&amp;#39;m writing R code as a functi...</title><content type='html'>I have a doubt. I&amp;#39;m writing R code as a function statement. for example:&lt;br /&gt;&lt;br /&gt;file_read&amp;lt;- function(input_file){&lt;br /&gt;df = read.csv(input_file)&lt;br /&gt;return(df)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;I need to measure the complation time with the date. can i use your start.time and end.time within your function, if so, can you please explain?. or any other ways to do that.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2044024202183723390/comments/default/1314330032010036172'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2044024202183723390/comments/default/1314330032010036172'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/06/measuring-running-time-of-r-code.html?showComment=1482750726095#c1314330032010036172' title=''/><author><name>nirmal</name><uri>https://www.blogger.com/profile/06714174536115257804</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7PEK5m_gYlZxw4Pg_ShPFwP92nYPWy3Jq6ls3Zitlzs-CEf0VsB6KWFr7pkIcdwlbVxQjHeUe_gwGipdUEZukuNM0ZnfINeGJracbFL5bSUhX80BF0xjTAfehVykA0ao/s220/Optimized-DSC_0010.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/06/measuring-running-time-of-r-code.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2044024202183723390' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2044024202183723390' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1004629363"/><gd:extendedProperty name="blogger.displayTime" value="December 26, 2016 at 3:12 AM"/></entry></feed>