Displaying 20 results from an estimated 700 matches similar to: "tkexit"
2009 Aug 18
1
Strange package installation error
Hi. I'm trying to install a new package. I'm a relatively long-time
(though not advanced) R user and have never seen this error before.
For the first example, I tried a few different CRAN mirrors. In the
second example, the file does exist; I downloaded it from the CRAN
website for the package and pasted in the name exactly a few different
times to make sure it was right.
>
2004 Nov 05
3
Resources for optimizing code
I want to eliminate certain observations in a large dataframe (21000x100).
I have written code which does this using a binary vector (0=delete obs,
1=keep), but it uses for loops, and so it's slow and in the extreme it
causes R to hang for indefinite time periods.
I'm looking for one of two things:
1. A document which discusses how to avoid for loops and situations in
which it's
2003 Mar 14
2
numbers and decimal points
I have a question for our European readers: how common is it to use
commas as decimal points in spread-sheet and statistics applications?
Is it an inconvenience to require that all data use a period as decimal point?
(i.e., 3.14159 rather than 3,14159).
We're trying to make our program as foolproof as possible, and would
prefer not to give users a chance to have commas as both decimal
2004 May 04
3
increasing memory
Hi. I want to use R with very large files, a couple hundred megabytes,
but R crashes every time that I try.
Reading help files seems to indicate that R ought to manage its memory
itself. I know I have enough memory since stata handles these files
perfectly well. I have a mac running OS 10.3 and am running RAqua 1.8.1.
Is there anything I can do to make it deal with these files successfully?
2003 Apr 08
2
quotes within quotes
How does one put quotes within quotes, if it's possible?
I've tried replacing one set of the quotes by single quotes.
If it's not possible, is there any way to do the following?
> cmd <- "read.dta"
> opt <- "convert.factors=FALSE"
> data.file <- " file="/full/path/name.dta" "
> eval(call(cmd,data.file,opt))
Prior to
2006 Jun 23
2
Tetrachoric correlation in R vs. stata
I hope someone here knows the answer to this since it will save me from
delving deep into documentation.
Based on 22 pairs of vectors, I have noticed that tetrachoric
correlation coefficients in stata are almost uniformly higher than those
in R, sometimes dramatically so (TCC=.61 in stata, .51 in R; .51 in
stata, .39 in R). Stata's estimate is higher than R's in 20 out of 22
2003 Apr 08
2
use of variable labels
The R documentation for some of the foreign package's functions says
that the set of variable labels becomes attributes in the resulting
data frame.
Thus, e.g., 5="strongly agree", 4="agree", etc.
I'm happy that the labels are being passed, but unfortunately, when
R summarizes the data, it will list it only as categories, and
doesn't deal with the
2003 Apr 01
1
Windows GUI palimpsest
Windows (both XP and 98) seems to have a problem with our GUI, written
using R's tcl/tk package.
When we open another window, and then return to the GUI, the GUI has old
pieces of text left from the previous windows and/or places which are
cut off where a window had been.
Also, when it computes something, the window will often decide to move
itself over for no apparent reason, so it moves
2003 Feb 27
1
R problems
Hi.
I have an ibook G3/800 running 10.2.4, with Mac's X11.
Up until a few days ago, R was working fine but recently it stopped working.
The error I get is:
dyld: /usr/local/lib/R/bin/R.bin version mismatch for library:
/usr/lib/libncurses.5.dylib (compatibility version of user: 6.0.0
greater than library's version: 5.0.0)
Trace/BPT trap
which seems to imply that it wants a higher
2006 Aug 04
1
polychoric correlation error
Dear all,
I get a strange error when I find polychoric correlations with the ML method, which I have been able to reproduce using randomly-generated data.
What is wrong?
I realize that the data that I generated randomly is a bit strange, but it is the only way that I duplicate the error message.
> n<-100
> test.x<-rnorm(n, mean=0, sd=1)
> test.c<-test.x + rnorm(n, mean=0,
2006 Aug 21
2
polychor error
Hi.
Does anyone know whether the following error is a result of a bug or
a feature?
I can eliminate the error by making ML=F, but I would like to see the
values of the cut-points and their variance.
tmp.vec<-c(0, 0, 0 , 0 ,0 , 1, 0, 2, 0 , 0, 5 ,5 ,3 ,1,
0 , 1, 5, 10, 27, 20, 9, 0, 1, 1, 12, 29, 57, 34, 0, 0, 1,
2, 11, 31, 32)
tmp.mat<-matrix(tmp.vec, nrow=7)
2003 Mar 10
4
terms.formula
I'm in the very initial stage of expanding the formula processing
in my quantile regression function rq() to handle additive
nonparametric components, say qss(x), or qss(x,z). I need some
advice about strategy for formula processing. My initial foray
was to use:
terms(formula,specials="qss")
and then modify the components of the resulting
terms.object. But in changing formula
2004 Jul 12
2
.Platform addition (was Re: where does R search when source()?)
On Sun, 11 Jul 2004, Gabor Grothendieck wrote:
> search.path <-
> function(fn,
> paths = strsplit(Sys.getenv("PATH"), split = ";")[[1]],
> fsep = "\\") {
> for(d in paths) {
> f <- file.path(d, fn, fsep = fsep)
> if (file.exists(f))
> return(f)
> }
> return(NULL)
> }
>
2010 Jul 20
2
loop through files and create object
Hi R users,
I am a newbie and therefore the naive question. Sorry but I was unable
to find an answer online. I would like to read 47 data sets
(country1.raw, country2.raw, ... country47.raw) and save into a matrix
each time (data1, data2, ....data47).
for (i in 1:47){
data(?) <- read.csv(file.path("country", i, ".raw", fsep = ""), header = TRUE)
}
The read.cvs
2011 Feb 08
1
goto blas related R segfault
Hi,
i have been running R 2.11 compiles with the goto blas libraries
successfully for about a year. I am running Ubuntu 10.10 64 bit.
However, recently I have been periodically getting a segfault when running R
(and numpy -- also compiled against goto blas).
When I check the dmesg error log I get the following message
R[28792]: segfault at 7f4183ed4000 ip 00007f4196f05f03 sp 00007f4192d55d20
2017 Dec 12
5
problems with share permissions
Hi
I had a few test shares created and they were working fine. Users could
read or write depending on the windows group that was defined on the
share. I have since removed the test shares and created the file
structure needed and setup the smb.conf file with the share names. I
have also setup the groups and assigned them to the respective
directories. Problem is the users can connect to
2009 May 22
2
Returning only a file path on Windows
I am choosing a file like this:
#Bring up file selection box
fn<-file.choose()
fp<-file.path(fn,fsep='\\')
Unfortunately, the file path contains the short file name and extension as
well. I had hoped to get only the path so I could make my own long
filenames (for output graphs) by concatenation with this file path.
Of course I can split the string and assemble the components from
2004 Mar 15
8
Simple numeric "as.is" question
I am reading a list of numbers from my clipboard, and have been
successful, except I can't make a histogram as R doesn't recognize my
variable as numeric. I know I need to use "as.is", but the specifics
escape me.
I have used x<-read.table("clipboard", header=F) to import from a txt
file. How do make this numeric? Thanks, J.
2004 Mar 25
1
domain admins and Samba 3.0.2
Hi
I've been running Samba 2.x for years but decided to move up to 3.0.2. I've set
up a new samba server with a workgroup NEWBIOSS and netbios name PARETO.
Im having problems setting up my domain admins.
I used
'net groupmap modify "Domain Admins" unixgroup=domadmin'
my 'net groupmap list' shows :
System Operators (S-1-5-32-549) -> -1
Replicators
2011 Feb 17
3
summing 15 minute precip data to daily
Hi all,
i'm sure there is an easy way to do this, but i'm stumped, so any help would
be appreciated.
i have a single column of data for precipitation every 15 minutes over a
year. i want to sum the precip to daily data.
so the first 96 records = the first day, the second 96 records = the second
day, and so on....
is there a way to write a for loop that would sum the data to daily, and