Modular programming in R language

0 votes
I'm new to the R language. I was wondering if it is possible to shrink R scripts by packaging sections of it into sub scripts, like modules.

Which is the best way to split data-reading, plotting, designing, exporting, etc in different R modules?
Jan 31, 2019 in Data Analytics by Sophie may
• 10,550 points
139 views

1 answer to this question.

0 votes
R provides support to create subscripts.

For ex. you can use the 'source' module to source the subscripts.
answered Jan 31, 2019 by Tyrion anex
• 8,660 points

Related Questions In Data Analytics

0 votes
2 answers

What are the rules to define a variable name in R programming language?

The same rules almost follow for all ...READ MORE

answered Aug 26, 2019 in Data Analytics by anonymous
• 32,930 points
5,328 views
0 votes
3 answers

Can a C program be written in R programming language?

If you have a algorithm you can ...READ MORE

answered Apr 9, 2019 in Data Analytics by anonymous
464 views
+1 vote
1 answer

In R programming language, how do I export data in .txt?

See this image for ways to export ...READ MORE

answered Oct 11, 2019 in Data Analytics by ashwini
104 views
0 votes
0 answers

How can i change elements in r programming language

If A=1,2,3 and B=1,2,3,4 and C=20,44,39 in ...READ MORE

Jul 23, 2020 in Data Analytics by Arpita
• 120 points
113 views
+10 votes
3 answers

Which is a better initiative to learn data science: Python or R?

Well it truly depends on your requirement, If ...READ MORE

answered Aug 8, 2018 in Data Analytics by Abhi
• 3,720 points
318 views
+1 vote
2 answers
0 votes
1 answer

R programming logic

Use gsub to match the substring that we want ...READ MORE

answered Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
109 views
0 votes
1 answer
0 votes
1 answer

Check if a matrix is diagonalizable in R Programming Language

On a given matrix, a, the first way ...READ MORE

answered Dec 24, 2018 in Data Analytics by Tyrion anex
• 8,660 points
357 views
+1 vote
3 answers

How to change the value of a variable using R programming in a data frame?

Try this: df$symbol <- as.character(df$symbol) df$symbol[df$sym ...READ MORE

answered Jan 11, 2019 in Data Analytics by Tyrion anex
• 8,660 points
25,442 views