Displaying 20 results from an estimated 2000 matches similar to: "Problems starting Rcmdr"
2005 Nov 28
1
read.spss problem
Hello,
I am having trouble reading an spss file into R. I have reset my
working directory to the folder where this file is stored. This is
what I've typed into R and the error message I received:
+ getwd()
[1] "/Users/daviacox/Graduate School/PLS 801"
> read.spss("norwil.spss")
Error in read.spss("norwil.spss") : error reading portable-file
dictionary
2006 Oct 27
1
Qualitative Data??(String command)
I am using the read.table function to load an Excel data set into R.
It has a few variables with very long qualitative (free response
typically in sentences) response that I would like to keep, but would
like to limit the "length" of the response that R shows. Is there some
sort of string or column width command I can include in the read.table
function to limit the length of words used
2005 May 23
1
installing R and Rcmdr onMacOS 10.3.9
I have been trying to install the new, patched R 2.1.0a along with the
Rcmdr on my mac. I got the basic R package installed, but in Project
Manager, the tcltk package will not install.
When I downloaded the Rcmdr binary package from the Berkeley site, it
did not show up on the package installer list until a second attempt,
but it still does not show up on the package manager list.
On
2005 Dec 13
3
Question
Hello,
I have a problem that I am trying to solve and I am not sure how to
do it in R.
Suppose, that 16 numbers are choosen at random from 0 to 9, what's
the probability that their average will be between 4 and 6. I typed
the following code:
set.seed(100)
sample(0:9, 16, replace =TRUE)
[1] 3 2 5 0 4 4 8 3 5 1 6 8 2 3 7 6
Is what I got, however I realize the set.seed function
2009 Nov 30
1
error when installing Rcmdr / tcltk on a Apple laptop
Hello,
I have installed R on my Apple Laptop. Next I wanted to install the
package Rcmdr which requires the package tcltk. But then I get errors
like:
The downloaded packages are in
/var/folders/0p/0pD8fDrwHouNDsQ+k8dGmU+++TI/-Tmp-//RtmpSp4q7p/
downloaded_packages
Loading required package: tcltk
Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath =
DLLpath, ...) :
unable to
2008 Dec 02
1
Problem with tcl/tk and Rcmdr - urgent help required
Hello everyone,
i have been searching the whole day, trying ANY solution offered by the
internet and before headbanging against the wall would like to try asking
for your help.
As many others, i am haveing problems loading the Rcmdr package with Macbook
running Tiger 10.4.11. X11 version updated to the last one after having
manually installed.
I have also installed (obviously) the Rcmdr package
2010 Aug 13
6
Equality of Vectors
Hello,
Is there a way to get a single TRUE or FALSE statement from comparing two
vectors? For example,
c(1,2,3) == c(1,2,3)
produces
TRUE TRUE TRUE
where I would like it to produce only
TRUE
for use in an if statement.
Likewise, when two vectors are not exactly identical (in all elements) I
would like a single FALSE result, as opposed to
c(1,2,3) == c(1,2,5)
TRUE TRUE FALSE
Any ideas?
2005 Aug 17
7
Need help with the rubyonrails wiki - instiki filters
I am trying to do a tutorial improvement on the wiki but I am having
some problems with the auto formatting. Using httdp.conf produces
http://httpd.conf when filtered. Using *.so produces .so and bold text
there after.
Is there any shorthand for the user for making text appear as it should
without the linking and re-writes? Or does the admin have to change the
filters in Instiki?
Tesla
2010 Jun 22
5
Displaying Iteration Count
Hello,
I'm running a very long for loop that usually takes hours. For my own piece
of mind, it would be nice if I could check periodically and see which
iteration the loop is on. A line of code that told R to print the iteration
number every 100 or 200 iterations would be perfect.
Does anyone know something like this? I've never known how to print
anything within a for loop before the
2004 Jan 27
2
rsync still hangs on cygwin 1.5.6-1 and 1.5.7
Hi,
Rsync is still hanging under cygwin for me. I'm using rsync 2.6.0 and i've tried cygwin-1.5.6-1 as well as a snapshot of 1.5.7.
I've noticed that some people are having success. I shouldn't have to do anything interesting in order to make this work, right?
***********************************************************************
This message is intended only for the use of
2010 Apr 19
2
ecdf
Hello,
I'd like to plot an empirical cumulative distribution function, except
instead of the fraction of values < x, I'd like the fraction of values > x.
I think this can be done using the ecdf function in {Hmisc}. I installed
the package and loaded it. However, when following the example given in the
documentation, I get an error:
x <- rnorm(100)
ecdf(x,what='1-F')
2011 Sep 23
4
'save' saved object names instead of objects
Hello,
I created an array to hold the results of a series of simulations I'm
running:
d.eta <- array(0,dim=c(3,3,200))
<simulation goes here and populates the array but it's not important>
Then I tried to save the results using this:
save(d.eta,file="D:/Simulation Results/sim 9-23-11 deta")
When I later tried to reload them using this:
d.eta <-
2011 May 17
2
Minimum value by ID
Hello,
I have a longitudinal dataset where each individual has a different number
of entries. Thus, it is of the following structure:
x <- runif(12)
id.var <- factor(c(rep("D1",4),rep("D2",2),rep("D3",3),rep("D4",3)))
dat <- as.data.frame(x)
dat$id.var <- id.var
dat
> dat
x id.var
1 0.9611269 D1
2 0.6738606 D1
3
2010 Mar 11
1
VAR with contemporaneous effects
Hi,
I would like to estimate a VAR of the form:
Ay_t = By_t-1 + Cy_t-2 + ... + Dx_t + e_t
Where A is a non-diagonal matrix of coefficients, B and C are matricies of
coefficients and D is a matrix of coefficients for the exogenous variables.
I don't think the package {vars} can do this because I want to include
contemporaneous cross-variable impacts.
So I want y1_t to affect y2_t and I
2006 Mar 14
3
ActiveRecord row-by-row processing
I want to use ActiveRecord outside of Rails to do processing on large
tables. I want to be able to process the rows as they are retrieved
rather than having to store the results in an intermediate array.
Any suggestions?
Looks like I could hack the adapter to provide an accessor to the
underlying DBI handle. Anything cleaner than that?
2004 Nov 22
1
Rcmdr -> doItAndPrint -> summary method of S4-class object not in Rcmdr window but R Console
Dear list member,
John Fox proposed to me posting this problem to R-Help:
I have written a function suited for Rcmdr and included this in a R-file
located in Rcmdr/etc as well as an augmented `Rcmdr-menus.txt'.
Now, I am faced with the following problem:
method show() of a S4-class object works flawlessly, that is `doItAndPrint'
works flawlessly and its output is returned correctly into
2005 Jul 03
3
link_to in controller
Is there a way to use the "link_to" function in a controller?
2005 Jul 07
2
Rails equivalent to System.out.println?
Is there a way I can have print statements in Rails code that will go either to
the WEBrick console (prefered) or to a log file?
2011 Jul 01
2
merge function
Hello,
I'm clearly confused about the merge function. In the following
r <- merge(x,y,all.x=T,all.y=F)
my y vector has only unique values (no duplicates). So I don't understand
how this can ever generate an r which is of greater length than x.
I thought the default behavior was only matching rows are included, but
that using all.x=T included rows with unmatched x's as well. If
2005 Jul 06
4
undefined method `stringify_keys!'
I have a Model whose table name and primary key don''t follow Rails conventions.
So I have used set_table_name() and set_primary_key() and can do the
Record.find() method ok.
My problem is that the Record.new(params[:id]) idiom in a controller complains:
undefined method `stringify_keys!'' for "REAL_PKEY":String
Is there something else I need to do?