I am returning to using R after a little time away.

Saw some great new functions in the fields package and decided to upgrade.

Everything seems to go fine until I tried to actually load the package, when
I get an error:

>library(fields)
Error in parse(file, n, text, prompt) : syntax error on line 227

And (of course) I am unable to access any of the functions in the fields
package.

Below is the full install session.

thanks for any help!
Jim

--------------------------

[EMAIL PROTECTED] R

R : Copyright 2003, The R Foundation for Statistical Computing
Version 1.8.1  (2003-11-21), ISBN 3-900051-00-3

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.

[Previously saved workspace restored]

> update.packages(ask=TRUE)
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
Content type `text/plain' length 144627 bytes
opened URL
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... .
downloaded 141Kb

fields :
 Version 1.4.2 in /usr/lib/R/library
 Version 3.5 on CRAN
Update (y/N)?  y
xgobi :
 Version 1.2-12 in /usr/lib/R/library
 Version 1.2-13 on CRAN
Update (y/N)?  N
trying URL `http://cran.r-project.org/src/contrib/fields_3.5.tar.gz'
Content type `application/x-gzip' length 447560 bytes
opened URL
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......
downloaded 437Kb

* Installing *source* package 'fields' ...
** libs
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c css.f -o css.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c csstr.f -o
csstr.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c cvrf.f -o
cvrf.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c dchold.f -o
dchold.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c dcopy.f -o
dcopy.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c ddot.f -o
ddot.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c dlv.f -o dlv.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c dmaket.f -o
dmaket.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c drdfun.f -o
drdfun.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c dsetup.f -o
dsetup.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c expbs.f -o
expbs.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c expfn.f -o
expfn.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c gaspbs.f -o
gaspbs.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c gaspfn.f -o
gaspfn.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c gcvcss.f -o
gcvcss.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c gcvfc.f -o
gcvfc.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c hsort.f -o
hsort.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c ifind.f -o
ifind.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c inpoly.f -o
inpoly.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c lscv.f -o
lscv.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c m2deb.f -o
m2deb.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c mkpoly.f -o
mkpoly.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c mltdrb.f -o
mltdrb.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c mltdtd.f -o
mltdtd.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c msort.f -o
msort.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c multeb.f -o
multeb.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c multgb.f -o
multgb.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c multrb.f -o
multrb.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c radbas.f -o
radbas.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c radfun.f -o
radfun.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c rcss.f -o
rcss.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c rcssr.f -o
rcssr.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c rcsswt.f -o
rcsswt.o
g77 -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c sortm.f -o
sortm.o
gcc -shared -L/usr/local/lib -o fields.so css.o csstr.o cvrf.o dchold.o
dcopy.o
ddot.o dlv.o dmaket.o drdfun.o dsetup.o expbs.o expfn.o gaspbs.o gaspfn.o
gcvcss.o gcvfc.o hsort.o ifind.o inpoly.o lscv.o m2deb.o mkpoly.o mltdrb.o
mltdtd.o msort.o multeb.o multgb.o multrb.o radbas.o radfun.o rcss.o rcssr.o
rcsswt.o
sortm.o  -L/usr/local/lib -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2 -L/usr/
lib/gcc-lib/i386-redhat-linux/3.2.2/../../.. -lfrtbegin -lg2c -lm -lgcc_s
** R
** data
** help
 >>> Building/Updating help pages for package 'fields'
     Formats: text html latex example
  BD                                text    html    latex   example
  Exponential                       text    html    latex
  Krig.Amatrix                      text    html    latex   example
  Krig                              text    html    latex   example
  Krig.engine.default               text    html    latex   example
  Krig.null.function                text    html    latex
  RMprecip                          text    html    latex   example
  Tps                               text    html    latex   example
  US                                text    html    latex   example
  US.dat                            text    html    latex
  W.info                            text    html    latex   example
  Wimage.cov                        text    html    latex   example
  Wimage.info                       text    html    latex   example
  Wimage.info.plot                  text    html    latex   example
  Wtransform                        text    html    latex   example
  add.image                         text    html    latex   example
  arrow.plot                        text    html    latex   example
  as.image                          text    html    latex   example
  as.surface                        text    html    latex   example
  bplot                             text    html    latex   example
  bplot.xy                          text    html    latex   example
  colorbar.plot                     text    html    latex   example
  cover.design                      text    html    latex   example
  diag_mult                         text    html    latex
  drape.plot                        text    html    latex   example
  exp.cov                           text    html    latex   example
  fields-internal                   text    html    latex
  fields-stuff                      text    html    latex
  fields                            text    html    latex   example
  fields.hints                      text    html    latex   example
  fields.tests                      text    html    latex
  flame                             text    html    latex
  gcv.Krig                          text    html    latex   example
  grid.list                         text    html    latex   example
  image.cov                         text    html    latex   example
  image.plot                        text    html    latex   example
  image.smooth                      text    html    latex   example
  interp.surface                    text    html    latex   example
  krig.image                        text    html    latex   example
  lennon                            text    html    latex
  minitri                           text    html    latex
  ozone                             text    html    latex   example
  ozone2                            text    html    latex   example
  plot.Krig                         text    html    latex   example
  plot.Wimage                       text    html    latex   example
  plot.surface                      text    html    latex   example
  poisson.cov                       text    html    latex   example
  predict.Krig                      text    html    latex   example
  predict.se.Krig                   text    html    latex   example
  predict.se                        text    html    latex   example
  predict.surface                   text    html    latex   example
  print.Krig                        text    html    latex   example
  qsreg                             text    html    latex   example
  quilt.plot                        text    html    latex   example
  rat.diet                          text    html    latex
  rdist                             text    html    latex   example
  rdist.earth                       text    html    latex   example
  set.panel                         text    html    latex   example
  sim.Krig                          text    html    latex   example
  sim.rf                            text    html    latex   example
  smooth.2d                         text    html    latex   example
  splint                            text    html    latex   example
  sreg                              text    html    latex   example
  stats                             text    html    latex   example
  stats.bin                         text    html    latex   example
  summary.Krig                      text    html    latex   example
  summary.ncdf                      text    html    latex
  surface.Krig                      text    html    latex   example
  tim.colors                        text    html    latex   example
  transformx                        text    html    latex   example
  vgram                             text    html    latex   example
  vgram.matrix                      text    html    latex   example
  world                             text    html    latex   example
  xline                             text    html    latex   example
  yline                             text    html    latex   example
* DONE (fields)

Delete downloaded files (y/N)? y

> q()
Save workspace image? [y/n/c]: y
[EMAIL PROTECTED] R

R : Copyright 2003, The R Foundation for Statistical Computing
Version 1.8.1  (2003-11-21), ISBN 3-900051-00-3

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.

[Previously saved workspace restored]

> library(fields)
Error in parse(file, n, text, prompt) : syntax error on line 227

______________________________________________
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.

Reply via email to