Thanks for your help. Did you try installing httr and memoise separately before installing devtools? No I am not at all familiar with httr or memoise, but I will try them. I remember I never had any trouble installing packages at work or school with just simply running the install.
Now it's a very complicated deal. I'm not sure if it's the new version of R or my laptop or both, but I will see if your suggestion works.
Are httr and memoise applicable to other packages by the way? The one thing I have noticed today though is that my internet connection is very very slow,. I case you have any further questions, let me know in the comments.
I think the code shown in this tutorial is still useful, because it creates a copy of the data on your computer. Unfortunately, it seems like I have missed answering your question. Do you still have problems with this? Your email address will not be published. Post Comment. On this website, I provide statistics tutorials as well as code in Python and R programming.
YouTube privacy policy If you accept this notice, your choice will be saved and the page will refresh. Leave new. Viewed 96k times. Improve this question. Berk U. It's certainly possible to do this, and the install. I didn't realize this at all.
Just to confirm the following snippet should work, correct? Not sure exactly that formalism would work, assuming it is really a list.
The first argument needs to be a character vector. Add a comment. Active Oldest Votes. You can install the package manually using the following command install. In this case, you can use the Write. XLS function from the Write. XLS package. I tried a few packages for writing Excel files and I find this one the most convenient to use.
You can save several dataframes in one Excel file by including the names of the objects at the first position. Here, you could replace data with c "data", "data2". With the parameter SheetNames you can set the names of the data sheets visible at the bottom of Excel, not included in the screenshot. If you want to write several data. Width is a nice parameter because it tries to adjust the width of the columns in Excel in a way that every entry fits in the cells.
BoldHeaderRow is self-explanatory, I guess. You can see the effect in the screenshot. Oh, and by the way, you can set the entries for NA values with the na parameter. If you think that I should also cover other formats of saving a dataset on the disk, please let me know in the comments and I will try to cover them as well. To leave a comment for the author, please follow the link and comment on their blog: Rcrastinate.
Want to share your content on R-bloggers? What I will show you In this post, I want to show you a few ways how you can save your datasets in R. Why would you want to know that? What are we going to do? Preparation: Load some data I will use some fairly but not very large dataset from the car package.
There are two ways of doing this: Use the function save to create an. Rdata file. In these files, you can store several variables. Use the function saveRDS to create an.
0コメント