I was banging my head for an hour on this. I just pasted the code into an email
and see that I was getting the contents of the SEXP for the factor, not the one
returned by getAttrib. Sorry for the waste of time.
On Oct 24, 2012, at 4:16 PM, Simon Urbanek wrote:
>
> On Oct 24, 2012, at 2:14 P
On Oct 24, 2012, at 4:35 PM, Richard D. Morey wrote:
> On 24/10/12 10:07 PM, Simon Urbanek wrote:
>> On Oct 24, 2012, at 3:47 PM, Richard D. Morey wrote:
>>
>>> I'd be fine with the poor man's solution (maybe with tempfile()?) if I can
>>> get access to the local file via javascript. But I don'
On 24/10/12 10:07 PM, Simon Urbanek wrote:
On Oct 24, 2012, at 3:47 PM, Richard D. Morey wrote:
I'd be fine with the poor man's solution (maybe with tempfile()?) if I can get
access to the local file via javascript. But I don't think I can, due to the
security limitations of the browser. I ma
On Oct 24, 2012, at 2:14 PM, Mark Lilback wrote:
> I'm working on an R package in C and can't seem to get the same level
> information about a factor that the R console displays.
>
> If I define a factor as:
>
> lvls <- factor(c('red','blue','blue','green','red'), c('blue','green','red'),
> o
Hi,
The signature of mget() changed between R-2.15.1 and recent R-devel.
In R-2.15.1:
> args(mget)
function (x, envir, mode = "any", ifnotfound = list(function(x)
stop(paste0("value for '",
x, "' not found"), call. = FALSE)), inherits = FALSE)
NULL
In R-devel:
> args(mget)
f
On Oct 24, 2012, at 3:47 PM, Richard D. Morey wrote:
>
> Richard D. Morey
> Assistant Professor
> Psychometrics and Statistics
> Rijksuniversiteit Groningen / University of Groningen
> http://drsmorey.org/research/rdmorey
>
> On 24/10/12 9:23 PM, Simon Urbanek wrote:
>> On Oct 24, 2012, at 3:09
I'm working on an R package in C and can't seem to get the same level
information about a factor that the R console displays.
If I define a factor as:
lvls <- factor(c('red','blue','blue','green','red'), c('blue','green','red'),
ordered=TRUE)
When I get the "levels" attribute in C, I get back
Richard D. Morey
Assistant Professor
Psychometrics and Statistics
Rijksuniversiteit Groningen / University of Groningen
http://drsmorey.org/research/rdmorey
On 24/10/12 9:23 PM, Simon Urbanek wrote:
On Oct 24, 2012, at 3:09 PM, Richard D. Morey wrote:
On 24/10/12 8:53 PM, Simon Urbanek wrote:
On Oct 24, 2012, at 3:09 PM, Richard D. Morey wrote:
> On 24/10/12 8:53 PM, Simon Urbanek wrote:
>> On Oct 24, 2012, at 2:13 PM, Richard D. Morey wrote:
>>
>>> This question involves Rook, but I think the answer will be general enough
>>> that it pays to post here. At any rate, I don't know enou
On 24/10/12 8:53 PM, Simon Urbanek wrote:
On Oct 24, 2012, at 2:13 PM, Richard D. Morey wrote:
This question involves Rook, but I think the answer will be general enough that
it pays to post here. At any rate, I don't know enough to know whether this is
a Rook only issue or a general R issue.
On Oct 24, 2012, at 2:13 PM, Richard D. Morey wrote:
> This question involves Rook, but I think the answer will be general enough
> that it pays to post here. At any rate, I don't know enough to know whether
> this is a Rook only issue or a general R issue.
>
> Here's what I'd like to do (and
On Wed, Oct 24, 2012 at 11:13 AM, Richard D. Morey wrote:
> This question involves Rook, but I think the answer will be general enough
> that it pays to post here. At any rate, I don't know enough to know whether
> this is a Rook only issue or a general R issue.
>
> Here's what I'd like to do (and
This question involves Rook, but I think the answer will be general
enough that it pays to post here. At any rate, I don't know enough to
know whether this is a Rook only issue or a general R issue.
Here's what I'd like to do (and indeed, have code that should do this):
1. Start R, Rook
2. Sta
13 matches
Mail list logo