You are not logged in.

#1 2007-11-05 20:06:31

silvik
Member
From: Bucharest/Romania
Registered: 2006-11-08
Posts: 110

R 2.6.0 problem

I installed r 2.6.0-1 (statistical software) using pacman. I work fine until I try to execute the "fix" command.

Example:

> test <- data.frame(ONE = c(2, 1, 3, 2, 1), 
+                    TWO = c("a", "a", "b", "a", "b"), 
+                    AGE = c(42, 18, 49, 62, 25))
> fix(test)
Error in dataentry(datalist, modes) : invalid device
In addition: Warning message:
In edit.data.frame(get(subx, envir = parent), title = subx, ...) :
  unable to create fontset -*-fixed-medium-r-normal--13-*-*-*-*-*-*-*
>

I don't have any idea what's wrong, I'm new to R... however it works ok on FreeBSD (but I like Arch better), it opens a tcl/tk like, ugly window for data entry.

Any ideas?
Thanks!

Offline

#2 2007-12-01 16:04:18

Giniu
Package Maintainer (PM)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: R 2.6.0 problem

I encountered same problem but I rebuild without Multi-byte character set and it worked, just added --disable-mbcs to PKGBUILD, the price is that R built that way doesn't have UTF-8 support so this isn't solution just workaround

regards,
Andrzej.

ps.: tried it with R-2.6.1 but it should be same

edit: found real solution... ensure you have installed xorg-fonts-100dpi package and you have those 2 lines in /etc/X11/xorg.conf:

    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi"

it worked for me and allow to build with utf-8 support

Last edited by Giniu (2007-12-01 17:46:15)


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#3 2007-12-03 09:03:58

silvik
Member
From: Bucharest/Romania
Registered: 2006-11-08
Posts: 110

Re: R 2.6.0 problem

Andrzej, thank you very much, your last solution works perfectly. (I forgot about this old post, but it's very helpful nevertheless).

Silvian

Offline

Board footer

Powered by FluxBB