---Sherlock, Ric wrote: > > ---Chris Burke wrote: > > > > > > The wiki example works correctly for me, tested with R 2.6.2. > > > > > > The result you get looks odd - the levels really are the list > > > four, one, > > > three, two (in alpha order), so the term "package:MASS" looks > > > spurious. > > > > Same result in a vanilla 2.6.2 installation. I tried J6.02, > J6.01, jwdp > and jwdw with no difference. I then tried J6.02 on Windows XP and got > the same result as the wiki. So there seems to be something Vista > specific going on here.
Below are some more examples of differences between structures returned by the interface on XP versus Vista. What could be causing this and what is the best way to resolve it? Rget 'head(OrchardSprays$treatment)' NB. XP +-------------------------------------------+-----------+ |+-----------------+---------------+-------+|4 5 2 8 7 6| ||+-+-+-+-+-+-+-+-+|+------+------+|`levels|| | |||A|B|C|D|E|F|G|H|||factor|`class|| || | ||+-+-+-+-+-+-+-+-+|+------+------+| || | |+-----------------+---------------+-------+| | +-------------------------------------------+-----------+ Rget 'head(OrchardSprays$treatment)' NB. Vista +-----------------------------------------------------------... |+---------------------------------------------------------+... ||+-+-+-+-+-------------------------+-+-+-----------------+|... |||A|B|C|D|+---------------------+-+|F|G|+-------------+-+||... ||| | | | ||.make_dependency_list|E|| | ||all.available|H|||... ||| | | | |+---------------------+-+| | |+-------------+-+||... ||+-+-+-+-+-------------------------+-+-+-----------------+|... |+---------------------------------------------------------+... +-----------------------------------------------------------... Rget 'head(cars)' NB. XP +--------------------------------------------------------------------+.. . |+------------+----------------------------------------------+------+|.. . ||+-----+----+|+-------------+-------------------+----------+|`names||.. . |||speed|dist|||_2147483648 6|+----------+------+|`row.names|| ||... ||+-----+----+|| ||data.frame|`class|| || ||... || || |+----------+------+| || ||... || |+-------------+-------------------+----------+| ||... |+------------+----------------------------------------------+------+|.. . +--------------------------------------------------------------------+.. . Rget 'head(cars)' NB. Vista +----------------------------------------------------------------------- ----... |+------------+--------------------------------------------------------- -+--... ||+-----+----+|+-------------+-------------------------------+---------- +|`n... |||speed|dist|||_2147483648 6|+----------------------+------+|`row.names|| ... ||+-----+----+|| ||+---------+----------+|`class|| || ... || || |||is.loaded|data.frame|| || || ... || || ||+---------+----------+| || || ... || || |+----------------------+------+| || ... || |+-------------+-------------------------------+----------+| ... |+------------+--------------------------------------------------------- -+--... +----------------------------------------------------------------------- ----... ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
