Posts by mribeirodantas • 21 points
3 posts
-
0
votes1
answer81
viewsA: Doubt in exercise of R
I wrote the code based on snippet that you wrote in your question. while(TRUE) { atleta <- readline(prompt = "digite o nome do atleta: ") if (atleta == '') { break } dframe <- matrix(nrow=5,…
ranswered mribeirodantas 21 -
2
votes1
answer185
viewsA: How to import a large . txt file with data.frames and columns?
If your computer doesn’t have enough RAM to load this data, I would load it into a SGDB like the Postgresql (even if fwf) and pull the data from the R using some package to interact with Postgresql.…
ranswered mribeirodantas 21 -
0
votes3
answers518
viewsA: Conditional Sum on each R line?
When you are dealing with some repetition strategy, it is worth checking if it is not a loop (loop) that you are looking for. No snippet below I used a for. objetoA<- 100 valor <- 20…
ranswered mribeirodantas 21