To Whom It May Concern: I need to use various packages in R and I also want to use Textmate. Problem 1: Textmate doesn't seem to recognize the packages that are already installed on R. Problem 2: When I execute the following command: install.packages("ade4", repos="http://cran.r-project.org", contriburl = contrib.url( "http://streaming.stat.iastate.edu/CRAN/", type="MacBinary"), dependencies=TRUE, installWithVers=TRUE) I download the package, but it is for R version 2.6 rather than the current version 2.7.1. Is there anyway to either point R in the right direction for the packages or have R install the correct version of the packages. Much appreciated, Art
Arthur Roberts wrote:> To Whom It May Concern: > > I need to use various packages in R and I also want to use Textmate. > Problem 1: Textmate doesn't seem to recognize the packages that are > already installed on R. Problem 2: > > When I execute the following command: > > install.packages("ade4", repos="http://cran.r-project.org", contriburl = > contrib.url( "http://streaming.stat.iastate.edu/CRAN/", > type="MacBinary"), dependencies=TRUE, installWithVers=TRUE)>> I download the package, but it is for R version 2.6 rather than the > current version 2.7.1.Hmmm. I do not believe you get anything by that call.> Is there anyway to either point R in the right direction for the > packages or have R install the correct version of the packages.You can choose the mirror by chooseCRANmirror() and simply ask to install.packages("ade4", dependencies=TRUE, installWithVers=TRUE) or specify the mirror and the type of package in the call as follows: download.packages("ade4", repos="http://streaming.stat.iastate.edu/CRAN", type="mac.binary", dependencies=TRUE, installWithVers=TRUE) Uwe Ligges> Much appreciated, > Art > > ______________________________________________ > R-help at 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.
Art, Could it be the case TextMate is activating the wrong version of R (2.6 vs. 2.7.1). Are you using R.app? If so, and if the R.app is in the dock, does the correct R dance when you send a file to R without R running? Rob On Jul 24, 2008, at 3:07 PM, Arthur Roberts wrote:> To Whom It May Concern: > > I need to use various packages in R and I also want to use > Textmate. Problem 1: Textmate doesn't seem to recognize the > packages that are already installed on R. Problem 2: > > When I execute the following command: > > install.packages("ade4", repos="http://cran.r-project.org", > contriburl = contrib.url( "http://streaming.stat.iastate.edu/CRAN/", > type="MacBinary"), dependencies=TRUE, installWithVers=TRUE) > > I download the package, but it is for R version 2.6 rather than the > current version 2.7.1. > > Is there anyway to either point R in the right direction for the > packages or have R install the correct version of the packages. > > Much appreciated, > Art > > ______________________________________________ > R-help at 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.
On 25.07.2008, at 17:06, Rob Goedman wrote:> Art, > > Could it be the case TextMate is activating the wrong version of R > (2.6 vs. 2.7.1).I do not believe this. TextMate is using the normal R Terminal. I invoked the following command in a Rdaemon environment: install.packages("ade4", repos="http://cran.r-project.org", contriburl = contrib.url( "http://streaming.stat.iastate.edu/CRAN/", type="mac.binary"), dependencies=TRUE, installWithVers=TRUE) with Mac OSX 10.4.11, R 2.7.0 and I got this Package: ade4 Version: 1.4-9 Date: 2008/5/23 ... URL: http://pbil.univ-lyon1.fr/ADE-4, Mailing list: http://listes.univ-lyon1.fr/wws/info/adelist Packaged: Fri May 23 16:28:17 2008; penel Built: R 2.7.0; universal-apple-darwin8.10.1; 2008-05-26 03:43:26; unix What version of TextMate do you are using and esp. which R bundle?? --Hans