Displaying 20 results from an estimated 300 matches similar to: "Editor R"
2009 Mar 27
5
use of "@" character in variable name
Importing data with a header row using read.delim, one variable should be
named @5HTT but it is automatically renamed to X.5HTT, presumably because
the "@" is either unacceptable or misunderstood. I've tried to find out
what the rules are on variable names but have been unsuccessful. I'll bet
someone here can tell me where to look. Maybe it's hidden away in here
2011 Apr 18
4
Solaris hardware crypto engines
Hello,
I tried to find out how about to use the hardware crypto engines under
Solaris (Sun Fire T2000). It seems, that its not just a compilation issue:
> For operations that are to be offloaded, it is necessary to restrict use to subset
> of OpenSSL functions (the EVP_ functions) and explicitly indicate the use of
the PKCS11
> engine; something like the following works for bulk
2009 Nov 09
6
Find the first values in vector
Hi !
I have a vector:
vec= TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE TRUE TRUE FALSE
and I'm looking for a method which let me get only the first values equal
TRUE from this vector. It means that I want to get a vector:
vec_out = TRUE TRUE TRUE TRUE
or posictions values = TRUE: vec_out = 1,2,3,4
--
View this message in context:
2008 Jul 10
2
Help on Installing Matrix Package in Linux (Fedora)
Hi,
I have been trying to install the Matrix package on R running in Linux (Fedora). But, I get the following error message (at the bottom). I am logged in as the root user. Any help would be appreciated! Thanks!
-Hyunseung Kang
* Installing *source* package 'Matrix' ...
Using GNU make for building the package
** libs
** arch -
gcc -m32 -std=gnu99 -I/usr/include/R
2008 Jul 01
8
redirect_to not working
Hi... I have a basic authentication system. I have a RESTful resource
called session with the following code when logging in:
def new
end
def create
user = User.authenticate(params[:username], params[:password])
respond_to do |format|
if user
session[:user_id] = user.id
flash[:notice] = "Welcome back #{user.name}!"
format.html {redirect_to
2008 Jun 03
1
SELinux and samba/winbind w/ADS on RHEL 4.6
SELinux appears to be interfering with winbind's functionality.
I have the lastest policy package installed:
selinux-policy-targeted-1.17.30-2.149
which allegedly solves this problem according to the RedHat knowledge
base, but clearly does not. I have to turn off SELinux by using
setenforce 0 (permissive) to get winbind to work at all, and based on
what I see in the log files,
2009 May 29
4
logical vector as a matrix
I have a vector like this:
h <- c(4, 6, NA, 12)
and I create the secound logical vector like this:
g <- c(TRUE, TRUE, FALSE, TRUE)
And my problem is that I would like to get a new "m" vector as a rasult "h"
and "g"( as dot-matrix printer) but with missed "NA" value, for example:
m = (4,6,12)
Do you have any idea?
--
View this message in
2000 Oct 30
2
SSH not responding.
SSH doesn't seem to be responding to me.
The machine I am connecting to is running Linux,
and I could connect to it fine from windows
running the SSH client. But now I can no longer
connect. From Linux, this is the output:
pc078:~$ ssh -v 208.240.199.51
SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090600f).
debug: Reading configuration data
2009 Apr 29
2
library which convert dates
I'm looking for library which let mi convert dates
for example like this:
00-06-05 00:00
00-08-06 00:00
00-08-16 00:00
00-05-23 00:00
00-01-14 00:00
00-10-28 00:00
and as a result I want to get a 3 levels
--
View this message in context: http://www.nabble.com/library-which-convert-dates-tp23295853p23295853.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jun 15
2
function inside ifelse
Hi,
Could you tell me, if it's possible to create ifelse and put function
inside, for example:
code{
ifelse ((is.na(vek)), call_fun_1(arguments), call_fun_2(arguments))
call_fun_1 <- function(arguments)
{ sth...
}
}
--
View this message in context: http://www.nabble.com/function-inside-ifelse-tp24035739p24035739.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jun 01
2
add values inside vector
I think it's easy problem but I can't find solution.
I have a vector:
vec <- c (23.4, 3.0, 14.7, 7.7)
and I would like to add all values which are inside my vector to each
other.
as a result a want to get one value like sum all values from my vector-
sth=(23.4 + 3.0 + 14.7 + 7.7)
PS. I usually don't know how long is my vector in my function
--
View this message in
2007 Feb 21
4
CentOS 4.4 on Dell PE 6400 - not rebooting ...
Hi All,
This is my first post ... I *HAD* been trying to get RHEL AS 4 onto
this Dell PE 6400/700, but it just wouldn't go without some weird
tweaking.
I am VERY happy to say that CentOS 4.4 installed without a hitch!
NICELY done folks!
The only real issue for me is that the machine fails to reboot or
shutdown correctly.
It requires physical interaction with the power switch,
2009 May 14
2
I want to avioid unnecessary value
I have a database like this:
"kol1";"kol2";"kol3" ...
"2";"5";"9"
"9";"6";"6"
"4";"6";"5"...
I looking for a kod in R which let mi aviod in column unnecessary value, for
example number "9".
So, if I have:
Kol1
2
9
4
4...
after loop in R I would like to get my
2009 Aug 23
2
difficult "for"
Hi,
My english isn't brilliant and my problem is very difficult to describe but
I try ;)
My first question is: May I write loop "for" like this or similar - for (i
in sth : sth[length(sth)], k in sth_else : length(sth_else) ) - I'd like
to have two independent conditions in the same loop "for".
My secound question depend on program below. I'd like to write every
2009 Jun 14
3
if + is.na
Hello!
I wont to use a function is.na()
I have two vectors:
> a=c(1,NA,3,3,3)
> b=c(0,0,0,0,0)
and when I use is.na function it's ok:
> is.na(a)
[1] FALSE TRUE FALSE FALSE FALSE
but I would create sth like this:
for i in 1:length(a){
if (wsp[i] == is.na(a)) {b=43}
}
or like this
if(is.na(a)) b=3 else a
[1] 1 NA 3 3 3
but I always get an error:
the condition has
2009 Mar 31
2
Programming objects in R
I am planning a project where an object-oriented approach would be
appropriate, and for a number of reasons I would prefer using either
Python or R. My problem at the moment is to find out how to do OO
programming in R. Are there any introductory texts anywhere ?
Tom
--
+----------------------------------------------------------------+
| Tom Backer Johnsen, Psychometrics Unit, Faculty of
2009 Aug 30
1
about isoMDS method
Hi,
For example:
I built a half matrix "w" using a daisy(x, metric = c("euclidean"))
http://www.nabble.com/file/p25211016/1.jpg
And next I transformed this matrix "w" using isoMDS function, for example
isoMDS(w, k=2) and as result I got:
http://www.nabble.com/file/p25211016/2.jpg
And now I have two questions:
1. If number in matrix w[2, 1] (= 0.41538462) match
2009 Sep 06
2
avoid NA in list
Hi!
I have list, for example:
...
[[22]]
[1] 27 51 69 107 119
[[23]]
[1] NA
[[24]]
[1] 54 57 62
And I would like to avoid NA value. Similar way like I may do it in vector
using na.value() function.
Do you have any idea?
--
View this message in context: http://www.nabble.com/avoid-NA-in-list-tp25321020p25321020.html
Sent from the R help mailing list archive at Nabble.com.
2009 Nov 10
1
write data frame in a list
Hi,
I have got a data frame:
df=data.frame(x=c(3,6,7),y=c(2,7,4))
and I would like to write my values from data frame to list using loop, for
example:
lista=list()
for (i in 1: length(?)){
lista[[?]][?] = df [?]
}
But I havn't got any idea what I should put in places where I put a question
mark?
As a rusult I would like to get a list like this:
list:
[[1]]
3,6,7
[[2]]
2,7,4
I
2009 Nov 15
1
where is a value in my list
I heve got a list:
lista=list()
a=c(2,4,5,5,6)
b=c(3,5,4,2)
c=c(1,1,1,8)
lista[[1]]=a
lista[[2]]=b
lista[[3]]=c
> lista
[[1]]
[1] 2 4 5 5 6
[[2]]
[1] 3 5 4 2
[[3]]
[1] 1 1 1 8
I would like to know where is number 5 (which line)?
For example I have got a loop:
k= vector(mode = "integer", length = 3)
for(i in 1:3)
{
for (j in 1:length(lista[[i]])){
if