Thank you John! These videos are so helpful for beginners! 😃👍
@browniekoh5401 Жыл бұрын
What are the differences between Blogdown vs. Quarto? I saw many posts (than I expected) who are switching from Blogdown to Quarto but based on example websites it looks like Blogdown is much smoother at loading all interactive posts/backgrounds compared to Quarto. I think this one difference can be a big advantage already for website builders. Then Why is Quarto so popular over Blogdown recently?
@soren-1184 Жыл бұрын
Roxygen or roxygen 2?
@Fyacc2 жыл бұрын
Thanks for this video! When trying to read in the data attached to the package I’m building I get an error saying error in load(zfile, envir=temp_env): bad restore file magic number. Please help
@mjmusch2 жыл бұрын
I'd do "cat" on the zfile to make sure it's an Rda. Also, if it's zipped (is that why you called it zfile?) then you may need to unzip first (rdas can be compressed when saving).
@Fyacc2 жыл бұрын
@@mjmusch thank you! To the best of my knowledge, no it’s not zipped, I also converted it to rda but got the same error
@garnethope11362 жыл бұрын
THANK YOUUUUUUU
@jiaojiaozhou45772 жыл бұрын
This is exactly what I need, very clear and good quality. Thanks
@terranceallmade58992 жыл бұрын
Hey, geniune question here. Can I still use this video and the videos following it at this time? Or are enough things outdated that I probably shouldn't use it as a total beginer?
@mjmusch2 жыл бұрын
These are a bit dated
@hannukoistinen53292 жыл бұрын
Ever heard of laptop? Punching buttons is history boe. And where is your analysis? Just showing how good you think you are?
@pandaLover81792 жыл бұрын
Thanks for this amazing tutorial. Thanks.
@sreyarthamukherjee16422 жыл бұрын
Thanks John. This is very helpful. I am moving some new r files inside an existing R package. However, when I am trying to load the package again using library(), getting error -- "Could not find library". Any help ?
@mjmusch2 жыл бұрын
You should not use library() inside a package. You should use package::function() syntax. When you say "existing" R package, if that package is not yours, you should not do this unless you're planning on reaching out to that maintainer to incorporate (or potentially reject) these changes.
@sreyarthamukherjee16422 жыл бұрын
@@mjmusch I have created some new codes (two new R scripts) and copied them inside the existing package that is supposed add new features to the existing package. The package is built using S4 class. FYI I am not using library() inside the package. I am using it while calling the package just like we do in case of other inbuilt packages. Thanks for the reply. Any help is highly appreciated.
@mjmusch2 жыл бұрын
@@sreyarthamukherjee1642 You need to use devtools to build the package, see load_all and other devtools functions to build the package and check the package. You can't use library until you install that development version of the pacakage.
This is very helpful, thank you for sharing with us. I'm now heading to the next video :)
@shichengguo80643 жыл бұрын
anything usethis function to support "Non-R scripts in packages", for example I have perl code in my R package. Thanks.
@buffboy7103 жыл бұрын
I didn't know matthew mcconaughey gave R tutorials on youtube 😂
@adeelkhan8004 жыл бұрын
Thanks for making these videos! Quite helpful. Though I am getting a warning of 'qpdf' is needed for checks on size reduction of PDFs
@mjmusch4 жыл бұрын
You can install qpdf via apt-get install qpdf (linux), brew install qpdf (mac), or Windows: stackoverflow.com/questions/41570633/how-to-build-qpdf-on-windows
@adeelkhan8004 жыл бұрын
@@mjmusch Thanks for such a prompt reply. It worked like a charm. Initially was having a problem with installing qpdf. But It worked now.
@angieamanda24554 жыл бұрын
I bought a cc from @Darkphin3 on telegram best vendor I know and very trustworthy.He sell cc,fullz,Ban,
@rajkumarmanoharlalvishnani9584 жыл бұрын
give us r script
@mjmusch4 жыл бұрын
An R script of what? github.com/muschellij2/ebrentjames.git is the Git repo.
@DanielAlvaradoOspino4 жыл бұрын
why i cant do commit whit folders? like public, themes...
@monkeyofwar68184 жыл бұрын
I'm not able to stage any of the files when committing, do you know how do I fix this?
@hogi764 жыл бұрын
thank you ^^
@yogeshsangalereal4 жыл бұрын
Thanks John it was really helpful, can I get your mail id please?
@michaeltube38454 жыл бұрын
test
@rajthakkar96144 жыл бұрын
If I want to use 3 functions from a package how should we write for importFrom ? Or should we load the entire package?
@mjmusch4 жыл бұрын
I respect your willingness to learn, but this isn't a forum for a Q&A over and over... Can you connect with local help? Last answer: @importFrom pkg func1 func2 func3
@rajthakkar96144 жыл бұрын
@@mjmusch ok
@samirarman39334 жыл бұрын
Real quality resource here! Thank you for your time and effort putting all this together.
@Rutvi_patel_11114 жыл бұрын
Sir some uses return() while some use invisible() to return output from the function. Sir whats difference between both?
@mjmusch4 жыл бұрын
From `invisible` help page: This function can be useful when it is desired to have functions return values which can be assigned, but which do not print when they are not assigned.
@Rutvi_patel_11114 жыл бұрын
@@mjmusch Thank you
@Rutvi_patel_11114 жыл бұрын
Sir what does this line do in return section "The output from \code{\link{print}}" Can you please elobarate
@mjmusch4 жыл бұрын
\code makes the text look like "code" - monospace font. And \link creates a link to that function's documentation in the help file to click and go to that help file.
@Rutvi_patel_11114 жыл бұрын
@@mjmusch Thanks sir for the explanation
@Rutvi_patel_11114 жыл бұрын
Where did the print function prepared by you at 11 min in the video got saved? In R or man?
@mjmusch4 жыл бұрын
R. Nothing goes in man from you. roxygen2 takes care of that.
@Rutvi_patel_11114 жыл бұрын
@@mjmusch Ok Got it
@Rutvi_patel_11114 жыл бұрын
I am not getting git option while making new project -> package . Does that require any package to be installed?
@mjmusch4 жыл бұрын
You need to install git (not an R package): git-scm.com/downloads
@Rutvi_patel_11114 жыл бұрын
@@mjmusch Thanks for responding :)
@agrianalyze4 жыл бұрын
I want to add this example in my finction data<-c(10,100,0,120,230) logtransform(data) The problem is it had 2 lines. First-line for generating data and another for demonstration of my function. This throws error for using multiple lines
@mjmusch4 жыл бұрын
I don't exactly understand you question. Do you mean example_func = function() { data<-c(10,100,0,120,230) log(data) }
@agrianalyze4 жыл бұрын
I am working on making a package. It uses a package named agricolae. The package gives warning when loaded. So how to supress that warning. Calls: suppressPackageStartupMessages
@mjmusch4 жыл бұрын
You should use imports vs. depends in this situation also.
@rajpopat20994 жыл бұрын
Very useful
@taiwankyh4 жыл бұрын
Thanks for your video; I do learn some new good ideas
@iustingeorgevici55094 жыл бұрын
Thank you for those very valuable videos!
@shanebagel4 жыл бұрын
Broski post the data set
@Lakhan03094 жыл бұрын
My R studio dont show option to generate documentation from roxygen
@mjmusch4 жыл бұрын
You likely need to do install.packages(c("roxygen2", "devtools"))
@komlanamendogbe13484 жыл бұрын
Nice!
@muhammadezzat27094 жыл бұрын
Can someone help me with this? I created the package and even after watching the video I still have no clue what to do.
@mjmusch4 жыл бұрын
Do you have funding? It's hard to support such efforts without funding to do this
@muhammadezzat27094 жыл бұрын
I figured it out myself, thank you anyway. Have a nice day.
@riccardoesclapon5494 жыл бұрын
So cool!
@darmaw225 жыл бұрын
Many thanks, John!
@alexanderkononov40685 жыл бұрын
This is a really rare topic at all. Thank you it is really helpful!
@MBNebel5 жыл бұрын
Thank God this video exists.
@madidnenihimaja5 жыл бұрын
I dont see "Git" in the version control. Can you help me out to get "Git" in it
@mjmusch5 жыл бұрын
Go to Preferences → Git/SVN and start there. Install git from git-scm.com/
@Njao6q4vrv735 жыл бұрын
Super cool
@taewonkim56945 жыл бұрын
Hello, John. Thank you for a great video. I am trying to integrate Papaya into my webpage but having a hard time doing this. May I ask how you connect Papaya to your webpage? Did you serve Papaya locally and connect your webpage to your local server?
@mjmusch5 жыл бұрын
I simply would load the papaya JS library in the webpage itself. You can see an example at johnmuschelli.com/neuroc/linked_viewers/index.html and the code here to generate it github.com/muschellij2/neuroc/tree/master/linked_viewers
@Donnie31225 жыл бұрын
Is it possible to expand blogdown to be hosted with a unique domain name and therefore searchable with google (i.e. www.customnamehere.com)?
@mjmusch5 жыл бұрын
YOu have to register that domain with a service such as Google.