Installing cranvas on Ubuntu

43 views
Skip to first unread message

sebble

unread,
Jun 27, 2011, 6:59:15 AM6/27/11
to cranvas
I am trying to install cranvas on R 2.13, Ubuntu 10.04, 11.04. I have
followed the instructions on <https://github.com/ggobi/cranvas/wiki>
and <https://github.com/ggobi/cranvas/wiki/Installation-under-ubuntu>
but on each computer I try I get the following error while trying to
install the cranvas package:

Error in setRefClass("BRUSH", fields = c(signalingField("style",
"list"), :
could not find function "signalingField"

context:

* installing *source* package 'cranvas' ...
** R
** data
** inst
** preparing package for lazy loading
Error in setRefClass("BRUSH", fields = c(signalingField("style",
"list"), :
could not find function "signalingField"
Error : unable to load R code in package 'cranvas'
ERROR: lazy loading failed for package 'cranvas'
* removing '/tmp/RtmpHElQPC/Rinst4d485893/cranvas'

If you recognise this error I would be grateful if you could help me
fix this, if you would like to know the full procedure I have used to
install cranvas I can include that too.

sebble

unread,
Jun 27, 2011, 9:25:15 AM6/27/11
to cranvas
It seems that adding objectSignals to the cranvas DESCRIPTION file
under depends (as well as import) sorted my problem on all computers.
Has no one else experienced this? Also, what is the difference
between Import and Depends, is it a namespacing issue?

Regards,
Seb

Yihui Xie

unread,
Jun 27, 2011, 2:46:33 PM6/27/11
to cra...@googlegroups.com
Sounds like a namespace issue. Tengfei, can you double check this? I
am not working under Ubuntu right now.

Imports basically means the functions/objects in the imported packages
are not directly visible to the user, but cranvas knows where to find
them. Depends will load the packages just like you call, say,
library(objectSignals).

Thanks!

Regards,
Yihui
--
Yihui Xie <xiey...@gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA

sebble

unread,
Jun 27, 2011, 3:53:23 PM6/27/11
to cranvas
Has someone recently fixed this? I have 3 computers I am using right
now, all 3 had exactly the same issue. At University I modified the
local DESCRIPTION file, that allowed me to install, I then tried
reverting to the version Claudia Beleites had running
(05092995131486620d733005192e772e61af086e - Yihui Xie - Tue Jun 21
17:37:57 2011 -0500) and that install also ran without problem. To
check this I came home and tried installing from the revision I had
yesterday - error - then I reverted to the above revision, this
install did work! Something had changed between these two,
unfortunately when fetching the latest revision, or the previous
revision, and after removing the cranvas package the re-installation
works fine. I hope this information is of some help.



On Jun 27, 7:46 pm, Yihui Xie <xieyi...@gmail.com> wrote:
> Sounds like a namespace issue. Tengfei, can you double check this? I
> am not working under Ubuntu right now.
>
> Imports basically means the functions/objects in the imported packages
> are not directly visible to the user, but cranvas knows where to find
> them. Depends will load the packages just like you call, say,
> library(objectSignals).
>
> Thanks!
>
> Regards,
> Yihui
> --
> Yihui Xie <xieyi...@gmail.com>

Yihui Xie

unread,
Jun 30, 2011, 11:05:24 AM6/30/11
to cra...@googlegroups.com
I double checked this and did not find any problem. The latest
versions of cranvas and objectSignals worked for me.

Regards,
Yihui
--
Yihui Xie <xiey...@gmail.com>


Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA

sebble

unread,
Jun 30, 2011, 11:23:37 AM6/30/11
to cranvas
Thanks for checking, strange that I had the same problem on 3
different machines, I can't reproduce the problem though after a
single successful install.

What is your experience with the responsiveness of the qscatter
function? I think I have successfully installed cranvas now on two
machines but on my laptop the scatterplot lags when brushing and on
the University computer (Pentium 4 3GHz) qscatter produces a grey
screen and the computer hangs.

Cheers,
Seb

On Jun 30, 4:05 pm, Yihui Xie <xieyi...@gmail.com> wrote:
> I double checked this and did not find any problem. The latest
> versions of cranvas and objectSignals worked for me.
>
> Regards,
> Yihui
> --
Reply all
Reply to author
Forward
0 new messages