Hi,

Thanks to everyone that replied! Sorry I didn't respond sooner, but I was out of town. I did install the X11 SDK package and that took care of the subsequent problems with Tk. However, as suggested by Prof. RIpley, I could have just installed the binary from the link below (just looked again at the website now and there will be a newer version available on 10-/15/04). I do need to learn more about unix... Anyway, it's working great and I'm excited to get started. I'll download all the manuals and start using R.

I do have one more question regarding the contributed packages for base distribution. I will mostly be using this software for basic summary stats, plots (histograms, boxplots, scatterplots), regression, non-parametric tests, and time series. Will I need to install any of these additional packages?

Thanks again to everyone for their assistance.

Nancy



On Oct 5, 2004, at 12:30 AM, Prof Brian Ripley wrote:

There is a binary installation available at

        http://cran.r-project.org/bin/macosx/

so do you actually need to be building from the sources? If you do, your
immediate problem is installing Tk on MacOS X, and that's not something
relevant to R-help. However, Tk on Unix needs X11, whose installation you
omitted.


On Mon, 4 Oct 2004, Nancy Hornewer wrote:

Hi,

I'm  trying to install R for Mac OS X. I printed out the Mac OS X FAQ
(version 1.9-1 2004-03-22) and have been following those instructions
step-by-step. I'm a _complete_ novice when it comes to non-mac type
software installations and am not very unix literate, but I'm hoping I
can get this to work. I'm running a dual 1.8 GHz mac with the latest
version of panther.

Here's my progress to date:
(1) Installed the C/C++ compiler from the Apple Developer Connection
(v. 1.5) - no problems
(2) Installed the Fortran compiler g77 for gcc 3.3 (v. 3.4) - no
problems
(3) Installed the libreadline library (v. 4.3) [note faq said
optional, but I saw that it was recommended in one of the r-help
archives] - no problems
(4) Didn't install X11 SDK package because it was optional and I don't
think I need that (just want to run this on my machine)
(5) Installed tcl8.4.7 - no problems
(6) Tried installing tk8.4.7 but received many many error messages when
I typed "make". Here is the last portion of those messages:


/tk8.4.7/generic/tk3d.c: In function `Tk_Get3DBorderFromObj':
/tk8.4.7/generic/tk3d.c:1262: error: `borderPtr' undeclared (first use
in this function)
/tk8.4.7/generic/tk3d.c:1264: error: invalid operands to binary *
/tk8.4.7/generic/tk3d.c:1264: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1277: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1280: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1280: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1281: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1301: error: request for member `borderTable'
in something not a structure or union
/tk8.4.7/generic/tk3d.c:1301: error: request for member `borderTable'
in something not a structure or union
/tk8.4.7/generic/tk3d.c:1305: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1307: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1307: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1308: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c: In function `TkDebugBorder':
/tk8.4.7/generic/tk3d.c:1388: error: `borderPtr' undeclared (first use
in this function)
/tk8.4.7/generic/tk3d.c:1391: error: invalid operands to binary *
/tk8.4.7/generic/tk3d.c:1391: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1394: error: request for member `borderTable'
in something not a structure or union
/tk8.4.7/generic/tk3d.c:1394: error: request for member `borderTable'
in something not a structure or union
/tk8.4.7/generic/tk3d.c:1396: error: parse error before ')' token
/usr/include/ctype.h: At top level:
/tk8.4.7/generic/tk3d.c:1134: error: storage size of `shiftTable' isn't
known
/tk8.4.7/generic/tk3d.c:31: warning: `BorderInit' declared `static' but
never defined
/tk8.4.7/generic/tk3d.c:36: warning: `Intersect' declared `static' but
never defined
/tk8.4.7/generic/tk3d.c:39: warning: `ShiftLine' declared `static' but
never defined
{standard input}:1940:Ignoring attempt to re-define symbol.
{standard input}:1943:Ignoring attempt to re-define symbol.
{standard input}:1979:Ignoring attempt to re-define symbol.
{standard input}:1982:Ignoring attempt to re-define symbol.
{standard input}:1985:Ignoring attempt to re-define symbol.
{standard input}:1988:Ignoring attempt to re-define symbol.
make: *** [tk3d.o] Error 1
cm-24-121-11-63:/tk8.4.7/unix nancy$


I'm not sure why this didn't work and tried the "make" command twice (I
hope I didn't mess anything up by running that command twice). I can
email the entire list of errors if necessary, but it is really long.


After the above failed, I did install the next item on the faq list:
TeX and that seemed to work fine.

I haven't yet tried installing the R sources yet because I was afraid
that it might have to be installed after tk.

Any assistance that you can provide would be greatly appreciated.

Thank you,
Nancy

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




-- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595



______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to