[R] Installing Packages from a Local Repository
Hi everyone, I've followed the instructions from R-Admin Section 6.6 for creating a local repository. I've modified my Rprofile.site file to add the local repository to my repos, but I haven't been able to successfully install my package from the repo. Here's the code that I've run. ## sessionInfo() getOption(repos) setwd(Q:/Integrated Planning/R) list.files(path = ., recursive = TRUE) tools::write_PACKAGES(bin/windows/contrib/2.15, type = win.binary) list.files(path = ., recursive = TRUE) install.packages(RTIO) install.packages(RTIO, repos = Q:/Integrated Planning/R) install.packages(RTIO, repos = Q:/Integrated Planning/R, type = win.binary) unlink(c(bin/windows/contrib/2.15/PACKAGES,bin/windows/contrib/2.15/PACKAGES.gz)) click here http://totalltelugumovies.blogspot.in -- View this message in context: http://r.789695.n4.nabble.com/Installing-Packages-from-a-Local-Repository-tp4653820.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] MLE with R
click here This is a link http://www.w3schools.com -- View this message in context: http://r.789695.n4.nabble.com/MLE-with-R-tp4653818p4653819.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] small issue with over-zealous clean.
Noticed a problem for a while - tests/testit.Rd, tests/ver20.Rd are removed on make clean unintentionally. This seems to come from a change in tests/Makefile.in, which adds the line:-@rm -f *.tar.gz *.Rd back in May 2012. --- commit c4d70254e7b7f9d7ed17faecfb3097195d852ddc Author: ripley ripley@00db46b3-68df-0310-9c12-caf00c1e9a41 Date: Sun May 27 09:04:41 2012 + fix some issues seen by examining no-segfaults.Rout click here http://totalltelugumovies.blogspot.in -- View this message in context: http://r.789695.n4.nabble.com/small-issue-with-over-zealous-clean-tp4653821.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Latitudinal mean of values in a data frame
Dear all, I have a big file containing latitude points(-10 to 80) and corresponding values. Example data Lat=c(69.48134, 69.49439, 69.50736, 69.52026, 69.52438, 69.53308, 69.53746, 69.54365, 69.54582, 69.6884, 69.69272, 69.998, 70.00055, 70.00106, 70.00295, 70.00308, 70.00363, 70.00427, 70.00665, 70.00906, 70.01049, 70.01053, 70.01075, 70.01208, 70.01236, 70.01418, 70.01452, 70.01646, 70.01983, 70.0209, 70.02298, 70.02386, 70.02533, 70.02534, 70.02856, 70.0291, 70.02983, 70.03091, 70.03267, 70.03423) Value=c(0.18917075, 0.18856758, 0.1877328, 0.18664664, 0.18871901, 0.18528864, 0.18797649, 0.18999862, 0.1836383, 0.15414046, 0.18542965, 0.13914858, 0.1654665, 0.12885736, 0.18935319, 0.1912378, 0.14910094, 0.17590007, 0.18369354, 0.12546185, 0.16096813, 0.18851039, 0.14388486, 0.19098477, 0.17252013, 0.12965086, 0.12256515, 0.18159349, 0.15608113, 0.18742996, 0.13858418, 0.16865459, 0.19058037, 0.12531143, 0.19189732, 0.12019097, 0.1790819, 0.15086053, 0.18607724, 0.13330366) dframe=data.frame(Lat, Value) click here http://totalltelugumovies.blogspot.in -- View this message in context: http://r.789695.n4.nabble.com/Latitudinal-mean-of-values-in-a-data-frame-tp4653822.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Removing named objects using rm(..)
When I import the library timeSeries I get (at least) the variable USDCHF imported too. I would like to delete it, but I cannot. As you can see below. Clearly I am doing something wrong. What is it? library(timeSeries) Loading required package: timeDate class(USDCHF) [1] timeSeries attr(,package) [1] timeSeries rm(list=c(USDCHF)) Warning message: In rm(list = c(USDCHF)) : object 'USDCHF' not found rm(USDCHF) Warning message: In rm(USDCHF) : object 'USDCHF' not found class(USDCHF) [1] timeSeries attr(,package) [1] timeSeries click here http://totalltelugumovies.blogspot.in -- View this message in context: http://r.789695.n4.nabble.com/Removing-named-objects-using-rm-tp4653823.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Renaming column names according to another dataframe
Hi, I've got a dataframe having a code as column name. Addtionally I have another dataframe with a two columns (and lots of rows), the first containing the code and the second some Text (real name). Now I'd like to use the information (pairs of code and name) of the second dataframe to rename all the columnnames in the first dataframe. How is it possible to achieve that? Here a small example of the two dataframes: df - data.frame(A=(1:10),B=(1:10),C=(1:10)) df_names - data.frame(code=c(A,B,C,D,E),name=c(Col A,Col B,Col C,Col D,Col E)) click here http://totalltelugumovies.blogspot.in -- View this message in context: http://r.789695.n4.nabble.com/Renaming-column-names-according-to-another-dataframe-tp4653824.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.