Displaying 20 results from an estimated 3000 matches similar to: "R Compilation error on Ubuntu"
2007 Sep 07
5
SQL like function?
Hi RUsers,
I am wonder if I can search observations whose IDs matches any of the
values in another vector, such as in MySQL. While I am learing MySQL for
future database management, I appreciate if anyone could give me a hint.
Suppose I have one 5*1 vector containing observation IDs and
frequencies, and one 3*1 vector containing observation IDs.
observation<-c(1,2,3,4,5)
ID<-c(1,3,4)
2012 Jun 29
1
Help for string opeation
Hi R users,
I appreciate if you could give me some hint/help on this string operation.
Suppose I have a list of string objects in varying sizes like
[[1]]
[1] "A" [2] "B" [3] "C"
[[2]]
[1] "D" [2] "E"
[[3]]
[1] "F"
Then I would like to create a vector that contains all elements like
[1] "A" "B" "C"
2008 Feb 04
1
how to get points from SpatialPolygonsDataFrame
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080203/5ea1e3ad/attachment.pl
2007 May 10
1
A simple question about PRINCOMP
Hi,
I just wonder if this is a rounding error by the princomp command in R.
Although this does not make much sense, using a hypothetical dataset, a,
a<-matrix(runif(1000),100,10)
I did PCA with the princomp, and compared it with the results estimated
with the eigen and the prcomp commands. And I found some differences in
the results: opposite signs in the loadings; slight differences in
2007 Sep 08
2
Problem in installing packages on linux machine...
Hi,
I am trying to install RSQLite package on my Fedora workstation. I
tried to install other packages as well, but each time I got the same
error messages saying "compilation error" and "non zero exit status".
Do I have to specify "lib="? I never specified the library path before
when I was using Fedora Core 6.
Warning in install.packages("RSQLite")
2010 Jul 08
0
0 exit status on packages update try
I am not entirely sure what is going on. I am sure that I am missing
something. maptools won't detach... Thanks for all of your help.
R 2.11.1
OS Ubuntu 10.04
R --vanilla
install.packages("sp", dep=TRUE)
Loading required package: reshape
Loading required package: plyr
Loading required package: grid
Loading required package: proto
This is vegan 1.17-3
Loading required package:
2013 Sep 05
2
Problem installing "sp" package
Hi,
I get an error message (see below) when trying to install the sp package
in R version 2.15.2 running under Ubuntu 12.04 LTS.
I have run sudo apt-get build-dep r-base, but to no help.
Any help will be greatly appreciated.
Terje
> install.packages("sp")
Installing package(s) into ?/home/terjej/R/x86_64-pc-linux-gnu-library/2.15?
(as ?lib? is unspecified)
trying URL
2008 Jun 28
1
lme4 package
Hi,
Could someone explain what this message mean? I was playing with lme4
pacakge but I could not run any models...
Error in printMer(object) :
no slot of name "dims" for this object of class "table"
In addition: Warning message:
In printMer(object) :
trying to get slot "dims" from an object (class "table") that is not an
S4 object
2006 Jul 21
3
Bug#379092: xen-utils-3.0: xen-backend.rules placed incorrect directory
Package: xen-utils-3.0
Version: 3.0.2+hg9697-1
Severity: critical
The xen-backend.rules file is stored in /dev/udev, but it is not
correct.
I made the symlink into /dev/udev/rules.d/ so it works.
It is also mentioned at the following place:
http://www.debian-administration.org/articles/396
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale:
2009 Jun 02
1
XenClient:How to install VM
Hello
I am trying to boot/install VM on XenClient.
I would like to learn the way to install VM.
Please teach the example of the operation and config file.
(Especially, configuration file of method of displaying screen.)
thanks.
=========================================
[My Executed History]
(1) I made a config file for VM(Windows XP:below).
(2) I executed the following commands.
# xenvm
2008 Jan 27
4
Wine Install and Uninstall Problems
Greetings all.
I have been running Wine under Kubuntu Feisty for about the last four months,
keeping it updated with the latest wine releases on a weekly basis, I use it
to run WordPerfect.
Whilst WordPerfect didn't run flawlessly, I got it to work well enough to edit
and save documents I work on at home. In four months none of the updates to
Wine changed anything in how WordPerfect
2007 Dec 12
2
X11 headers/libs
I'm trying to build R from source on Ubuntu Gutsy Gibbon. I've done
apt-get install r-base-dev and apt-get libX11-dev, but R configure is
still complaining about X11 headers/libs are not available. What else
do I need?
Thanks,
Paul
====================================================================================
La version fran?aise suit le texte anglais.
2006 Jun 27
3
looking for a more efficient R code.
Dear R-users
I have four simple linear models, which are all in the form of a*X+b
The estimated parameter vectors are
a <- c(1,2,3,4)
b <- c(4,3,2,1)
My goal is to draw a plot where x-axis is X (range from -100 to 100) and
y-axis is the sum of
all four linear models
X <- seq(-100,100, length=10000)
plot(X, sum of the four linear functions)
I started with a function for summing
2006 Nov 06
3
CPU or memory
Hi R users
Having both a faster CPU and more memory will boost computing power. I was
wondering if only adding more memory (1GB -> 2GB) will significantly reduce
R computation time?
Taka,
_________________________________________________________________
Get FREE company branded e-mail accounts and business Web site from
Microsoft Office Live
2007 Nov 23
3
[LLVMdev] LLVM 2.1 (or later) and Ubuntu Gutsy
Antony Blakey wrote:
> On 24/11/2007, at 12:01 AM, Michael T. Richter wrote:
>
>> Does anybody have a working version of LLVM 2.1+ (ideally in a .deb
>> file) that they're willing to share? I'm having some weird problems
>> trying to get a working version on my 7.10 machine.
>
> Or even better, does anyone have a recipe for building on Gutsy?
I've just
2007 Dec 29
1
youtube.com complains about old version on 64 bit ubuntu gutsy
I read on lwn.net that swfdec has support for watching youtube.com
videos. Good work! I have not been able to get the Adobe 32-bit mozilla
plugin working under 64-bit gutsy so I figured I'd give swfdec a go.
A quick search of the archives and bugzilla turns up nothing obviously
similar to my problem.
Viewing this page:
http://www.youtube.com/watch?v=82Opqy5mFZM&feature=related
I
2007 Nov 23
3
[LLVMdev] LLVM 2.1 (or later) and Ubuntu Gutsy
Does anybody have a working version of LLVM 2.1+ (ideally in a .deb
file) that they're willing to share? I'm having some weird problems
trying to get a working version on my 7.10 machine.
2006 Jun 30
2
incomplete final line found by readLines on ...
Dear R-users
I need to read some text files produced by some other software.
I used readLines (with n = -1 ) command and then tried to find some numbers
I liked to extract or some line numbers I like to know.
The problem is that there is no empty line at the end of the text files.
R gave me this warning below;
In addition: Warning message:
incomplete final line found by readLines on
2006 Jul 11
2
0* log(0) should be zero but NaN
Dear R-users
>prob <- c(0.5,0.4,0.3,0.1,0.0)
>cal <- prob * log(prob,base=2)
>cal
[1] -0.5000000 -0.5287712 -0.5210897 -0.3321928 NaN
Is there any way to change NaN to zero ?
I did come up with this by applying Ripley's relpy to my previous question
cal <-prob*log(pmax(prob,0.00000001),base=2)
Any suggestion ?
Thank you
Taka
2007 Jun 01
2
scan a directory and then make a string vector consisting of file names
Dear R-users,
I am looking for a way to scan a directory and then make a string vector
consisting of the file names in the directory.
For example, under c:\temp\
there are 4 files
a.txt, b.txt, c.txt, and d.txt
I would like to have a string vector
c("a.txt","b.txt","c.txt","d.txt")
How do I do that?
Thanks
Taka,