Only Chanel on KZbin for advanced r users. Thank you!
@brodriguesco3 жыл бұрын
At 20:17, it should be plan(multiprocess, workers = 4) for it to work.
@emintavlayan2 жыл бұрын
You are the man 👍
@kurtkessler36643 жыл бұрын
Thank you Dr. Rodrigues! This is very helpful. I was able to use this immediately. However I had to do one more step after I created the purrr_dfr(). Because I may have 100+ xlsx files, I said: x
@tighthead032 жыл бұрын
Another excellent video
@raretapes8057 Жыл бұрын
I haven’t written a loop in over a year. In that time I stopped drinking, started donating a litre of blood per week and am able to exhibit a photographic memory. Jokes aside: loops suck. No more loops. No more off-by-one index errors.
@andrewchen37353 жыл бұрын
Hi Bruno, been following your video lately, great content! Just wondering, is there an advantage to use R on Spacemacs, or just your personal preference?
@brodriguesco3 жыл бұрын
it comes down to personal preference. Vim-mode in Rstudio is not that great, but is perfect in spacemacs!
@hansmeiser60783 жыл бұрын
I get: Error in .f(.x[[i]], ...) : unused argument (.x[[i]]) with: counter
@brodriguesco3 жыл бұрын
counter needs to be an argument of the function
@hansmeiser60783 жыл бұрын
@@brodriguesco hm...purrr::map(myVect,hello,counter) Error in .f(.x[[i]], ...) : unused argument (0)... Could you provide an example with arguments?
@brodriguesco3 жыл бұрын
sure, give me some time
@brodriguesco3 жыл бұрын
@@hansmeiser6078 here, hope this helps: gist.github.com/b-rodrigues/a3f2b5829d31988d64339f76971df726
@hansmeiser60783 жыл бұрын
@@brodriguesco Thank you very much Bruno! Well, I would never guess it myself, that the error is caused by a variable standing in global env....amazing. For me its seems a little bit strange, that the trigger of hello in map() needs no param. named 'counter'.
@ratral2 жыл бұрын
Thanks 👍
@djangoworldwide79253 жыл бұрын
What's the difference between lapply and map?
@brodriguesco3 жыл бұрын
Hadley Wickham wrote a great answer here stackoverflow.com/a/47123420