Click here to Skip to main content
15,892,537 members
Everything / Programming Languages / R

R

R

Great Reads

by Andy Allinger
Add features to k-means for missing data, mixed data, and choosing the number of clusters
by Voevudko A. E., Ph.D.
Demonstrating a few approaches to generating and plotting fractals in R and offering R scripts realizing it.
by Amarnath S
An introduction to data analytics, using R, by taking a quick look at the state of World Health.
by Mr. xieguigang 谢桂纲
R# language is a kind of R liked language implements on .NET environment

Latest Articles

by Andy Allinger
Add features to k-means for missing data, mixed data, and choosing the number of clusters
by ToughDev
More about ST7735 1.8-inch 128×160 Color LCD on a PIC Microcontroller
by Mr. xieguigang 谢桂纲
R# language is a kind of R liked language implements on .NET environment

All Articles

Sort by Updated

R 

13 Jan 2022 by _Asif_
This error occurs mostly due to non numeric values present in the table. Please check this as it explains a bit detail with real example r - Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg 1) - Stack Overflow[^]
13 Aug 2023 by Abhijeet Chauhan 2023
#Permutation test operm10 summary(operm10) LOD thresholds (1000 permutations) lod 5% 3.05 10% 2.69 #Looking for qtls #scanone em method ...
19 Mar 2016 by Afzaal Ahmad Zeeshan
In this post I am going to walk you through installing and setting up the R environment on your Windows operating system; because Visual Studio is only available on Windows.
21 Mar 2016 by Afzaal Ahmad Zeeshan
In this post I am talking about the "R Tools for Visual Studio" plugin, and how it can be used to make Visual Studio your default IDE for R programming.
24 May 2017 by Akhil Mittal
In this and the following articles on Machine Learning to figure out whatMachine Learning is and what can be achieved with it
4 Jun 2017 by Akhil Mittal
This is the second article of the series and will largely focus on machine learning processes and scenarios.
7 Feb 2017 by Amarnath S
An introduction to data analytics, using R, by taking a quick look at the state of World Health.
22 Feb 2017 by Amarnath S
An introduction to Linear Regression, using R, by taking a look at the pricing of wine.
7 Jun 2023 by Andy Allinger
Add features to k-means for missing data, mixed data, and choosing the number of clusters
25 Apr 2014 by Ankit_Sharma1987
I am using chat plugin , and initiating a chat, the ajax post which i am using is working on mozilla and other browsers but not working on IE8/IE9. According to cross domain issue i have used "dataType: Jsonp" also but it's not working.Error: SCRIPT5007: Unable to get value of the property...
11 Dec 2023 by ann1988425
matlab Yr=Y; Us{1}=Yr*C; U=Us{1}; Fxy=Y-Us{1}*C R Yr
20 Jun 2017 by AshwiniKJ
R does not get compiled into intermediate code. Can any one help on how to integrate R with C++. What I have tried: Tried running sample code to call a method from R script. Failed with linker errors.
20 Jun 2017 by AshwiniKJ
We can call a R script from C++ code as below, #include "stdafx.h" #include using namespace std; int main(int argc, char **argv) { cout
18 Jul 2017 by AshwiniKJ
I have column name in a variable. I want to acess that column from a csv how will I do it?. What I have tried: RawData
18 Jul 2017 by AshwiniKJ
This can be done as below, RawData[[colName]] Two [[]] will help to access the column with variable name.
19 Jul 2019 by avinash0513
Hi All, I have two lazy tables, table1 and table2. I want to do a rbind of these two tables. Please note that Table1 and Table2 are not data frames, they are of class tbl_impala/tbl_sql/tbl_lazy/tbl. Can someone help me with the syntax? What I have tried: Table3 = bind_rows(Table1, Table2) ...
23 Jun 2022 by Boris Gomez
I am developing an application in R shiny and I would like to make a graph dynamic by adding points, error bar, and lines using the ggplot2 package R. The columns of my dataframes have no names because I merge Excel files uploaded by the user...
25 May 2016 by Bud Gressett
Explaining Naïve Bayes
12 Oct 2021 by chin21504
I am trying to create a new datframe using paste0 function and i need to copy an existing dataframe into it. e.g. ty 1) { Paste0("mynewdata",ty)
8 Feb 2016 by Daniel 11317535
Autodeploy case36 using R
4 Jun 2015 by Dave Kreskowiak
If it's a type you're referring to, you're going to have to consult with the people that wrote the .DLL to find out what that type is. From that information you can code up an equivalent type in C# or whatever.SEXP is not a standard type in any language.
20 Jan 2018 by David_Wimbley
So you pretty much need to google tutorials on how to use pyhton and R...unless you've actually attempted what you are trying to accomplish and have some code to show where you are stuck...a google search for tutorials is going to be the best place for you to start. Google[^] Now once you've...
19 Apr 2021 by debbie oomen
I'm having a tough time figuring this out and I will try to explain where I need help the best I can. I have a dataframe consisting of participant ID (column 1), possible dates of an appointment for that participant (column 2, ranging from V1 to...
29 Jul 2014 by Dileep Ashok
Hi,I guess you missed 1 semi colon at the last of curly brace of jquery.$("body").on("click", "#btnChat", function () { $.ajax({ url: path + "case/SubmitChatRequest", data: $("#frmRequestSubmit").serialize(), type:...
28 Nov 2021 by Eliza Romanski
I have a problem which i'm finding tricky to solve . I have a data frame that looks like this : ...
13 May 2017 by Evgeniy Sukhikh
Issues and solutions taken while moving R from cmd to sp_execute_external_script
26 Dec 2016 by Fernando de Oliveira [MCP]
What if you could predict data using a cloud-based environment? You can do it with Azure Machine Learning.
14 Oct 2022 by Fury_5698
I have many csv files with dataframes looking like these. Dummy Data: df1
15 Feb 2021 by Gerry Schmitz
Data Analysis in Excel - Easy Excel Tutorial[^]
26 May 2022 by Gerry Schmitz
It's called "binning"; do what you need to do to the data to have it make sense for your particular "model". e.g. Height is almost meaningless (for most) unless it's in terms of short, medium, tall (i.e. range binning). ...
11 Mar 2018 by Girish Deshmukh
When I call R script method from Web API it is working for first request it returns the result, but for subsequent request getting Stack overflow exception. The same code is working on another system, tried desposing all the objects in the R. Please help me to sort out this issue. Using R...
16 Nov 2015 by girish sp
I have to work with c tree(Conditional Inference Trees) in my Asp.net project,i know c tree is directly not supported, so i am looking for the alternatives which i can start with, i came across r.net i cannot use it as it requires executable to be installed on client side, i went through the...
13 Aug 2018 by goshan2011
I have a bar chart to display. Currently MVC controller's action method makes call to a stored procedure in SQL and the returned data in data table format is bound to the chart. what now i wanted to achieve is , consider the data returned from SQL, pass it to R script to do some processing and...
16 Sep 2019 by goshan2011
What is the best option to interface to R and Python from .NET (MVC)? Have checked information on R.Net, not sure how good it is to be used. Please assist. What I have tried: I am trying to implement this newly and need suggestions before starting..
30 Aug 2014 by Gurpreet Singh Punj
I have a problem statement of probability for which i have to display the solution in R programming language or Matlab... Any help will be very beneficial for me as i am unable to find the correct code to display the solution.. Please help There are two coins. One is fair; the other is...
23 Jun 2014 by Henry Tan Setiawan
A short tutorial to visualize high dimensional data (vector) using t-SNE, Barnes-Hut-SNE, and Clusplot in R
26 May 2017 by Intel
We’ll begin with a little history and some basics that everyone who picks up R and cares about performance ought to know.
14 Aug 2017 by Intel
In this article, we discuss our teachings about data science in a series of steps so that any product manager or business manager interested in exploring this science will be able take their first step toward becoming a data scientist or at least develop a deeper understanding of this science.
31 Aug 2017 by Intel
The JuliaProject Continues to Break New Boundaries in Scientific Computing
3 Jul 2014 by Jake Drew
Full demo app using both C# and R interchangeably to rapidly identify and cluster similar images
9 Aug 2022 by james Edits
There are two files with data taken from a subset of the UK Met Office’s network of land surface measurement sites. These are: 1. metadata.csv This file contains site names, longitude, latitude and elevation for 20 locations throughout Britain;...
13 Sep 2022 by Jason Garcia Jr.
'''(r setup, include=FALSE) knitr:opts chunk$set(echo= TRUE) Read in the data provided and save it as a variable called "data" '''(r) ''' use c() and cbind() to add a numerical column from 1:19 to "data". Order it as the first column. '''(r)...
14 May 2008 by Jeff B. Cromwell
Use the R Language in C#.NET applications.
24 Aug 2017 by Jochen Arndt
For example by Reading the text file line by line Converting each line to a 64-bit integer and store that in an array Writing 8 values from the array to a text file separating them with a comma Depending on the language this might require to determine the array size in advance by...
22 Jul 2018 by Jochen Arndt
This might not be the final solution but should fix some errors and prevent from having other (future) problems. You are using the Intel compiler but include the MS Visual C++ header files. Specifying the Intel include file directory ($(ICInstallDir)\compiler\include\) as very first path in the...
9 Jul 2017 by Joezer BH
Another thing you can do is run the R code in process you create just for that task. See this code sample written by Jake Drew on stackoverflow: public static string RFromCmd(string rCodeFilePath, string rScriptExecutablePath, string args) { string file = rCodeFilePath; ...
24 Aug 2017 by KarstenK
Sounds like you need to learn some basics for your job. At first you need to read the file. How it can be done is explained in Input/output with files tutorial. After that you must split the string in parts as discussed in this answer of stackoverflow. I like the last sample code most. Than...
15 Jan 2023 by katebjork
I get single letter words in my Structural Topic Model after my preprocessing steps. Particularly after I stem my tokens. My code is as follows: #read the csv articletexts
10 Dec 2023 by Kenneth Haugland
Have you tried to type "format long" in matlab? What you see in matlab and what is saved might be two different things
23 Oct 2021 by Kevin Paul 2021
Hi I am working on an Amazon dataset which does not follow the traditional row and column format. Kindly advice on the best way to convert this into a easily manipulatable dataset in R. Thank you Dataset: ...
11 Oct 2022 by Kevin Thomas Oct2022
def staircase(n): for i in range(0,n): for j in range(0,n): if i + j >= n-1: print("#",end='') else: print(" ",end='') print('\n') staircase(4) What I have tried: ...
11 Oct 2022 by Kevin Thomas Oct2022
mariostairs
22 Jul 2018 by KeyurKelkar
Hello, I have struggled for the past 2 weeks to make the code contained in the following codeproject.com article to work in the Windows 10 environment: Lightning-Fast R Machine Learning Algorithms[^] It seems to me that I am not correctly setting up behind the scenes (e.g. choice of compiler,...
25 Jul 2018 by KeyurKelkar
Hello I am trying to replicate the analysis shown in: Lightning-Fast R Machine Learning Algorithms[^] , in Windows 10 I am replicated the packages noted in the article, and further to help from a kind person in previous post, have come across a few last errors which i am hoping someone might...
15 Aug 2018 by KeyurKelkar
Hello, I am trying to open an interactive session of R from Wine. I need to run R from the Rhel7 host as I have recompiled it specifically for my purpose. I am having trouble with (1) Opening R in the host from Wine, by way of commands, and (2) ensuring that R from the Rhel7 host is kept open...
12 Oct 2019 by Kristina Hunter
I have a dataframe (df) with 4 columns: Start date, Stop date, Launch date, and NMBR (Usage amount - numerical value). I have another dataframe (usage) with two columns: time1 and usage. I am trying to check if each date in the time1 column in the usage dataframe falls between any of the start...
20 Jun 2018 by lakshya rastogi
I came across to a problem where in I have to use data from XML file, and these XML files are quite big. i need only limited information from this file. Can you please suggest me the ways to pull data, i tried my best by seeing videos and free resources to pull data out but failed to do so. i am...
17 Mar 2015 by livinkalai
Please change your Jquery version.I also faced the same problem in IE9 when I use jquery.js version 1.10.when try it with version 1.8 the problem was solved.
10 Aug 2015 by livinkalai
This cause because of bug in jQuery particular version. if you dont want to change the jQuery version,you can simply add this line in your code $.support.cors = true;or3.you can add jquery migrate js file to resolve this. http://code.jquery.com/jquery-migrate-1.2.1.js
13 Mar 2022 by loop063
I have a 15x15 matrix with strings of "0"s and "1"s. I need to find the number of columns that have only one "0". Note that the variables in the matrix are strings, not numerics What I have tried: colSums(m1=="1", na.rm=TRUE)
19 Apr 2019 by MadMyche
Sorry, never went to college so I never learned how to do my own assignments; much less someone else's. In all seriousness, this is your homework. It is intended for you to reinforce what you have learned. Asking others to do this for you means you've learned nothing about the course. So try...