C-c C-d with new R functions/ more

S.McClatchie s.mcclatchie at niwa.cri.nz
Fri Mar 1 02:32:21 CET 2002

System info:
R Version 1.4.1  (2002-01-30) on Windows 2000
ESS v. 5.1.20 using emacs ver. 20.1.1


On 27 Feb 2002,, Rich Heiberger wrote (re: re: C-c C-d with new R 

> I can't duplicate your C-c C-d problem.  I tried typing your function
> definition into the *R* buffer and then did C-c C-d.  A perfectly
> appropriate rmh.ts.vs.area.R buffer appeared.  I did not get the
> (Wrong type argument: stringp nil). message.

Hi Rich

I think that you may be able to duplicate my problem if you just start with 
no function and type C-c C-d to begin a new function. This is how I 
normally began creating functions in the previous version of ESS. 

>From the R > prompt C-c C-d takes me to the mini buffer where the 
query returned is 'Object to edit:'

I then type into the min buffer 'my.new.function'
and the error message returned in the min buffer is 'Wrong type 
argument: stringp, nil'

On the other hand, if I copy some properly coded text into an emacs 
buffer to create the function script and save it in the R-src subdirectory of 
my data directory, in the correct filename format for my R scripts, eg, 
'smc.my.new.function.R', this script dumps fine with C-c C-d and  loads 
with C-c C-l.

Hope this additional information helps a little,

Best fishes


Thanks for the help,
Sam McClatchie, 
Research scientist (fisheries acoustics))))))))))

NIWA (National Institute of Water & Atmospheric Research Ltd)
Postal address: PO Box 14 901, Kilbirnie, Wellington, New Zealand. 

Street address: 301 Evans Bay Parade, Greta Point, 6003 Wellington, New Zealand.

Email: s.mcclatchie at niwa.cri.nz, 
phone 64-04-386-0574, FAX: 64-4-386 0574. 

...>><xX(°> // \\
                 /// \\\   
                //// \\\\
               ///  <°)Xx><<
              /////  \\\\\\
  >><(((°>   ...>><xX(°>O<°)Xx><<

ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch

More information about the ESS-help mailing list