similar to: problem in integrating C routine with R on windows XP

Displaying 20 results from an estimated 1000 matches similar to: "problem in integrating C routine with R on windows XP"

2003 Oct 15
5
Problems Building RMySQL in Windows
Hi all, Unfortunately I must use winXP at my job, so I'm trying install from source RMySQL. Here are some details about this problem: - R 1.7.1 - RMySQL 0.5-2 - mysql 4.1.0-alpha-max-nt I followed the instructions posted in http://www.biostat.jhsph.edu/~kbroman/Rintro/Rwinpack.html and the following messages appeared. BTW, thanks in advance for your help and comments. C:\Program
2003 Mar 05
3
reading in tab delimited data in a loop
Dear all, I need to read in 4 sets of tab delimited data in a loop. The 4 data sets are called "simu1.dat", "simu2.dat" and so on. I know what I need on the righthand side of the read.table expression but I can't the left hand side of it to work (see the line in bold below). Can you kindly help? Many thanks. simu1 <- matrix(0,30,3) simu2 <- matrix(0,30,3) simu3
2009 Sep 24
2
more strange behavior of Revolution R 1.3.0
It runs more than twice as slowly using 8 core than using a single core in inverting large matrix. Tested on 8 core Windows XP 64 machine. > n = 1000 > n.simu = 100 > func1 = function() + { + x = rnorm(n*n) + dim(x)=c(n,n) + y = solve(x) + } > > setMKLthreads(1) > system.time(for(i in 1:n.simu) func1()) user system elapsed 69.48 2.42 71.91
2003 Mar 20
1
Install R on unix
Hello, I just tried to install R (unix version), but I have not successed. I download the file and uncompresssed it in a R folder. then I used the following commands: ./configure make The attached are error message: Could any one tell me how to fix it?? Thanks R is now configured for sparc-sun-solaris2.6 Source directory: . Installation directory: /usr/local C compiler:
2003 Apr 25
1
plot clusters
Hi, I have a dataset which has more than two clusters (say 3 clusters). I used kmeans to cluster the dataset. I am wondering how I can plot the clustering result on a two-dimensional figure???? The example in the kmeans help file is as follows: x <- rbind(matrix(rnorm(100, sd = 0.3), ncol = 2), matrix(rnorm(100, mean = 1, sd = 0.3), ncol = 2)) cl <- kmeans(x, 2, 20)
2003 Feb 06
1
Call C routine problem
When I call C function from Splus, I often meet this problem: "Problem: Couldn't find a function definition for "Stest" " My c function is saved as 'test.c' (the function is also named as 'test' My splus function is saved as 'Stest', such as Stest <- function(d,f) { .C("test", as.integer(d), as.single(f)) } Assume my files (test.c
2009 Apr 21
4
My surprising experience in trying out REvolution's R
I care a lot about R's speed. So I decided to give REvolution's R (http://revolution-computing.com/) a try, which bills itself as an optimized R. Note that I used the free version. My machine is a Intel core 2 duo under Windows XP professional. The code I run is in the end of this post. First, the regular R 1.9. It takes 2 minutes and 6 seconds, CPU usage 50% Next, REvolution's R.
2003 May 25
3
Problem in installing R add-on package(not from CRAN)
Hi all, I downloaded a R package (supclust, not from CRAN) in my directory, then type: markov:/home/pingzhao> R CMD INSTALL supclust_1.1.tar.gz -l ~/lib but met the following errors * Installing *source* package 'supclust' ... ** libs /usr/local/lib/R/bin/SHLIB: make: not found ERROR: compilation failed for package 'supclust' Does it mean the R has not properly installed?
2008 Jan 08
1
Error cannot allocate vector of size...
Hello, I have a memory problem when I run package WinBUGS with R (2.6.1). Until now I have been using a Pentium IV 3.2Ghz computer with 512Mb of RAM memory (with Windows XP Pro SP2), and I hadn't had any problem. Now I have a new computer with the following characteristics: Intel Core 2 duo 2.33Ghz and 3Gb of RAM memory (with Windows XP Pro SP2) and when I am running the same R syntax I
2006 Aug 02
1
MATLAB 6.5 under Wine
Hi, I'm completely new to Wine (I'm running version 0.9.9 under Ubuntu 6.06). I have been able to install and run Windows apps and I can see that Wine really rocks! For speed, I'd rather run Wine than VMware, especially when it comes to running MATLAB under linux. I'm having difficulty with getting MATLAB (6.5.0.180913a (R13)) to run. There are several threads in the Wine
2003 Sep 02
2
FW: Creating a Package with Windows XP.
> Hi there fellow R-Users, > > I am trying to use the "package.skeleton" to create my own package with > R.1.7.1 on Windows XP Professional. > I have followed the package.skeleton example and have downloaded the > necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip. > > and perl5, available via
2001 Apr 09
4
fastest R platform
Hello, everyone! I picked up R several months ago and have adopted it as my choice for statistical programming. Coming from a Java background, I can honestly say that R is not only free, it is better tha S-plus: the lexical scope in R makes it very simple to simulate Java's object model. For this, I encourage everyone to read the artcle: Robert Gentleman and Ross Ihaka (2000) "Lexical
2003 Aug 01
2
Problems installing R on Windows XP
Dear all, I run a IBM PC compatible with a Pentium IV with 2,4 MHz and 512 Mb RAM and a 80 Gb fast disk und Windows XP home edition. I downloaded rw1071.exe from cran.at and cran twice. When I tried to open rw1071.exe I choose the option to install all R reference materials as well and then after some 10 seconds I get an error message refman.pdf file is corrupted (I tried several times to
2003 Jun 26
1
problems with library in 1.7.1
Hello. I am using R 1.7.1 just downloaded on Win98. With the old 1.6.2 I had modified the etc/Rprofile file as etc/Rprofile # Things you might want to change # options(width=80) # options(papersize="a4") # options(editor="notepad") # options(pager="internal") # to prefer Compiled HTML help options(chmhelp=TRUE) # to prefer HTML help # options(htmlhelp=TRUE) # to
2003 Sep 09
6
Making R packages
Hi: I am posting this message for a colleague who has a lot of trouble to build an R package on Windows. He did not find a solution to his problems on the R-help archives and hopes that one of the R gurus will be able to help. He has a directory "CO2" which should contain all the required files and directories: DATA: DESCRIPTION MAN: R: README SRC: The following command is
2008 Jul 01
1
Simulate from a GAM model
Does anybody have any suggestions on how I might simulate from fitted GAM model? I am using the gam function in the mgcv package to fit a variable coefficient model like the following from the examples. I would like simulate based on the fitted model like the simulate function in the stats package does for lm models. library(mgcv) set.seed(10) ## simulate date from y = f(x2)*x1 + error dat
2003 Mar 17
2
search function
Could any one tell me there is a search function for R-help Archives? Thanks
2003 Nov 16
2
Error when calling a dll procedure
Dear experts, I am a beginner in R and try to build dlls (Win XP, MinGW, R 1.7.1). So far, I have managed to create and to use some dlls with C code which worked properly. Now I am stuck with a dll containing C++ code. I have included some part of the source code (of an implementation of a function to find all primes below a given numeric value -> its just an exercises to get familar with
2003 Jul 17
2
Minor nuisance with rw1071
Hola! Starting with rw1071, just after starting Rgui the scope is not with Rconsole, but some other place. This means I have to do a mouse click in the Rconsole before starting to write the first command. Since I always forget this, I end up writing the first command twice. This is of course only a minor nuisance, but why is focus no longer set to Rconsole window when start-up? This is on
2003 Apr 14
2
kmeans clustering
Hi, I am using kmeans to cluster a dataset. I test this example: > data<-matrix(scan("data100.txt"),100,37,byrow=T) (my dataset is 100 rows and 37 columns--clustering rows) > c1<-kmeans(data,3,20) > c1 $cluster [1] 1 1 1 1 1 1 1 3 3 3 1 3 1 3 3 1 1 1 1 3 1 3 3 1 1 1 3 3 1 1 3 1 1 1 1 3 3 [38] 3 1 1 1 3 1 1 1 1 3 3 3 1 1 1 1 1 1 3 1 3 1 1 3 1 1 1 1 3 1 1 1 1 1 1 3