Displaying 20 results from an estimated 100 matches similar to: "installing knncat package"
2007 Mar 12
1
knncat question
I use knncat to make a predictive model
and get misclass rate
> knncat.m<-knncat(training.new,k=c(10,20),classcol=5)
> knncat.m
Training set misclass rate: 36.88%
then I try to calculate prediction accuracy by the following:
> pr.knncat.train <- predict
(knncat.m,training.new,training.new,train.classcol=5,newdata.classcol=5)
> tb.knncat.train <-table (pr.knncat.train,
2012 Feb 02
1
knncat broken on R 2.14?
Hi,
Until recently I was using the knncat classifier function of
knncat on an old computer (2.12, Mac OS X 10.4), and
everything worked great.
However, now that I have updated to R 2.14.1 (on Mac OS X
10.7), knncat seems broken. Problems:
1. It seems to output verbose output by default, and
regardless of whether I put 0 or 1 into the verbose option.
2. It seems to just predict
2011 Jun 01
2
Problems Dating....
I'm trying to convert a column in a data frame with dates from a
"Factor" type to a "Date Object" but I am encountering and error. (I am
having trouble plotting an x,y scatter and I suspect it's something with
my data format). I have a table with two columns and 8,000 rows.
> dsort=read.delim("C:\\Documents and Settings\\E066582\\My
2004 Jul 08
1
k nearest neighbor prediction
Hi there fellow R-users,
Does anyone know if there is a package for k nearest neighbours prediction
as opposed to classification? I have found the package knncat but can't see
a way to adjust it to predict a continuous variable.
Any help would be great,
Regards
Wayne Jones
KSS Ltd
Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SS England
Company
2006 Jan 20
2
cron job install/update problems: tcltk can't find display (installing e.g., pbatR)
On Fedora Core Linux 4, I have a cron job that causes R to update all
packages and install new ones. Lately, I notice in the log that some
packages fail to install. These are ones that assume X is running.
For example, the pbatR install requires tcltk to be loaded, and then
the install fails because in a cron job, there is no DISPLAY
environment. I suppose the same happens if you try to
2006 Jan 20
2
cron job install/update problems: tcltk can't find display (installing e.g., pbatR)
On Fedora Core Linux 4, I have a cron job that causes R to update all
packages and install new ones. Lately, I notice in the log that some
packages fail to install. These are ones that assume X is running.
For example, the pbatR install requires tcltk to be loaded, and then
the install fails because in a cron job, there is no DISPLAY
environment. I suppose the same happens if you try to
2003 Nov 22
0
R crashes with package SJava; was Memory leakage?
Dear All,
<<OS and software>>
R-1.81
j2sdk1.4.0_03
SJava_0.66-1
Windows NT4.01
I try to run R from Java with SJava and I seem to have the same problem as
discussed before in this mail list a few month ago:
https://www.stat.math.ethz.ch/pipermail/r-help/2003-May/031960.html
https://www.stat.math.ethz.ch/pipermail/r-help/2003-May/031962.html
2003 Dec 17
1
Building packages in XP
R users,
I recently upgraded (?) to Windows XP from 2000. I am trying to build an R
package. I have done this many times on my old system and I am not sure why
it is not working in XP.
To build the package I call a bat file that specifies all the necessary
paths -- but the "build" file (which appears to be a perl script) is looking
for a "src" subdirectory in the src
2007 Mar 26
1
Problem in loading all packages all at once
Hi All
Please see the Rprofile file which i have modified as follows and after
that when I start R then I see that R says to me "TRUE" for all the
packages implying that all loaded at once.
But when i try to use commands as simple as help("lm"), it doesnt work nor
any of the menu "Packages" is not working.
Although the regression using lm ( Y ~ X ) is working
2004 Jan 29
2
Finding Sweave.sty and other problems
Hi,
I've just tried to run example-3 from Friedrich Leish. I'm using R 1.8.1
and MiKTeX 2.2 on Windows XP.
I go
===
> library(tools)
> Sweave("example-3.Snw")
Writing to file example-3.tex
Processing code chunks ...
1 : term hide
2 : echo term verbatim
3 : term tex
4 : term verbatim eps pdf
You can now run LaTeX on example-3.tex
===
The file example-3.tex
2004 Jan 05
2
build R package on winXP
Hello,
I wrote an R function and want to build an R package on winXP. I have
set my
path:C:\bin;C:\MinGW\bin;C:\Perl\bin\;C:\Tcl\bin;C:\texmf\miktex\bin;C:\Program
Files\R\rw1081\bin;
I tried to run "Rcmd build --help" but failed. Under
C:\WINDOWS\System32\cmd.exe, I got the error message:
Please set TMPDIR to a valid temporary directory.
Under Cygwin, I got the error message:
2003 Dec 04
1
Loading R 1.8.1 (PR#5509)
I downloaded the latest Windows version 1.8.1 from
http://www.stats.bris.ac.uk/R/ (21/11/03 R-1.8.1.tar then to-day the file
is R-1.8.1.tgz) and from Windows unzipped the file. The directory R-1.8.1
is created (rather than rw1081) but no subdirectory 'bin'. I cannot see any
.dll nor .exe files in the directory and I understand from Brian Ripley's
page of 'R for Windows FAQ'
2004 May 02
2
building a "simple" R package
Dear R-ers:
Recognizing that it is better to remain silent and have people think you
stupid than to speak and remove any doubt, I fear that I must speak
nonetheless.
I am having the Devil's own time trying to make a simple R package for my
own use. Yes, I have perused the FAQs and searched the archives. Yes, I
have read "Writing R Extensions" and eventually divined what Rcmd
2004 May 17
1
Problem with package SJava
Hello all,
I'm trying to run SJava package (0.65 modified downloaded from :
http://stats.math.uni-augsburg.de/iPlots/alpha/) on windows NT 2000 and R
1.8.01. I have also downloaded the PDF Calling R from Java and when I want
to execute the following code:
import org.omegahat.R.Java.*;
import java.io.*;
public class Essai{
public static void main (String [] args) {
REvaluator e = new
2004 Feb 17
2
interfacing C++ using .Call
Hi folks,
I apologise if this is in the documentation somewhere, but I can't
seem to find it. I also did a search of CRAN without any success. I'm
using R-1.8.1 (pre-compiled) on Windows 2000 with Rtools and mingw 2.0.0
(which includes gcc/g++ 3.2).
I'm trying to link some C++ code from another application to R using the
.Call interface and am experiencing some problems. I was
2004 Mar 06
1
(no subject)
Hello group.
I am trying to install fdim on my win2000 os. this
command is giving error and I feel I am not using it
correctly, could some one show me why.
install.packages(fdim,
"C:\Program Files\R\rw1081\library" ,
CRAN = "http://cran.r-project.org",
"internal",
available = NULL,
destdir = "C:\Program Files\R\rw1081\library",
installWithVers =
2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
I've been trying to create/load/call a dll from R-1.8.1 on Windows without
much success. I've been able to at least load the library on FreeBSD
(1.8.1). I've been able to perform this before using DLL that weren't
created using RCMD SHLIB, but simply compiling under MS DevStudio.
C:\optflikam>rcmd shlib --output=optflikam.dll as47.f as197.f flikam.c
g77 -O2 -Wall -c as47.f
2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
I've been trying to create/load/call a dll from R-1.8.1 on Windows without
much success. I've been able to at least load the library on FreeBSD
(1.8.1). I've been able to perform this before using DLL that weren't
created using RCMD SHLIB, but simply compiling under MS DevStudio.
C:\optflikam>rcmd shlib --output=optflikam.dll as47.f as197.f flikam.c
g77 -O2 -Wall -c as47.f
2003 Dec 26
1
Problems converting output from Sweave to PDf
I am having trouble converting the output from Sweave
into a valid PDF file.
I have created a simple .Rnw file which will become a
full vignette at some point, but during the
intermediate testing, I got errors from texi2dvi.
This is what I have done.
0) Using a Windows Xp system
1) Created a file called GeneSpring.Rnw
2) Convert this to Tex using Sweave("GeneSpring.Rnw")
from within R
2004 Mar 14
2
Troubles installing RMySQL on Win2K
What do I need to do to load the RMySQL library on Win 2K using version 1.8.1
I have Mysql v4.0.16 up and running on the local machine with several
databases running fine.
Using RGUI I have loaded RMySQL and an appropriate directory structure has
appeared under
C:\Program Files\R\rw1081\library\RMySQL
I have added C:\Program Files\R\rw1081\library\RMySQL\inst\libs to my path
variable so that