Coding tips #3
CamilleCoux
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hellou,
I had a request for a geek session, but the google spreadsheet was too restricted for me to develop my idea. So here we are in the new Github "Discussion" feature, under the "Ideas" category <3 Here it comes:
I'd like to get some advice along the lines of Nico's Rcompendium package, i.e. how to organise scripts for analyses such that they are organised almost exclusively in functions. I try to use the few rules of thumb that I know of, such as "if you repeat an action more than twice, then write a function for it". I also understand that the "main.R" script is supposed to be the Sauron Script, the one that governs them all. But I still have recurring issues when I try to do this :
These have been bothering me for as long as I've tried to optimise my coding, and I think there should be more to it than just one 30 min session. What does everone else think ? Let's try to use this discussion space for this :)
Cheers
Beta Was this translation helpful? Give feedback.
All reactions