[R] R: corrupted smoothing kernel ?

Rolf Turner r.turner at auckland.ac.nz
Fri May 15 00:27:22 CEST 2009


On 15/05/2009, at 10:04 AM, mauede at alice.it wrote:

> I have just installed R2.9.0 on my Windows XP system.
> I have followed the same installation procedure I have been using  
> for over a year. That is installation
> from the "exe" file.
> "kernel" belongs to package "stats"which is (I think) installed by  
> default.
> I loaded it but did not use the command:
>> library(stats)
> Now I did and it works fine for me too.
> I am sorry. I though such a command is only necessary when a  
> package is installed.

I think you are missing the point.  The stats package is (or should  
be) loaded automatically
when you start R.  There is (should be) no need to do library(stats).

To make sure your installation is working correctly in this regard:

	* start R
	* _without_ doing ``library(stats)'' type ``search()''
	* you should see ``package:stats'' in the search path which is listed

The point that Uwe was making was that you probably had some *other*  
package loaded,
said package containing a density() function (with only one  
argument?) which masked
the density() function in the stats package.

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}




More information about the R-help mailing list