Displaying 20 results from an estimated 3000 matches similar to: "Stataread + R-Devel fails for me"
2000 Nov 10
3
NLS
Hello,
I try to do a very simple nonlinear regression. The function is
y = (b0 + b1*x1 + b2*x2 + b3*x3) * x4^b4
I think I do everything well, but as I set the starting value of b4 to 0 (it
is the theoretically sane starting value), it converges very quickly, and to
the wrong solution. Wrong in a sense, that 1) we do not expect this and 2) we
do not get this on E-Views, Stata and SAS. I do not
2000 Oct 30
5
Newbie questions
Hi,
I am new to R, but a fairly `old' user of Stata. I read posts asking about
survey methods and large datasets in the archive, so I will not ask those
questions again. But some still remain:
- R seems to consume more memory given the same set of data, say if I have
only a data frame defined, than Stata. Am I right if I think that this is
because the object oriented nature of R and can
2000 Oct 30
5
Newbie questions
Hi,
I am new to R, but a fairly `old' user of Stata. I read posts asking about
survey methods and large datasets in the archive, so I will not ask those
questions again. But some still remain:
- R seems to consume more memory given the same set of data, say if I have
only a data frame defined, than Stata. Am I right if I think that this is
because the object oriented nature of R and can
2001 Aug 22
1
limited formula length in tsls
Dear all,
Using the tsls package, I noticed that regression lists longer
than 64 character
are getting truncated. Looking at the original source,
tsls.formula <- function(model, instruments, data, subset, weights,
na.action, contrasts=NULL){
if (missing(na.action))
na.action <- options()$na.action
m <- match.call(expand.dots = FALSE)
if (is.matrix(eval(m$data,
2001 Feb 27
1
Generate temporary objects or not?
Dear all,
Playing with a toy problem, I wondered how much it costs to generate
`internal' objects in a function that are not strictly needed. An example:
mean(apply(t(matrix(as.vector(x) - x0 / h, , nrow=nrow(x), ncol=ncol(x))), c(2) epakern, dim)) / h^dim
It would be more _readable_ if I defined the object inside the apply(), stick
it there and rm() after, but my feeling is that creating
2001 Jul 18
1
hypothesis testing in models
Dear all,
Being an economics student, I am trying to put together a little
tutorial/FAQ/... for those who have (more) background in econometrics rather
than in statistics -- just as I have. I'v been looking for a hypothesis
testing tool in R (just linear or also nonlinear) for model parameters, but
could not find anything so far. I did find a similar but unanswered question
in the archives,
2001 Jul 19
1
after R 1.3: can not write to or create directory `~/lib/R'
Dear all,
I am running
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 1
minor 3.0
year 2001
month 06
day 22
language R
and have my own library path set up having
R_LIBS='~/lib/R'; export
2000 Mar 08
1
Coercing character to factor
I just downloaded version 1.0.0 and several binary libraries (VR, rpart,
norm, stataread) - WinNT version. I then converted a file from Stata 6.0
to R format by using the stataread library. The file converts perfectly
and I was able to use the VR function lda on the dataframe without
difficulty. I then tried to use the same dataframe with RPART. The model
statement:
2008 Jul 01
0
[LLVMdev] vmkit on x86_64
Hi Zsombor,
Thanks for the patch! Unfortunately I can't apply it because the llvm
API has moved from BinaryOperator::create to BinaryOperator::Create. Are
you using svn head?
Now on the x86_64 part. There has been very little work on porting vmkit
on x86_64. If you're having compilation problems, I suppose it's in the
garbage collector directory (GCMmap2). If you could make the
2003 Mar 30
2
R-devel (1.7 to be) on windows XP
Hola!
I'm trying to make r-devel on windows XP. I downloaded an hour ago
R-1.7.0beta_2003-03-30.tar.gz
make terminates without any error messages, with
make check I get error messages from tests of internet and
socket functions, surely because my modem was not
connected (It doesn't say in the documentation (file INSTALL)
that internet must be connected under make check.)
But the file
2008 Jul 01
2
[LLVMdev] vmkit on x86_64
Hello,
I'm trying to compile vmkit on a x86_64 linux box with gcc-4.1.2, but
I'm running into troubles because of various problems with casts
between pointers and integers. Is there anybody who succeeded in this
task? Az I see, some of the problems can be fixed with an appropriate
typedef/macro declaration, but in VMCore/JavaObject.cpp some lowlevel
bitmanipulation is used, to mark
2000 Aug 09
2
GenGC changes
As most R developers maybe are already aware of, R version 1.2.0
introduced a new `generational' garbage collector which means that
strings and vectors (and language objects) are handled differently from
the numerical atomic types.
>From ``Writing R Extensions'':
Earlier code was written in a style like.
VECTOR(dimnames)[0] = getAttrib(x, R_NamesSymbol);
2003 Oct 06
1
Re: Use of the Foreign package to import Stata files
Long ago (Sat, 2 Nov 2002), Bill Hart <w.hart at sbcglobal.net> wrote:
> An R newbie here. I am using R 1.6 currently and have
> (successfully, I think) installed the Foreign package.
> Tried to import a data file created with Stata 7.0
> SE. Had minor problems with syntax then R decided
> that my file was not really a Stata file. It rejected
> the file saying
2006 Feb 08
4
Fixture question...
Ok, I''m pretty sure I''ve seen this done before. I have a fixture that
isn''t named the same as the table I want to insert the stuff into.
Whats the right way to go about this?!
Google has failed me! :(
-Nick
2006 Feb 08
10
Sharing sessions between subdomains?
Hello,
I know how to share sessions between subdomains in PHP. Can anyone please guide me as to how I can share sessions using Ruby? Where can I set the value of domain for which the cookie is set?
I would like for a user to login on the home page and then go to blog.home.com and not have to login again.
Any guidance/pointers are appreciated.
Thanks''
2002 May 02
1
Returning a dataframe from a C function (How) ?
I'm writing an R extension. The language I'm using is ANSI C. One of the
functions I'm writing will accept a string and return a dataset as a
dataframe. i.e the prototype will be of the form:
dataframe foo(R_String)
{
}
Does anyone have any skeleton code for such a function, i.e. one that
receives an R "string" and returns a dataset as a dataframe ?
The main concerns I
2005 May 18
0
Advice requested: installation failing for foreign_0.8-7, mgcv_1.2-4, rpart_3.1-23, VR_7.2-15
I'm running R Version 2.1.0 (2005-04-18), ISBN 3-900051-07-0
on Machine Model: Power Mac G5
CPU Type: PowerPC 970 (2.2)
Number Of CPUs: 2
CPU Speed: 2 GHz
L2 Cache (per CPU): 512 KB
Memory: 2 GB
with software: System Version: Mac OS X 10.3.9 (7W98)
Kernel Version: Darwin 7.9.0
Here is what happened when I tried to update the "foreign" package
(similar
2006 Jan 16
4
Question about self and private
Hi!
There''s something I don''t understand yet about static/private methods. I
hope someone can explain...
E.g.:
class SayHello
def hello(who)
puts "Hello, " + who + "!"
end
def self.say(words)
puts words
end
end
hello = SayHello.new
hello.hello "World" : Hello World!
hello.say "hi" : Error
SayHello.say
2000 Feb 07
1
small bug in plot code
I get a segfault from:
R> plot( x, y, log="does this work?" )
[telford@faraday ring-core]$ R --version
Version 0.64.2 (July 3, 1999)
Copyright (C) 1999 R Development Core Team
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License. For more information about
these matters, see
2005 May 03
2
How to put a form for one controller in another controlers view
Hello,
If anyone could help me out with this problem I''d appreciate it...
I''m making a database of event bookings, I have an events table and a
clients table. I''d like to include a form to create a new client in the
form for creating a new event.
This would update the parent form with the new client_id using AJAX
methods (see previous e-mail) so you''d