Re: [R] install package from CRAN

2009-07-28 Thread cindy Guo
Hi, Thank you for asking. Actually I downloaded the tar.gz file as Mark said and used R CMD INSTALL -l . package.tar.gz to install. I didn't know I can download CRAN packages from the internet. I am not a unix person, so I struggled a lot with the commands on unix and directories especially. I

Re: [R] install package from CRAN

2009-07-28 Thread stephen sefick
What was the problem- out of curiosity? Stephen Sefick On Tue, Jul 28, 2009 at 9:23 PM, cindy Guo wrote: > Hi, > > Thank you for all your replies. I got it work now. > > Cindy > > On Tue, Jul 28, 2009 at 6:09 PM, Dirk Eddelbuettel wrote: > >> >> Cindy, >> >> On 28 July 2009 at 17:15, cindy Guo w

Re: [R] install package from CRAN

2009-07-28 Thread cindy Guo
Hi, Thank you for all your replies. I got it work now. Cindy On Tue, Jul 28, 2009 at 6:09 PM, Dirk Eddelbuettel wrote: > > Cindy, > > On 28 July 2009 at 17:15, cindy Guo wrote: > | I have a very basic question about install packages from CRAN on unix. I > | only installed on Windows before. Sh

Re: [R] install package from CRAN

2009-07-28 Thread Dirk Eddelbuettel
Cindy, On 28 July 2009 at 17:15, cindy Guo wrote: | I have a very basic question about install packages from CRAN on unix. I | only installed on Windows before. Should I use the command install.package? | The error message I got is | syntax error near unexpected token `"mvtnorm"' | Is it because

Re: [R] install package from CRAN

2009-07-28 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of cindy Guo > Sent: Tuesday, July 28, 2009 5:36 PM > To: Steve Lianoglou > Cc: r-help@r-project.org > Subject: Re: [R] install package from CRAN > > Hi,

Re: [R] install package from CRAN

2009-07-28 Thread Steve Lianoglou
Hi, On Jul 28, 2009, at 8:36 PM, cindy Guo wrote: Hi, Steve, Thanks for the response. I did the same thing: install.packages('mvtnorm') -bash: syntax error near unexpected token `'mvtnorm'' I think what may cause difference is that I am using a unix cluster of my university, so I am not t

Re: [R] install package from CRAN

2009-07-28 Thread cindy Guo
Hi, Steve, Thanks for the response. I did the same thing: install.packages('mvtnorm') -bash: syntax error near unexpected token `'mvtnorm'' I think what may cause difference is that I am using a unix cluster of my university, so I am not the administrator. Do I need to set the path? Cindy On

Re: [R] install package from CRAN

2009-07-28 Thread Steve Lianoglou
On Jul 28, 2009, at 8:15 PM, cindy Guo wrote: Hi, I have a very basic question about install packages from CRAN on unix. I only installed on Windows before. Should I use the command install.package? The error message I got is syntax error near unexpected token `"mvtnorm"' Is it because I

[R] install package from CRAN

2009-07-28 Thread cindy Guo
Hi, I have a very basic question about install packages from CRAN on unix. I only installed on Windows before. Should I use the command install.package? The error message I got is syntax error near unexpected token `"mvtnorm"' Is it because I didn't set the path? Which path should I specify? Than