[Rd] sequence divided by data.frame

Ott Toomet otoomet at gmail.com
Fri Aug 21 02:08:56 CEST 2015


Can anyone explain me the following behavior:

> 1:2/1
[1] 1 2

-- makes sense

> 1:2/matrix(1,1,1)
[1] 1 2

-- makes sense

> 1:2/data.frame(a=1)
  a
1 1

-- why is this different?

Best,
Ott

-- 
Ott Toomet

Visiting Researcher
School of Information
Mary Gates Hall, Suite 095
University of Washington
Seattle, WA 98195

	[[alternative HTML version deleted]]



More information about the R-devel mailing list